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

slime-macroexpand-all error #125

@killme2008

Description

@killme2008

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions