我在Ubuntu 14.04,slime-20160402.549,GNU CLISP 2.4上使用Emacs 24.3.1。每当我在slime-repl中使用read()或read-line()函数时,它会在一个或两个输入字符(例如“wa”)之后冻结,
; SLIME 2016-04-02
CL-USER> (read)
wa
尝试使用C-g,它会显示以下错误:
Debugger entered--Lisp error: (quit)
accept-process-output(nil 0.01)
#[0 "\306\307!\306\310!\211\302L\266\211\211\300L\266\311\312J\301@\313\314\315\316\317D\316\nD\316\fD\320\257E\257!\266\321\322\323 \322\262\322\262\324!\325=\204J
slime-eval((swank:simple-completions "wa" (quote "COMMON-LISP-USER")))
slime-simple-completions("wa")
ac-source-slime-simple-candidates()
ac-candidates-1(((init . ac-slime-init) (candidates . ac-source-slime-simple-candidates) (candidate-face . ac-slime-menu-face) (selection-face . ac-slime-selection-face) (prefix . slime-symbol-start-pos) (symbol . "l") (document . ac-slime-documentation) (match . ac-source-slime-case-correcting-completions)))
ac-candidates()
ac-update(t)
ac-show-menu()
apply(ac-show-menu nil)
...
在命令行上的clisp REPL中不会发生此问题。 有帮助吗?