Cannot start slime with emacs + sbcl under windows

与世无争的帅哥 提交于 2019-12-11 00:59:25

问题


I want to configure my emacs to work with SLIME and SBCL. The .emacs file looks like this:

(add-to-list 'load-path "D:/app/slime/")
(setq inferior-lisp-program "sbcl")
(require 'slime)
(slime-setup)

Now i'm able to start emacs, but if i type M-x slime, there would be an error complaining something like: "function SWANK-BACKEND: fd-stream-input-buffer-empty-p is undefined" so that the connection to swank fails.

What problem could that be? Thanks

The version of emacs is 23.3. The version of sbcl is the latest 1.0.55. Slime is downloaded via cvs. The operating system is windows7


回答1:


SBCL for Windows is a port in progress.

If you want to try out Emacs/SLIME under Windows, you may be more successful with Clozure CL. An easy start: try Lispbox, which comes preconfigured with Clozure CL and also includes Quicklisp.

If you really need to use SBCL on Windows, see the Windows fork (from the SBCL platform table page - linked to above).




回答2:


Setting the sbcl_home environment variable works for me with the non-forked version.



来源:https://stackoverflow.com/questions/9481910/cannot-start-slime-with-emacs-sbcl-under-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!