Common Lisp commands
Start a Lisp REPL with M-x start-lisp-repl
.
To switch to the Lisp REPL: C-c C-z
. You can use quick commands inside the REPL. They start with a ,
(coma).
To compile and load a buffer: C-c C-k
. To compile a function: C-c C-c
.
To evaluate some Lisp code: M-:
.
Lem features an advanced interactive debugger. You can navigate and
inspect the stacktraces (C-n
, C-p
), go to the error’s origin (v
on the backtrace), restart a given point of the backtrace (r
,
sldb-restart-frame
), and so on. Quit the debugger with q
, or use a
suggested restart (by entering its number, pressing Enter on it, or
clicking on it).
Try one of these two commands:
hyperspec-at-point
opens a browser to the HyperSpec page for the Lisp symbol the point is on,hyperspec-lookup
lets you choose a symbol (with auto-completion).
These commands were added after Lem 2.0.