www.delorie.com/gnu/docs/emacs/emacs_327.html   search  
 
Buy the book!


GNU Emacs Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

V.6 Executing Lisp Expressions

Emacs has several different major modes for Lisp and Scheme. They are the same in terms of editing commands, but differ in the commands for executing Lisp expressions. Each mode has its own purpose.

Emacs-Lisp mode
The mode for editing source files of programs to run in Emacs Lisp. This mode defines C-M-x to evaluate the current defun. See section V.7 Libraries of Lisp Code for Emacs.
Lisp Interaction mode
The mode for an interactive session with Emacs Lisp. It defines C-j to evaluate the sexp before point and insert its value in the buffer. See section V.9 Lisp Interaction Buffers.
Lisp mode
The mode for editing source files of programs that run in Lisps other than Emacs Lisp. This mode defines C-M-x to send the current defun to an inferior Lisp process. See section V.10 Running an External Lisp.
Inferior Lisp mode
The mode for an interactive session with an inferior Lisp process. This mode combines the special features of Lisp mode and Shell mode (see section AC.15.3 Shell Mode).
Scheme mode
Like Lisp mode but for Scheme programs.
Inferior Scheme mode
The mode for an interactive session with an inferior Scheme process.

Most editing commands for working with Lisp programs are in fact available globally. See section U. Editing Programs.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003