Next: , Previous: Commands, Up: Commands



3.2.1 Compilation commands

SLIME has fancy commands for compiling functions, files, and packages. The fancy part is that notes and warnings offered by the Lisp compiler are intercepted and annotated directly onto the corresponding expressions in the Lisp source buffer. (Give it a try to see what this means.)

C-c C-k
slime-compile-and-load-file
Compile and load the current buffer's source file.
C-c M-k
slime-compile-file
Compile (but don't load) the current buffer's source file.
C-c C-c
slime-compile-defun
Compile the top-level form at point.

The annotations are indicated as underlining on source forms. The compiler message associated with an annotation can be read either by placing the mouse over the text or with the selection commands below.

M-n
M-p
slime-next-note, slime-previous-note
These commands move the point between compiler notes and display the new note.
C-c M-c
slime-remove-notes
Remove all annotations from the buffer.