Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

slime-macroexpand-all error #125

killme2008 opened this Issue May 2, 2012 · 0 comments


None yet
1 participant

Using slime-macroexpand-all to fully macroexpand the expression at point by:

C c M m

But occurred an exception:

 Can't dynamically bind non-dynamic var: clojure.contrib.macro-utils/macro-symbols
 [Thrown class java.lang.IllegalStateException]

 0: [QUIT] Quit to the SLIME top level

   0:        Var.java:339 clojure.lang.Var.pushThreadBindings
   1:       core.clj:1716 clojure.core/push-thread-bindings
   2: macro_utils.clj:267 clojure.contrib.macro-utils/mexpand-all
   3:  macroexpand.clj:17 swank.clj-contrib.macroexpand/macroexpand-all
   4:       basic.clj:100 swank.commands.basic/apply-macro-expander
   5:       basic.clj:110 swank.commands.basic/eval1132[fn]
   6:        Var.java:401 clojure.lang.Var.invoke
   7:    (Unknown Source) control.test.core/eval3104
   8:  Compiler.java:6465 clojure.lang.Compiler.eval
   9:  Compiler.java:6431 clojure.lang.Compiler.eval

It seems that swank-clojure uses clojure.contrib,and some variable could not be bound in clojure 1.3 since they are not dynamic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment