[slime-devel] M-x slime-update-indentation kills Allegro CL (with patch)

Matthias Koeppe mkoeppe+slime at mail.math.uni-magdeburg.de
Thu May 4 15:47:02 UTC 2006


Does anyone else have the same problem with Allegro CL 8.0 and SLIME?
If I type M-x slime-update-indentation, Allegro CL starts growing
until it hits a STORAGE-CONDITION or even segfaults.

However, typing (update-indentation-information) in the REPL just
works.  I have come up with the patch below which fixes the problem
for me, but I don't understand why.

Unless there are no objections, I will put this fix into CVS anyway.

--- swank.lisp.~1.377.~	2006-05-03 11:04:33.000000000 +0200
+++ swank.lisp	2006-05-04 14:08:51.560088000 +0200
@@ -4605,7 +4605,8 @@
 after each command.")
 
 (defslimefun update-indentation-information ()
-  (perform-indentation-update *emacs-connection* t))
+  (perform-indentation-update *emacs-connection* t)
+  nil)
 
 ;; This function is for *PRE-REPLY-HOOK*.
 (defun sync-indentation-to-emacs ()


-- 
Matthias Köppe -- http://www.math.uni-magdeburg.de/~mkoeppe



More information about the slime-devel mailing list