Question

I'm using swank-clojure in emacs on OSX. I'm able to run a slime session. When I use C-x C-e on a simple form in a .clj file like

(+ 7 7)

I get an sldb buffer with

Unable to resolve symbol: + in this context [Thrown class java.lang.Exception]

I'm able to evaluate that form in the slime session directly. I was hoping the form in the clj file would get evaluated in the running slime session. Can someone explain how C-x C-e works in swank-clojure and how I can get the form to be evaluated in the running slime session?

Thanks,

hhh

Was it helpful?

Solution

Crtl-C Crtl-C is the slime "evaluate this" sequence. This is different form the emacs "eval sexq".

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top