-@node Running, Packages, Programs, Top
+@node Running, Abbrevs, Programs, Top
@chapter Compiling and Testing Programs
The previous chapter discusses the Emacs commands that are useful for
compilation continues in any case.
@findex kill-compilation
- To kill the compilation process, type @kbd{M-x-kill-compilation}. The mode
+ To kill the compilation process, type @kbd{M-x kill-compilation}. The mode
line of the @samp{*compilation*} buffer changes to say @samp{signal}
instead of @samp{run}. Starting a new compilation also kills any
running compilation, as only one can occur at any time. Starting a new
not commands).
@table @kbd
-@item M-@key{ESC}
+@item M-:
Read a Lisp expression in the minibuffer, evaluate it, and print the
value in the minibuffer (@code{eval-expression}).
@item C-x C-e
Evaluate all the Lisp expressions in the buffer.
@end table
-@kindex M-ESC
+@kindex M-:
@findex eval-expression
- @kbd{M-@key{ESC}} (@code{eval-expression}) is the most basic command
+ @kbd{M-:} (@code{eval-expression}) is the most basic command
for evaluating a Lisp expression interactively. It reads the expression
using the minibuffer, so you can execute any expression on a buffer
regardless of what the buffer contains. When evaluation is complete,
the current buffer is once again the buffer that was current when
-@kbd{M-@key{ESC}} was typed.
-
- @kbd{M-@key{ESC}} can easily confuse users, especially on keyboards
-with autorepeat, where it can result from holding down the @key{ESC} key
-for too long. Therefore, @code{eval-expression} is normally a disabled
-command. Attempting to use this command asks for confirmation and gives
-you the option of enabling it; once you enable the command, you are no
-longer required to confirm. @xref{Disabling}.@refill
+@kbd{M-:} was typed.
@kindex C-M-x
@findex eval-defun
you can switch buffers, visit files, and perform any other editing
operations. However, the debugger is a recursive editing level
(@pxref{Recursive Edit}); it is a good idea to return to the backtrace
-buffer and explictly exit the debugger when you don't want to use it any
+buffer and explicitly exit the debugger when you don't want to use it any
more. Exiting the debugger kills the backtrace buffer.
@cindex current stack frame
cancels a @kbd{b} command on a frame.
@item e
Read a Lisp expression in the minibuffer, evaluate it, and print the
-value in the echo area. This is equivalent to the command @kbd{M-@key{ESC}},
-except that @kbd{e} is not normally disabled like @kbd{M-@key{ESC}}.
+value in the echo area. This is equivalent to the command @kbd{M-:}.
@item q
Terminate the program being debugged; return to top-level Emacs
command execution.