问题
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