I have lein 1.7 with swank 1.4 plugin. Then I start without emacs configuration and install clojure -mode from the marmalade, create a new project with lein, open project.clj, and then do Mx clojure -jack-in. Slime starts just fine. Then i get into it
; SLIME 20100404
user> (defn x[x]
(let [y (* x 2)]
(when (= y 2)
(throw (Exception. "hey")))
y))
user> (x 2)
4
user> (x 1)
This throws me into the debugger, but it looks like it is not complete:
hey
[Thrown class java.lang.Exception]
Restarts:
0: [QUIT] Quit to the SLIME top level
Backtrace:
0: NO_SOURCE_FILE:1 user/x
[No Locals]
1: NO_SOURCE_FILE:1 user/eval1854
[No Locals]
2: Compiler.java:6465 clojure.lang.Compiler.eval
3: Compiler.java:6431 clojure.lang.Compiler.eval
4: core.clj:2795 clojure.core/eval
5: core.clj:532 swank.core/eval690[fn]
6: MultiFn.java:163 clojure.lang.MultiFn.invoke
7: basic.clj:54 swank.commands.basic/eval-region
8: basic.clj:44 swank.commands.basic/eval-region
9: basic.clj:78 swank.commands.basic/eval880[fn]
--more--
Locales are not displayed. There is no way to continue. I watched the video: http://vimeo.com/23932914 How do I get to the same slime / emacs / clojure configuration.
source
share