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

4.1 Slime short cuts

Slime selector

C-c s calls the slime-selector function:

Select Methods:

4:     Select in other window
?:     Selector help buffer.
c:     SLIME connections buffer.
d:     *sldb* buffer for the current connection.
e:     most recently visited emacs-lisp-mode buffer.
i:     *inferior-lisp* buffer.
l:     most recently visited lisp-mode buffer.
n:     Cycle to the next Lisp connection.
q:     Abort.
r:     SLIME Read-Eval-Print-Loop.
t:     SLIME threads buffer.
v:     *slime-events* buffer.

(BTW, my favorite SLIME short-cut is C-c s r- which jumps me back to the SLIME repl.

Finding definitions

M-.

Edit the definition of the function called at point.

M-,

Pop the definition stack to go back from a definition.

Programming aids

C-c TAB

Complete the Lisp symbol at point. (Also M-TAB.)

C-c RET

Macroexpand once.

C-c M-m

Macroexpand all.

Cross-referencing

C-c C-w c

WHO-CALLS a function.

C-c C-w r

WHO-REFERENCES a global variable.

C-c C-w s

WHO-SETS a global variable.

C-c C-w b

WHO-BINDS a global variable.

C-c C-w m

WHO-MACROEXPANDS a macro.

C-M-.

Goto the next reference source location. (Also C-c C-SPC)

Documentation commands

C-c C-d

Describe symbol.

C-c C-a

Apropos search.

C-c M-d

Disassemble a function.

Evaluation commands

C-M-x Evaluate top-level from containing point.

C-x C-e

Evaluate sexp before point.

C-c C-p

Evaluate sexp before point, pretty-print result.


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

This document was generated on March 1, 2011 using texi2html 5.0.