我在archlinux.If中使用emacs24我使用来自marmalade.org的slime包,那么当我使用M-x slime时,错误是:
debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread
#<THREAD "initial thread" RUNNING {AB007A9}>:
Couldn't load
"/home/sinners/.emacs.d/elpa/slime-20100404.1/swank-loader.lisp": file does
not exist.
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [ABORT] Exit debugger, returning to top level.但是如果我使用官方站点上的slime-cvs包,错误是:
Debugger entered: (("Error in timer" slime-attempt-connection (#<process inferior-lisp> nil 2) (void-variable --cl-accu--)))
#[257 "\302\303\304\300\301F\"\207" [slime-attempt-connection (#<process inferior-lisp> nil 2) debug nil "Error in timer"] 7 "\n\n(fn DATA)"]((void-variable --cl-accu--))
funcall(#[257 "\302\303\304\300\301F\"\207" [slime-attempt-connection (#<process inferior-lisp> nil 2) debug nil "Error in timer"] 7 "\n\n(fn DATA)"] (void-variable --cl-accu--))
slime-timer-call(slime-attempt-connection #<process inferior-lisp> nil 2)
apply(slime-timer-call (slime-attempt-connection #<process inferior-lisp> nil 2))
byte-code("r\301\302H\303H\"\210)\301\207" [timer apply 5 6] 4)
timer-event-handler([t 20271 59188 161536 0.3 slime-timer-call (slime-attempt-connection #<process inferior-lisp> nil 2) nil])有人能帮我吗?
发布于 2012-02-07 01:52:35
存在词法作用域的情况下,有关emacs cl包损坏的--cl-accu--变量符号的问题。尝试转到您的slime发行版中的slime.el,在文件末尾的;; Local Variables:部分中找到string ;; lexical-binding: t,并将其更改为;; lexical-binding: nil。如果有旧的slime.elc文件,请将其删除。
发布于 2013-02-24 01:29:44
我遇到了完全相同的问题,这个问题是通过删除slime.elc文件解决的,这个文件是我之前使用字节重新编译目录编译的。我没有再次尝试编译它。
发布于 2012-02-06 23:45:01
我不确定,但这个问题可能是由于SLIME和SWANK的不同版本造成的。但是,您应该只使用pacman安装一个lisp实现(我认为SBCL是Linux上最流行的实现),然后使用quicklisp安装其他所有东西。
请参阅this博客文章,了解如何在quicklisp中安装SWANK和SLIME。
https://stackoverflow.com/questions/9161871
复制相似问题