The major mode is described first. For minor modes, see following pages. Inferior Lisp mode: Major mode for interacting with an inferior Lisp process. Runs a Lisp interpreter as a subprocess of Emacs, with Lisp I/O through an Emacs buffer. Variable `inferior-lisp-program' controls which Lisp interpreter is run. Variables `inferior-lisp-prompt', `inferior-lisp-filter-regexp' and `inferior-lisp-load-command' can customize this mode for different Lisp interpreters. For information on running multiple processes in multiple buffers, see documentation for variable `inferior-lisp-buffer'. key binding --- ------- C-x Prefix Command C-d comint-delchar-or-maybe-eof RET comint-send-input C-c Prefix Command C-down comint-next-input C-up comint-previous-input ESC Prefix Command DEL backward-delete-char-untabify C-x C-e lisp-eval-last-sexp C-c C-v lisp-show-variable-documentation C-c C-f lisp-show-function-documentation C-c C-k lisp-compile-file C-c C-d lisp-describe-sym C-c C-p comint-previous-prompt C-c C-n comint-next-prompt C-c C-l lisp-load-file C-c C-e comint-show-maximum-output C-c C-r comint-show-output C-c C-o comint-kill-output C-c RET comint-copy-old-input C-c C-\ comint-quit-subjob C-c C-z comint-stop-subjob C-c C-c comint-interrupt-subjob C-c C-w backward-kill-word C-c C-u comint-kill-input C-c C-a lisp-show-arglist C-c C-x comint-get-next-from-history C-c SPC comint-accumulate C-c ESC Prefix Command ESC C-l comint-show-output ESC s comint-next-matching-input ESC r comint-previous-matching-input ESC n comint-next-input ESC p comint-previous-input ESC C-q indent-sexp C-c ESC s comint-next-matching-input-from-input C-c ESC r comint-previous-matching-input-from-input Customisation: Entry to this mode runs the hooks on `comint-mode-hook' and `inferior-lisp-mode-hook' (in that order). You can send text to the inferior Lisp process from other buffers containing Lisp source. switch-to-lisp switches the current buffer to the Lisp process buffer. lisp-eval-defun sends the current defun to the Lisp process. lisp-compile-defun compiles the current defun. lisp-eval-region sends the current region to the Lisp process. lisp-compile-region compiles the current region. Prefixing the lisp-eval/compile-defun/region commands with a C-u causes a switch to the Lisp process buffer after sending the text. Commands: Return after the end of the process' output sends the text from the end of process to point. Return before the end of the process' output copies the sexp ending at point to the end of the process' output, and sends it. Delete converts tabs to spaces as it moves back. Tab indents for Lisp; with argument, shifts rest of expression rigidly with the current line. C-M-q does Tab on each line starting within following expression. Paragraphs are separated only by blank lines. Semicolons start comments. If you accidentally suspend your process, use M-x comint-continue-subjob to continue it.