[slime-devel] slime-indentation vs swank-clojure

Andr m00naticus at gmail.com
Wed Oct 28 12:52:37 UTC 2009


Hello,
I get an error when starting swank-clojure:

error in process filter: slime-handle-indentation-update: etypecase failed: defun, (number cons string)
error in process filter: etypecase failed: defun, (number cons string)

Sometimes swank-clojure hangs on start possibly related to this.  I
use slime-indentation and slime-indentation-fu.  I guess this may be
fixed in swank-clojure as well but here's what tiny add seems to
work for me:

diff -u slime/contrib/slime-indentation-old.el slime/contrib/slime-indentation.el
--- slime/contrib/slime-indentation-old.el	2009-10-28 13:12:47.973627619 +0200
+++ slime/contrib/slime-indentation.el	2009-10-28 14:22:27.293096709 +0200
@@ -26,7 +26,8 @@
                                                                (walk (cdr indent))))
                                                    (string (intern (downcase indent))))))
                                         (list (walk indent))))
-                                (string (intern (downcase indent))))))
+                                (string (intern (downcase indent)))
+				(symbol indent))))
       (run-hook-with-args 'slime-indentation-update-hooks symbol indent))))
 
 ;; $ITI: cl-indent.el,v 1.6 1995/09/10 14:13:34 schrod Exp $




More information about the slime-devel mailing list