Skip to content
This repository has been archived by the owner on Jan 23, 2018. It is now read-only.

slime-macroexpand-all error #125

Open
killme2008 opened this issue May 2, 2012 · 0 comments
Open

slime-macroexpand-all error #125

killme2008 opened this issue May 2, 2012 · 0 comments

Comments

@killme2008
Copy link

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]

 Restarts:
 0: [QUIT] Quit to the SLIME top level

 Backtrace:
   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
  --more--

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant