gpt4 book ai didi

lisp - swank 服务器 *swank-debugger-condition*

转载 作者:太空宇宙 更新时间:2023-11-03 18:58:39 24 4
gpt4 key购买 nike

我是 Lisp 的新手,在 Emacs 和 Slime 中工作时,我经常遇到这个错误

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

我花了很长时间在谷歌上搜索这个,但找不到对那个变量的引用。它是什么?它应该绑定(bind)到什么?

最佳答案

这似乎是你的 slime 版本的问题:

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

所以使用已故的 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.

关于lisp - swank 服务器 *swank-debugger-condition*,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37599881/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com