In order to have a working SBCL REPL in Emacs you can do the following:
- Install QuickLisp
- Install the
.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
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.