Search code examples
emacscommon-lispslimesbcl

Cannot start slime with emacs + sbcl under windows


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


Solution

  • 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).