[slime-devel] Re: [PATCH] *globally-redirect-io* and *communication-style* troubles

Helmut Eller heller at common-lisp.net
Tue Jul 29 09:35:44 UTC 2008


* Richard M Kreuter [2008-07-23 00:26+0200] writes:

> Hi,
>
> When I run SBCL under slime with *GLOBALLY-REDIRECT-IO* true and
> *COMMUNICATION-STYLE* :FD-HANDLER or :SIGIO, I get a repl buffer with
> name "*slime-repl nil*", and any subsequent SBCLs created by slime steal
> this buffer.  The problem is that with *GLOBALLY-REDIRECT-IO*, the
> initial "Adding ... handler" messages get to Emacs before the reply to
> (swank:connection-info), and so the event processing on the slime side
> creates the repl buffer before the slime connection has been
> initialized.  Getting rid of those messages seems to fix things.

Patch applied.

A more complete fix would probably be to set up IO redirection only
after the Emacs side is completely initialized, i.e. after the
swank:connection-info RPC.

Helmut.




More information about the slime-devel mailing list