Christophe Rhodes csr21@cam.ac.uk writes:
Anyway, if people are happy with the documentation change I'll check this in later today.
What with Nikodemus Siivola's work on SBCL, the patch to make SLIME work out of the box on (as-yet-unreleased) SBCL on Win32 is appended here. I'll check it in soon.
Cheers,
Christophe
? doc/contributors.texi ? doc/slime.aux ? doc/slime.cp ? doc/slime.dvi ? doc/slime.fn ? doc/slime.info ? doc/slime.ky ? doc/slime.log ? doc/slime.pdf ? doc/slime.pg ? doc/slime.ps ? doc/slime.toc ? doc/slime.tp ? doc/slime.vr Index: ChangeLog =================================================================== RCS file: /project/slime/cvsroot/slime/ChangeLog,v retrieving revision 1.884 diff -u -r1.884 ChangeLog --- ChangeLog 14 Apr 2006 16:07:10 -0000 1.884 +++ ChangeLog 16 Apr 2006 19:53:44 -0000 @@ -1,3 +1,10 @@ +2006-04-16 Christophe Rhodes csr21@cam.ac.uk + + * swank-sbcl.lisp (preferred-communication-style): Make it nil + under win32, for now. + + * doc/slime.texi: document nil *communication-style* + 2006-04-14 Gerd Flaig gefla@pond.sub.org
* slime.el (slime-autodoc): Fix reference to unbound variable. Index: swank-sbcl.lisp =================================================================== RCS file: /project/slime/cvsroot/slime/swank-sbcl.lisp,v retrieving revision 1.154 diff -u -r1.154 swank-sbcl.lisp --- swank-sbcl.lisp 12 Apr 2006 08:43:55 -0000 1.154 +++ swank-sbcl.lisp 16 Apr 2006 19:53:45 -0000 @@ -32,11 +32,15 @@ ;;; TCP Server
(defimplementation preferred-communication-style () - (if (and (member :sb-thread *features*) - #+linux - (not (sb-alien:extern-alien "linux_no_threads_p" sb-alien:boolean))) - :spawn - :fd-handler)) + (cond + ;; fixme: when SBCL/win32 gains better select() support, remove + ;; this. + ((member :win32 *features*) nil) + ((and (member :sb-thread *features*) + #+linux + (not (sb-alien:extern-alien "linux_no_threads_p" sb-alien:boolean))) + :spawn) + (t :fd-handler)))
(defun resolve-hostname (name) (car (sb-bsd-sockets:host-ent-addresses Index: doc/slime.texi =================================================================== RCS file: /project/slime/cvsroot/slime/doc/slime.texi,v retrieving revision 1.44 diff -u -r1.44 slime.texi --- doc/slime.texi 3 Mar 2006 15:03:31 -0000 1.44 +++ doc/slime.texi 16 Apr 2006 19:53:45 -0000 @@ -1415,6 +1415,12 @@ The available communication styles are:
@table @code +@item NIL +This style simply loops reading input from the communication socket +and serves @SLIME{} protocol events as they arise. The simplicity +means that the Lisp cannot do any other processing while under +@SLIME{}'s control. + @item :FD-HANDLER This style uses the classical Unix-style ``@code{select()}-loop.'' Swank registers the communication socket with an event-dispatching @@ -1446,11 +1452,11 @@
The default request handling style is chosen according to the capabilities your Lisp system. The general order of preference is -@code{:SPAWN}, then @code{:SIGIO}, then @code{:FD-HANDLER}. You can -check the default style by calling -@code{SWANK-BACKEND:PREFERRED-COMMUNICATION-STYLE}. You can also -override the default by setting @code{SWANK:*COMMUNICATION-STYLE*} in -your Swank init file. +@code{:SPAWN}, then @code{:SIGIO}, then @code{:FD-HANDLER}, with +@code{NIL} as a last resort. You can check the default style by +calling @code{SWANK-BACKEND:PREFERRED-COMMUNICATION-STYLE}. You can +also override the default by setting +@code{SWANK:*COMMUNICATION-STYLE*} in your Swank init file.
@node Other configurables, , Communication style, Lisp-side @subsection Other configurables