Installing SLIME (Common-Lisp IDE for Emacs)

People say SLIME is awesome (so it is indeed as this video shows) but I had difficulty in installing. Here's how I worked around.

How installed & configured:
 - SLIME: Follow instruction I followed except for installation which can be nicely replaced by single command "sudo apt-get install slime"
 - quicklisp: followed this precisely.

Some pitfalls:- Looking at the error I faced earlier (running "M-x slime" on emacs yields this error), I thought ASDF thing is necessary and I tried install it following this but wget URL returns 403. Instead, you can install quicklistp.
- quicklisp doesn't need special setting to reflect its installation. Just do whatever required by SLIME's installation.

Environment) Ubuntu 11.10 64-bit 

Update) following description might not be necessary with quicklisp:

.emacs description added in my case:
(add-to-list 'load-path "/usr/share/emacs23/site-lisp/slime")
(require 'slime)
(add-hook 'lisp-mode-hook (lambda () (slime-mode t)))
(add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t)))
Optionally, specify the lisp program you are using. Default is "lisp"
(setq inferior-lisp-program "clisp")

Vegan lunch in a cafeteria at Caltech, Pasadena, CA.

Comments

Popular Posts