Timothy Washington <twash...@gmail.com> writes:

Hi Timothy,

> Still a fairly newbie emacs user. But when trying to evaluate a form
> with *C-x C-e ( *after* M-x nrepl-jack-in )*, I still get this error
> (was happening with nrepl 0.1.3):
>
> *Symbol's function definition is void: lisp-eval-last-sexp*
>
> This call looks like it's used in *
> ~/elpa/clojure-mode-1.11.5/clojure-mode.el*.

Hm, I think that's a SLIME function, and clojure-mode currently uses a
bundled SLIME that is compiled when you do clojure-jack-in.  With
nrepl.el, you don't do that anymore.

But anyway, once you've nrepl-jack-in'ed all (or the clojure buffers of
that project?) should have nrepl-interaction-mode enabled, and that
binds C-x C-e to nrepl-eval-last-expression.

Does the buffer with the clj file have nrepl-interaction-mode enabled?
You can see that by the nREPL lighter in the mode line or by doing C-h v
nrepl-interaction-mode RET in that buffer.  It should say the value is
t.

> I'm using GNU Emacs 24.0.92.1.  I also still have these directories
> lying around. Should something be blown away, or uninstalled? Does
> clojure-mode need to be updated ( 1.11.5 looks like the latest )?

No, I use that successfully with nrepl.el, too.

> ~/.emacs.d/swank/
> ~/.emacs.d/elpa/nrepl-0.1.3/

You can probably delete these two.

> ~/.emacs.d/elpa/nrepl-0.1.4/

But not this one.

Bye,
Tassilo

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to