Using slime's C-x C-e (Eval the form under the point) with swank-clojure in emacs

Posted by hiheelhottie on Stack Overflow See other posts from Stack Overflow or by hiheelhottie
Published on 2010-05-08T03:39:58Z Indexed on 2010/05/08 3:48 UTC
Read the original article Hit count: 293

Filed under:
|

Hi,

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

© Stack Overflow or respective owner

Related posts about clojure

Related posts about swank