Next: , Up: Misc   [Contents][Index]

5.1 slime-selector

The slime-selector command is for quickly switching to important buffers: the REPL, SLDB, the Lisp source you were just hacking, etc. Once invoked the command prompts for a single letter to specify which buffer it should display. If a prefix argument is specified then the buffer is shown in the other window. Here are some of the main options:


A help buffer listing all slime-selectors’s available buffers. This includes some options of lesser importance, e.g. intended for debugging SLIME, which are not included in this list.


The REPL buffer for the current SLIME connection.


The most recently activated SLDB buffer for the current connection.


The most recently visited lisp-mode source buffer.


The *slime-scratch* buffer (see slime-scratch).


SLIME connections buffer (see Multiple connections).


Cycle to the next Lisp connection (see Multiple connections).


SLIME threads buffer (see Multiple connections).


The *inferior-lisp* buffer for the current connection.


Show buffer in other window. Equivalent to supplying a prefix argument. Prompts again for which buffer to select.

slime-selector doesn’t have a key binding by default but we suggest that you assign it a global one. You can bind it to C-c s like this:

(global-set-key "\C-cs" 'slime-selector)

And then you can switch to the REPL from anywhere with C-c s r.

The macro def-slime-selector-method can be used to define new buffers for slime-selector to find.