lispcommon-lispslimeswank

swank server *swank-debugger-condition*


I am new to Lisp, and working in Emacs with Slime, I am constantly getting this error

Error: The variable SWANK/SBCL::*SWANK-DEBUGGER-CONDITION* is unbound.

I have spent a long time googling this and can find no reference to that variable. What is it? And what is it supposed to be bound to?


Solution

  • It seems that is an issue with your version of slime:

    https://github.com/slime/slime/issues/320

    SO use the late slime confi with

    Quicklisp-slime-helper makes it easy to use SLIME from Quicklisp.

    To use it, load quicklisp in your Common Lisp implementation, then evaluate:

    (ql:quickload "quicklisp-slime-helper")

    That command will create a file in the Quicklisp base directory called "slime-helper.el". Loading that file will add the Quicklisp slime path to your Emacs load-path.

    In your ~/.emacs, you could have something like this:

    (load (expand-file-name "~/quicklisp/slime-helper.el")) (setq inferior-lisp-program "sbcl")

    quicklisp-slime-helper is available under the MIT license; see LICENSE.txt for details.