How to do an eye candy Lisp instalation on Mac OS using emacs?
First you have to download the emacs.
There are many packages with the emacs for Mac OS as you can see in http://www.emacswiki.org/cgi-bin/wiki/EmacsForMacOS.
Forget them, there’re ugly, and make your download from this site http://emacs-app.sourceforge.net
Install it as a regular application.
Now you need install the slime and the sbcl, so type “sudo port install slime” on your terminal.
This will install the slime and the sbcl.
After this you need to copy the slime directorie to the emacs application, so type “sudo cp /opt/local/share/emacs/site-lisp/slime /Applications/Emacs.app/Resources/site-lisp/”.
Now type this “sudo ln -s /opt/local/bin/sbcl /usr/bin/sbcl” on yout terminal.
Finally you put the following in your ~/.emacs:
(require ’slime)
(slime-setup)
(setq inferior-lisp-program “sbcl”)
Resume:
1 – Download and install the emacs from http://emacs-app.sourceforge.net
2 – Type:
sudo port install slime
sudo cp /opt/local/share/emacs/site-lisp/slime /Applications/Emacs.app/Resources/site-lisp/
sudo ln -s /opt/local/bin/sbcl /usr/bin/sbcl
3 – Put the following in your ~/.emacs:
(require ’slime)
(slime-setup)
(setq inferior-lisp-program “sbcl”)
How to use slime? Read the slime manual in http://common-lisp.net/project/slime.
