weidi
weidi

Reputation: 852

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

Upvotes: 2

Views: 1204

Answers (2)

TomSW
TomSW

Reputation: 741

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

Upvotes: 0

Miron Brezuleanu
Miron Brezuleanu

Reputation: 3060

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

Upvotes: 2

Related Questions