comparison man/xemacs/building.texi @ 2757:7844ab77b582

[xemacs-hg @ 2005-05-05 17:10:19 by aidan] Some spelling and grammar fixes.
author aidan
date Thu, 05 May 2005 17:10:54 +0000
parents 576fb035e263
children 020e42010015
comparison
equal deleted inserted replaced
2756:f441e940eed8 2757:7844ab77b582
137 The mode for editing source files of programs to run in Emacs Lisp. 137 The mode for editing source files of programs to run in Emacs Lisp.
138 This mode defines @kbd{C-M-x} to evaluate the current defun. 138 This mode defines @kbd{C-M-x} to evaluate the current defun.
139 @xref{Lisp Libraries}. 139 @xref{Lisp Libraries}.
140 @item Lisp Interaction mode 140 @item Lisp Interaction mode
141 The mode for an interactive session with Emacs Lisp. It defines 141 The mode for an interactive session with Emacs Lisp. It defines
142 @key{LFD} to evaluate the sexp before point and insert its value in the 142 @kbd{C-j} to evaluate the sexp before point and insert its value in the
143 buffer. @xref{Lisp Interaction}. 143 buffer. @xref{Lisp Interaction}.
144 @item Lisp mode 144 @item Lisp mode
145 The mode for editing source files of programs that run in other dialects 145 The mode for editing source files of programs that run in other dialects
146 of Lisp than Emacs Lisp. This mode defines @kbd{C-M-x} to send the 146 of Lisp than Emacs Lisp. This mode defines @kbd{C-M-x} to send the
147 current defun to an inferior Lisp process. @xref{External Lisp}. 147 current defun to an inferior Lisp process. @xref{External Lisp}.
549 The buffer @samp{*scratch*}, which is selected when Emacs starts up, is 549 The buffer @samp{*scratch*}, which is selected when Emacs starts up, is
550 provided for evaluating Lisp expressions interactively inside Emacs. Both 550 provided for evaluating Lisp expressions interactively inside Emacs. Both
551 the expressions you evaluate and their output goes in the buffer. 551 the expressions you evaluate and their output goes in the buffer.
552 552
553 The @samp{*scratch*} buffer's major mode is Lisp Interaction mode, which 553 The @samp{*scratch*} buffer's major mode is Lisp Interaction mode, which
554 is the same as Emacs-Lisp mode except for one command, @key{LFD}. In 554 is the same as Emacs-Lisp mode except for one command, @kbd{C-j}. In
555 Emacs-Lisp mode, @key{LFD} is an indentation command. In Lisp 555 Emacs-Lisp mode, @kbd{C-j} is an indentation command. In Lisp
556 Interaction mode, @key{LFD} is bound to @code{eval-print-last-sexp}. This 556 Interaction mode, @kbd{C-j} is bound to @code{eval-print-last-sexp}. This
557 function reads the Lisp expression before point, evaluates it, and inserts 557 function reads the Lisp expression before point, evaluates it, and inserts
558 the value in printed representation before point. 558 the value in printed representation before point.
559 559
560 The way to use the @samp{*scratch*} buffer is to insert Lisp 560 The way to use the @samp{*scratch*} buffer is to insert Lisp
561 expressions at the end, ending each one with @key{LFD} so that it will 561 expressions at the end, ending each one with @kbd{C-j} so that it will
562 be evaluated. The result is a complete typescript of the expressions 562 be evaluated. The result is a complete typescript of the expressions
563 you have evaluated and their values. 563 you have evaluated and their values.
564 564
565 @findex lisp-interaction-mode 565 @findex lisp-interaction-mode
566 The rationale for this feature is that Emacs must have a buffer when it 566 The rationale for this feature is that Emacs must have a buffer when it