[slime-devel] Re: slime-quit errors

Luke Gorrie luke at bluetail.com
Wed Oct 29 05:06:38 UTC 2003


Paolo Amoroso <amoroso at mclink.it> writes:

> When I issue the `slime-quit' command (bound to C-c ESC g) from
> *inferior-lisp*, I usually get this error in the minibuffer:
> 
>   Symbol's function definition is void: pp-to-string

Should be fixed, I added a (require 'pp). This is the Elisp pretty
printer library.

> One time I got this in *inferior-lisp*:
> 
>   * ;; Connection to Emacs lost.
>   ;; [End-of-File on #<Stream for descriptor 6>]
> 
> and this in a separate buffer:
> 
>   You have encountered a bug in SLIME.

[...]

>   The event was:
>   (:emacs-quit)
> 
>   The state stack was:
>   (slime-idle-state)

Fixed. According to the protocol state machine the quit/interrupt
commands can only be used while Lisp is evaluating something for
Emacs, but they didn't check this before trying to talk to Lisp.

(Probably the real problem is in the state machine - we should be able
to send an interrupt to Lisp at any time. I have another patch to let
Emacs send asynchronous commands to Lisp, so I'll fix this when I
commit that.)

-Luke






More information about the slime-devel mailing list