Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 15748

is the command interpreter mode for interacting with external processes. Using the base comint-mode, Emacs provides derived modes for specific process-in-a-buffer. Common ones are shell, lisp, scheme, cmutex (for TeX and LaTeX). Support for programming languages with REPL interfaces, such as Haskell, are also derived from comint-mode. Such buffers share the same key bindings, shortcuts, and history manipulation facilities.

5 votes
Accepted

How to clear shell in ielm?

In older Emacsen I propose two solutions: Define comint-clear-buffer and its binding yourself: (with-eval-after-load 'comint (unless (fboundp 'comint-clear-buffer) (defun comint-clear-buffer ( … (eval-after-load 'comint (lambda () (unless (fboundp 'comint-clear-buffer) (defun comint-clear-buffer () "Clear the comint buffer." …
Basil's user avatar
  • 12.6k