Next: Compilation, Previous: User-interface conventions, Up: SLIME mode [Contents][Index]
These commands each evaluate a Common Lisp expression in a different way. Usually they mimic commands for evaluating Emacs Lisp code. By default they show their results in the echo area, but a prefix argument causes the results to be inserted in the current buffer.
Evaluate the expression before point and show the result in the echo area.
Evaluate the current toplevel form and show the result in the echo area. ‘C-M-x’ treats ‘defvar’ expressions specially. Normally, evaluating a ‘defvar’ expression does nothing if the variable it defines already has a value. But ‘C-M-x’ unconditionally resets the variable to the initial value specified in the ‘defvar’ expression. This special feature is convenient for debugging Lisp programs.
If C-M-x or C-x C-e is given a numeric argument, it inserts the value into the current buffer, rather than displaying it in the echo area.
Evaluate an expression read from the minibuffer.
Evaluate the region.
Evaluate the expression before point and pretty-print the result in a fresh buffer.
Edit the value of a setf-able form in a new buffer *Edit <form>*. The value is inserted into a temporary buffer for editing and then set in Lisp when committed with C-c C-c.
Undefine the function, with fmakunbound
, for the symbol at
point.
Next: Compilation, Previous: User-interface conventions, Up: SLIME mode [Contents][Index]