本文介绍了slime-fancy没有加载emacs sbcl slime windows配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我可以使用Mx粘胶与sbcl建立连接 lower-lisp 缓冲区,但是即使我正在加载.emacs中的slime-fancy contrib,编辑lisp文件时,我无法调用slime-repl或者获取一个漂亮的lisp自动缩进。启动时我没有收到任何错误消息。



当我尝试Mx slime-repl时,我得到[不匹配]​​。



我的.emacs文件:

 (setq inferior-lisp-programsbcl)
(add-to-list'load-pathc:/ home / bin / emacs / site-lisp / slime /)
(require'slime)
(require'slime-autoloads)
(slime-setup'(slime-fancy))

我用这种方法进行安装:





我注意到一个模式,几乎所有我用Python和Clojure尝试的工作如上所述,几乎没有我尝试与常见的lisp作品相关。我也尝试过吃日食的口味。如果Windows中有常见的lisp有更新的东西,我愿意尝试另一种方法。

解决方案

使用Sujoy的答案并修剪它来使其工作,我意识到我的原始问题是由(require'slime)语句引起的。以下的.emacs文件将按照预期的方式获取打开的slime repl。

 (setq inferior-lisp-programsbcl)
(需要slime-autoloads)
(slime-setup'(slime-fancy))


I have slime with sbcl working in emacs 24.1 but can not get a slime repl to open.

I can use M-x slime to make a connection to sbcl in a inferior-lisp buffer but I can not invoke the slime-repl or get a nice lisp auto-indent when editing lisp files even though I am loading the slime-fancy contrib in .emacs. I don't get any error messages during start-up.

When I try M-x slime-repl I get [No match].

my .emacs file:

(setq inferior-lisp-program "sbcl")
(add-to-list 'load-path "c:/home/bin/emacs/site-lisp/slime/")
(require 'slime)
(require 'slime-autoloads)
(slime-setup '(slime-fancy))

I used this method for the installation:

http://www.pchristensen.com/blog/articles/installing-sbcl-emacs-and-slime-on-windows-xp

I have noticed a pattern that almost everything I try with Python and Clojure works as described and almost nothing I try related to common lisp works. I have also tried cusp with eclipse. I am willing to try yet another approach if there is something more recent for common lisp in windows.

解决方案

After playing with Sujoy's answer and trimming it down to get it to work, I realized my original problem was caused by the (require 'slime) statement. The following .emacs file gets the slime repl to open as expected.

(setq inferior-lisp-program "sbcl")
(require 'slime-autoloads)
(slime-setup '(slime-fancy))

这篇关于slime-fancy没有加载emacs sbcl slime windows配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-18 10:43