[slime-devel] Problems with AllegroCL and completion

Helmut Eller heller at common-lisp.net
Mon Oct 10 14:13:52 UTC 2005


* Edi Weitz [2005-10-10 11:19+0200] writes:

> Yes.  In fact, this is obviously not related to symbol completion as I
> first thought.  Here's a much simpler test case: With a freshly
> started SLIME type x and then the ENTER key.  You're thrown into the
> debugger because the symbol is unbound.  Type a to abort.  Repeat this
> two or three times - presto:

For me the problem goes away with the patch below.  Not sure whether
our code or Allegros finish-output on two-way-streams is broken.

Helmut.

--- swank.lisp	9 Oct 2005 18:55:52 -0000	1.343
+++ swank.lisp	10 Oct 2005 14:09:42 -0000
@@ -1002,7 +1002,7 @@ (defun prin1-to-string-for-emacs (object
       (prin1-to-string object))))
 
 (defun force-user-output ()
-  (finish-output (connection.user-io *emacs-connection*))
+  (force-output (connection.user-io *emacs-connection*))
   (finish-output (connection.user-output *emacs-connection*)))





More information about the slime-devel mailing list