[slime-devel] slime-quit errors

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 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 communication state machine received an event that was illegal for its current state, which means that the communication between Emacs and Lisp has lost synchronization. The connection to Lisp has therefore been closed. You can open a fresh connection with `M-x slime'. Please report this problem to your friendly neighbourhood SLIME hacker, or the mailing list at slime-devel@common-lisp.net. Please include in your report: A description of what you were doing when the problem occured, the version of SLIME, Emacs, and Lisp that you are using, the Lisp backtrace, if one was printed, and the information printed below: The event was: (:emacs-quit) The state stack was: (slime-idle-state) I can't remember exactly what I was doing, but I was evaluating very simple forms and checking a few SLIME commands such as `lisp-describe-sym'. Previously, I had exited a SLIME session with `(quit)' *inferior-lisp*, and then started a new one with `M-x slime'. My setup is: Debian Woody, GNU Emacs 20.7, CMUCL 18e and SLIME CVS sources updated half a dozen hours ago. Paolo -- Paolo Amoroso <amoroso@mclink.it>

Paolo Amoroso <amoroso@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

Luke Gorrie writes:
Paolo Amoroso <amoroso@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.
I no longer get this...
One time I got this in *inferior-lisp*:
* ;; Connection to Emacs lost. ;; [End-of-File on #<Stream for descriptor 6>] [...] Fixed. According to the protocol state machine the quit/interrupt
...but I still get this with CVS sources updated a few hours ago. Paolo -- Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film

Paolo Amoroso <amoroso@mclink.it> writes:
Fixed. According to the protocol state machine the quit/interrupt
...but I still get this with CVS sources updated a few hours ago.
Whoops, I got mixed up with branches on my local machine (surprise surprise). Fixed now. (I hadn't committed the `pp' fix either, but I'm glad that error disappeared anyway!) -Luke
participants (2)
-
Luke Gorrie
-
Paolo Amoroso