Emacs - slime 未启动
我最近升级到 Emacs 23.1.50,Slime 停止连接 - 它会启动inferior-lisp,但永远不会连接。经过一番调查,我发现如果从 emacs -q 开始,然后一切直到(包括对 slime 的调用)都可以工作。有什么方法可以强制我的其余自定义项等到 slime-repl 连接后才能进行处理?这将解决我眼前的问题。
I recently upgraded to Emacs 23.1.50, and Slime stopped connecting - it would start the inferior-lisp, but never connect. After some investigation, I found that it would work if started from emacs -q and then everything up until and including the call to slime would work. Is there any way to force the remainder of my customizations to wait until the slime-repl has connected in order to be processed? This would solve my immediate issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据您的描述,听起来好像 .emacs 中调用 Slime 之前的设置正在破坏 Slime。
一些想法:
(sit-for 10)
以防出现一些奇怪的同步,但是,具体来说, Slime 中有一个名为
的钩子 'slime-connected-hook
,您可以使用它来完成自定义。即,将您的 .emacs 分成两部分(以调用启动 slime 结束第一部分),并注册第二部分以在 Slime 进程连接后加载。From your description, it sounds as though a setting in your .emacs before the call to Slime is what is breaking Slime.
A couple of ideas:
(sit-for 10)
after the call to start Slime in case there's some weird synchronization going onBut, specifically, there is a hook in Slime named
'slime-connected-hook
, which you could use to finish your customizations. i.e. Split your .emacs into two parts (ending the first with a call to start slime), and register the second part to get loaded after the Slime process has connected.