Search code examples
emacslispslime

when i use my emacs with purcell's .emacs.d ,i can't use slime


when i try M-x slime ,all i get is

Can't locate module: SWANK-IO-PACKAGE::SWANK-TRACE-DIALOG

but when i use my own .emacs.d ,it works.

how can i fix it?


Solution

  • I find the same issue, I have solved it.

    The reason is that I installed slime with "sudo apt-get install slime" before, I guess this package will mess up with locally installed(by init.el when emacs first start) in ~/.emacs.d/elpha/slime-2*.

    Solution: Check that if you have slime in /usr/lib/emacs/site-lisp,or something like that. If you do have this package, remove this system level slime with:

    sudo apt-get remove slime
    

    Restart emacs after this, and emacs should be able to use right slime package, problem should disappear after this.