没有明显的理由在Emacs中触发粘液会在迷你缓冲区中生成此消息:
轮询“/tmp/slime.5000 .. 25(用”M-x“中止 slime-abort-connection'。)[730次]
那[730次]不断增长。据说,这意味着粘液开始有问题,但不,它工作正常。
这是我的消息缓冲区,从slime初始化开始:
../../ quicklisp / dists中/ quicklisp /软件/粘液-20130217-CVS /了contrib /粘液包fu.el:
flet' is an obsolete macro (as of 24.3); use either
cl-flet'或cl-letf'. [4 times] Starting Emacs daemon. When done with this frame, type C-x 5 0 Polling "/tmp/slime.5080" .. 1 (Abort with
M-X slime-abort-connection'。)轮询“/tmp/slime.5080”.. 2(abort withM-x slime-abort-connection'.) Polling "/tmp/slime.5080" .. 3 (Abort with
M-x slime-abort-connection'。)轮询“/tmp/slime.5080”.. 4 (中止M-x slime-abort-connection'.) Polling "/tmp/slime.5080" .. 5 (Abort with
M-x粘液中止连接'。)轮询 “/tmp/slime.5080”.. 6(用M-x slime-abort-connection'.) Polling "/tmp/slime.5080" .. 7 (Abort with
M-x中止 slime-abort-connection'。)轮询“/tmp/slime.5080”.. 8(abort withM-x slime-abort-connection'.) Polling "/tmp/slime.5080" .. 9 (Abort with
M-x slime-abort-connection'。)轮询“/tmp/slime.5080”.. 10 (中止M-x slime-abort-connection'.) Polling "/tmp/slime.5080" .. 11 (Abort with
M-x粘液中止连接'。)轮询 “/tmp/slime.5080”.. 12(用M-x slime-abort-connection'.) Polling "/tmp/slime.5080" .. 13 (Abort with
M-x中止 slime-abort-connection'。)轮询“/tmp/slime.5080”.. 14(abort withM-x slime-abort-connection'.) Polling "/tmp/slime.5080" .. 15 (Abort with
M-x slime-abort-connection'。)轮询“/tmp/slime.5080”.. 16 (中止M-x slime-abort-connection'.) Polling "/tmp/slime.5080" .. 17 (Abort with
M-x粘液中止连接'。)轮询 “/tmp/slime.5080”.. 18(用M-x slime-abort-connection'.) Polling "/tmp/slime.5080" .. 19 (Abort with
M-x中止 slime-abort-connection'。)轮询“/tmp/slime.5080”.. 20(abort withM-x slime-abort-connection'.) Polling "/tmp/slime.5080" .. 21 (Abort with
M-x slime-abort-connection'。)轮询“/tmp/slime.5080”.. 22 (中止M-x slime-abort-connection'.) Polling "/tmp/slime.5080" .. 23 (Abort with
M-x粘液中止连接'。)轮询 “/tmp/slime.5080”.. 24(用M-x slime-abort-connection'.) Polling "/tmp/slime.5080" .. 25 (Abort with
M-x中止 slime-abort-connection'。)连接到端口39808上的Swank ..轮询 “/tmp/slime.5080”.. 25(中止M-x slime-abort-connection'.) [2 times] Source file
/ home / lawrence / .emacs.d / elpa / clojure-mode-1.11.5 / clojure-mode.el' 比字节编译的文件更新连接。让黑客入侵吧! 轮询“/tmp/slime.5080”.. 25(中止M-x slime-abort-connection'.) [297 times] Mark set Polling "/tmp/slime.5080" .. 25 (Abort with
M-x粘液中止连接'。) [207次]马克保存在搜索开始的位置轮询“/tmp/slime.5080” .. 25(用M-x slime-abort-connection'.) [58 times] Cancelled connection attempt. Polling "/tmp/slime.5080" .. 25 (Abort with
M-x中止 slime-abort-connection'。)[1159次]字节码:缓冲区的开头 轮询“/tmp/slime.5080”.. 25(中止M-x slime-abort-connection'.) [2 times] byte-code: Beginning of buffer [2 times] Polling "/tmp/slime.5080" .. 25 (Abort with
M-x slime-abort-connection'。)[2次]字节码:缓冲区的开头 轮询“/tmp/slime.5080”.. 25(中止M-x slime-abort-connection'.) byte-code: Beginning of buffer Polling "/tmp/slime.5080" .. 25 (Abort with
M-x粘液中止连接'。) [202次]
答案 0 :(得分:1)
清理你的.cache / common-lisp /
答案 1 :(得分:0)
安装emacs 24.3后,我遇到同样的问题,你可以这样做
cd /path/slime/contrib
find ./ -name '*.elc' | xargs rm -f
然后,重启你的emacs
答案 2 :(得分:0)
无限轮询可能是由于缺少文件swank-loader.lisp
。检查变量slime-backend
,看它是否包含swank-loader.lisp
的正确路径。
在我的计算机上,我甚至没有swank-loader.lisp
文件(我注意到如果你使用elpa安装 slime ,可能会发生这种情况)。所以我从here下载了整个 slime 并且做对了。
答案 3 :(得分:0)
对我来说,问题是我的.emacs.d /文件夹中没有/ tmp文件夹。添加/ tmp文件夹解决了问题
答案 4 :(得分:0)
我的Emacs + Slime + CCL / SBCL / CLISP / ECL发生了同样的错误,我有一个解决方案,在我的系统上,没关系!你可以试试。
错误的原因可能是粘液和swank的版本不匹配。因此解决方案是使用相同版本的粘液和swank。
我的系统是Raspbian(一种debian)。我使用命令" apt-get install slime"安装了slime,然后slime和emacs将自动安装到路径" / usr / share / common-lisp / source / slime /&#34 ;。但我认为该版本不是最新版本。
解决方案: 1,获取最新的粘液到您的家庭道路: 命令:
cd~ / sudo git clone https://github.com/slime/slime史莱姆 cd史莱姆 使
2,在〜/ .emacs中添加tmp路径和加载路径:
(setq temporary-file-directory" / tmp") (add-to-list' load-path" / home / pi / slime /")
3,将/ usr / share / common-lisp / source / slime /重命名为/ usr / share / common-lisp / source / slime-back / 命令:
sudo mv / usr / share / common-lisp / source / slime / / usr / share / common-lisp / source / slime-back /
4,使用最新的粘液创建符号链接 命令:
sudo ln -s / home / pi / slime // usr / share / common-lisp / source / slime
5,删除缓存和临时文件 命令:
sudo mv~ / .cache / common-lisp~ / .cache / common-lisp-back
好的,现在你可以尝试启动emacs和slime。
答案 5 :(得分:0)
对于使用 Debian 10 的我来说,安装 cl-swank
软件包解决了这个问题。
This package contains the Lisp-side server, needed by the Emacs client (see package slime).
(我的 slime
也来自 Debian 存储库。)