I've just upgraded to emacs 23.1 (by compiling the source), but now when I use emacs 23.1 slime doesn't work. If I run the old version of emacs then everything is still OK.
This is the error I get:
Code: Select all
Couldn't load "/usr/share/emacs/site-lisp/slime/swank-loader.lisp": file does not exist.
By the way, Slime itself is installed somewhere else, at "/usr/share/emacs/site-lisp/slime/", so in my .emacs file I use the line:
Code: Select all
(add-to-list 'load-path "/usr/share/emacs/site-lisp/slime")
I've noticed that the progn that is run at the start of *inferior-lisp* has changed. In the old version of emacs it loaded swank-loader.lisp from the correct directory, but in the new is now looks in slime's directory. Here is the progn run in emacs 23.1:
Code: Select all
(progn (load "/usr/share/emacs/site-lisp/slime/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank-loader:init")) (funcall (read-from-string "swank:start-server") "/tmp/slime.23519" :coding-system "iso-latin-1-unix"))
Code: Select all
(progn (load "/usr/share/common-lisp/source/slime/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank-loader:init")) (funcall (read-from-string "swank:start-server") "/tmp/slime.24088" :coding-system "iso-latin-1-unix"))
Anyone got any ideas?
(By the way, I tried to grab the latest version of slime and sbcl off their web pages, and use them. But then I still didn't get a proper repl promt, but no errors (a couple of warnings though). All I got was a star promt in *inferior-lisp*, just like as if I had just run sbcl from the command line. A quick google implied that slime is in transition and a bit broken at the moment, so I think I'll just stick with ubuntu's version, sine I know that works (with the old version of emacs))
Thanks