Setting up SLIME on MacOSX

emacs, installation, macos, sbcl, slime

Solution

- Copy the entire directory of slime to `emacs/site-lisp`

- Ensure your lisp is accesible from the terminal. Just type `sbcl` in Terminal. Lisp interpreter should start.

- put into your .emacs file something like `(setq inferior-lisp-program "sbcl")`

It should work then.

Problem

I've been dancing around LISP for decades, but now have decided to get serious. I'm going through the online version of Practical Common LISP. This is my setup: MacOSX 10.7.8 Xcode 4.5.2 SBCL 1.0.55.0-abb03f9 Emacs 24.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) SLIME 1.6 I tried to follow the instructions listed in the link: http://emacs-sbcl-slime.blogspot.com/2010/11/sbcl-emacs-slime-macosx.html …but the problem is that on the MacOSX platform, nothing seems to be located where it should. SBCL was installed using its own script…it is working. I setup the SBCL_HOME env var as instructed. Emacs was installed by dmg from this link: http://emacs-sbcl-slime.blogspot.com/2010/11/sbcl-emacs-slime-macosx.html …and is running. SLIME, however (which was download via cvs to ˜/.emacs.d/slime) doesn't appear to be recognized. I can't get the "CL-USER>" prompt described by the author. Any help would be greatly appreciated!

Original source