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!
I'd suggest just getting Emacs Prelude, which ships with a good Common Lisp + SLIME configuration be default. It's preconfigured for Clozure CL on OSX (given that it's arguably the most popular Common Lisp distribution on OSX), but a simple line of Emacs Lisp in your Prelude personal config can switch SLIME's default Lisp to SBCL:
(setq slime-default-lisp 'sbcl)
The best way to install SLIME itself is probably via the Quicklisp's SLIME helper.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With