SLIME is the Superior Lisp Interaction Mode for Emacs. It is implemented
in two main parts: the Emacs Lisp side (slime.el
), and the support
library for the Common Lisp (swank.lisp
and swank-*.lisp
)
For a real description, see the manual in doc/
or browse an online
version here.
Add this to your ~/.emacs
file and fill in the appropriate filenames:
;; setup load-path and autoloads
(add-to-list 'load-path "~/dir/to/cloned/slime")
(require 'slime-autoloads)
;; 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.
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.
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.