[slime-devel] Swank requires :dont-close t to connect

Red Daly reddaly at gmail.com
Sat Aug 6 17:14:12 UTC 2011


Hi All,

After installing SBCL 1.50 and the most recent CVS version of slime on a
linux machine (Ubuntu 11.04), I needed to change slime.el in order for M-x
slime to work within emacs.  I don't know why this was necessary, but I
changed the slime-init-command function to include a :dont-close t argument
to the swank:start-server call.

Here is my .emacs:

;;;; SLIME



(add-to-list 'load-path "~/lib/cl/slime/")  ; your SLIME directory



(setq inferior-lisp-program "sbcl") ; your Lisp system



(setq slime-net-coding-system 'utf-8-unix)
(require 'slime)
(slime-setup '(slime-repl slime-fancy))

I'm not sure if this is a bug or not, but perhaps you all should know.

Without the :dont-close argument, I get an error in emacs:
swank:close-connection: end of file on #<SB-SYS:FD-STREAM for "socket
127.0.0.1:58634, peer: 127.0.0.1:53495" {100467B0C1}>

Thanks,
Red
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20110806/eb3d2095/attachment.html>


More information about the slime-devel mailing list