SLIME contribs quick tip

I really like to use SLIME to interact with a Lisp system like SBCL because it makes life so much more pleasent. But for some time I had the problem that my SLIME installation (done using a recent version of el-get on Aquamacs 2.5) did not want to start at all (when issuing the command M-x slime): Emacs complained with the very unfriendly error message

Symbol's value as variable is void: 'slime-fancy

My SLIME config happens to begin with the following two lines

(require 'slime-autoloads)
(slime-setup '(slime-fancy))

I now discovered a solution of sorts: Delete all the byte-compiled files in the contrib/ folder:

$ rm $PATH_TO_SLIME/contrib/.elc

If someone has any idea what exactly is wrong here and why this hack works, drop me a line. I really dislike being in the dark about the ins and outs of the tools I use on a regular basis.

This entry was posted in Uncategorized. Bookmark the permalink.

One Response to SLIME contribs quick tip

  1. David Dreisigmeyer says:

    I suspect it’s related to this:

    http://stackoverflow.com/questions/9161871/slime-doesnt-work-in-emacs24

    Every time I upgrade slime I need to go through that procedure. My last upgrade additionally resulted in the error you had. After modifying the slime.el file and removing the contrib elc files, I C-u 0 M-x byte-recompile-directory my slime directory and everything works. (Note: That’s a zero in that key combination.)

Leave a Reply

Your email address will not be published. Required fields are marked *