Emacs, SBCL and SLIME
In order to have a working SBCL REPL in Emacs you can do the following:
- Install QuickLisp
- Install the
quicklisp-slime-helper
package -
Open your
.emacs
(or.emacs.d/init.el
) file and add the following code:(load (expand-file-name "~/quicklisp/slime-helper.el")) (setq inferior-lisp-program "/usr/bin/sbcl") (require 'slime) (slime-setup '(slime-fancy slime-tramp slime-asdf)) (slime-require :swank-listener-hooks)
Start Emacs and do
M-x slime
You should have a SBCL REPL running in your buffer.
I did it using this procedure because it seems that the SLIME package installable through ELPA doesn't seem to work, probably because it's an old version.
Written by Fabio Mancinelli
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Emacs
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#