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
* Red Daly [2011-08-06 17:14] writes:
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.
This sounds like the problem here: http://comments.gmane.org/gmane.lisp.slime.devel/9250
In summary: it should be fixed in recent Emacs versions (patch went into Emacs24 on 2010-03-25 and backported to Emacs23 in November).
If your Emacs is older than that the :dont-close trick is probably the easiest fix.
Helmut