Mercurial > emacs
comparison man/building.texi @ 28431:315d6e79ea38
Overlay arrow in margin. eval-expression variables.
author | Dave Love <fx@gnu.org> |
---|---|
date | Thu, 30 Mar 2000 22:59:13 +0000 |
parents | ac1bc60cf0b4 |
children | 561ef681eab5 |
comparison
equal
deleted
inserted
replaced
28430:f805ef5a2a03 | 28431:315d6e79ea38 |
---|---|
321 | 321 |
322 When you run a debugger with GUD, the debugger uses an Emacs buffer | 322 When you run a debugger with GUD, the debugger uses an Emacs buffer |
323 for its ordinary input and output. This is called the GUD buffer. The | 323 for its ordinary input and output. This is called the GUD buffer. The |
324 debugger displays the source files of the program by visiting them in | 324 debugger displays the source files of the program by visiting them in |
325 Emacs buffers. An arrow (@samp{=>}) in one of these buffers indicates | 325 Emacs buffers. An arrow (@samp{=>}) in one of these buffers indicates |
326 the current execution line. Moving point in this buffer does not move | 326 the current execution line.@footnote{Under a window system the arrow is |
327 the arrow. | 327 displayed in the marginal area of the Emacs window.} Moving point in |
328 this buffer does not move the arrow. | |
328 | 329 |
329 You can start editing these source files at any time in the buffers | 330 You can start editing these source files at any time in the buffers |
330 that were made to display them. The arrow is not part of the file's | 331 that were made to display them. The arrow is not part of the file's |
331 text; it appears only on the screen. If you do modify a source file, | 332 text; it appears only on the screen. If you do modify a source file, |
332 keep in mind that inserting or deleting lines will throw off the arrow's | 333 keep in mind that inserting or deleting lines will throw off the arrow's |
699 | 700 |
700 @kbd{C-M-x} treats @code{defvar} expressions specially. Normally, | 701 @kbd{C-M-x} treats @code{defvar} expressions specially. Normally, |
701 evaluating a @code{defvar} expression does nothing if the variable it | 702 evaluating a @code{defvar} expression does nothing if the variable it |
702 defines already has a value. But @kbd{C-M-x} unconditionally resets the | 703 defines already has a value. But @kbd{C-M-x} unconditionally resets the |
703 variable to the initial value specified in the @code{defvar} expression. | 704 variable to the initial value specified in the @code{defvar} expression. |
705 @code{defcustom} expressions are treated similarly. | |
704 This special feature is convenient for debugging Lisp programs. | 706 This special feature is convenient for debugging Lisp programs. |
705 | 707 |
706 @kindex C-x C-e | 708 @kindex C-x C-e |
707 @findex eval-last-sexp | 709 @findex eval-last-sexp |
708 The command @kbd{C-x C-e} (@code{eval-last-sexp}) evaluates the Lisp | 710 The command @kbd{C-x C-e} (@code{eval-last-sexp}) evaluates the Lisp |
723 @kbd{M-x eval-current-buffer} is similar but evaluates the entire | 725 @kbd{M-x eval-current-buffer} is similar but evaluates the entire |
724 buffer. This is a reasonable way to install the contents of a file of | 726 buffer. This is a reasonable way to install the contents of a file of |
725 Lisp code that you are just ready to test. Later, as you find bugs and | 727 Lisp code that you are just ready to test. Later, as you find bugs and |
726 change individual functions, use @kbd{C-M-x} on each function that you | 728 change individual functions, use @kbd{C-M-x} on each function that you |
727 change. This keeps the Lisp world in step with the source file. | 729 change. This keeps the Lisp world in step with the source file. |
730 | |
731 @vindex eval-expression-print-level | |
732 @vindex eval-expression-print-length | |
733 @vindex eval-expression-debug-on-error | |
734 The customizable variables @code{eval-expression-print-level} and | |
735 @code{eval-expression-print-length} control the maximum depth and length | |
736 of lists to print in the result of the evaluation commands before | |
737 abbreviating them. @code{eval-expression-debug-on-error} controls | |
738 whether evaluation errors invoke the debugger when these commands are | |
739 used. | |
728 | 740 |
729 @node Lisp Interaction | 741 @node Lisp Interaction |
730 @section Lisp Interaction Buffers | 742 @section Lisp Interaction Buffers |
731 | 743 |
732 The buffer @samp{*scratch*} which is selected when Emacs starts up is | 744 The buffer @samp{*scratch*} which is selected when Emacs starts up is |