SLIME is the Superior Lisp Interaction Mode for Emacs.
SLIME extends Emacs with support for interactive programming in Common Lisp. The features are centered around slime-mode, an Emacs minor-mode that complements the standard lisp-mode. While lisp-mode supports editing Lisp source files, slime-mode adds support for interacting with a running Common Lisp process for compilation, debugging, documentation lookup, and so on.
For much more information, consult the manual.
-
Setup the MELPA repository, if you haven't already, and install SLIME using
M-x package-install RET slime RET
. -
Add the following lines to your
~/.emacs
file, filling in in the appropriate filenames:;; Set your lisp system and, optionally, some contribs (setq inferior-lisp-program "/opt/sbcl/bin/sbcl") (setq slime-contribs '(slime-fancy))
-
Use
M-x slime
to fire up and connect to an inferior Lisp. SLIME will now automatically be available in your Lisp source buffers.
If you'd like to contribute to SLIME, you will want to instead follow the manual's instructions on how to install SLIME via Git.
SLIME comes with additional contributed packages or "contribs". When SLIME
is loaded it loads the contribs you set up before in slime-contribs
. You
can use the command slime-setup
to reload contribs.
The most-often used contrib is slime-fancy
, which primarily installs a
popular set of other contributed packages. It includes a better REPL, and
many more nice features.
SLIME is free software. All files, unless explicitly stated otherwise, are public domain.
If you have problems, first have a look at the list of known issues and workarounds.
Questions and comments are best directed to the mailing list at
slime-devel@common-lisp.net
, but you have to subscribe first. The
mailing list archive is also available on Gmane.
See the CONTRIBUTING.md file for instructions on how to contribute.