Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs and slime stopped cooperating for me

Tags:

emacs

slime

I'm trying to use slime from CVS (2009-01-05) but keep getting this error:

       LOAD: A file with name
      /usr/share/common-lisp/source/slime/swank-loader.lisp does not exist

I've stripped my .emacs down to just:

(setq inferior-lisp-program "/usr/bin/clisp")
(add-to-list 'load-path "/home/ssm/lisp/slime/")
(require 'slime)
(slime-setup)

I've deleted my ~/.slime directory, started with 'emacs -q' and eval'd the above code but I keep getting the LOAD error when I run slime (via M-x slime). Any ideas on how to fix this error?

FWIW, I've tried to install slime via apt-get but I keep getting errors there too about cl-swank being broken. That's a whole different story.

like image 786
seth Avatar asked Jan 06 '09 09:01

seth


1 Answers

Have you purged the slime pkg you installed via apt-get? It looks like emacs is still reading the old site-specific configuration setup by apt-get. Try starting emacs with the -Q option, which prevents loading of site-specific (as well as user specific) customization, and see if the problem still occur.

like image 119
huaiyuan Avatar answered Sep 28 '22 20:09

huaiyuan