Hey Tassilo, thanks for responding.

Well after *M-x nrepl-jack-in*, I notice that the "*Starting nREPL server...
*" message never goes away. But I don't *think* that's the main problem.

*1)* That help window looks like the following. So it doesn't look like the
*nrepl-interaction-mode* is enabled on emacs startup.


*-UU-:----F1  neuralnet.clj   Top (16,0)    Git:master  (Clojure Fill)
----...*
 nrepl-interaction-mode is a variable defined in `nrepl.el'.
Its value is nil

  Automatically becomes buffer-local when set in any fashion.

Documentation:
Non-nil if nREPL-Interaction mode is enabled.
Use the command `nrepl-interaction-mode' to change this variable.



*2)* After executing the emacs command '*nrepl-interaction-mode*', I could
then execute *C-x C-e*, but got the following message

No buffer named *nrepl-connection*



*3)* So I went ahead and fired up *M-x nrepl*, and supplied the host and
port. Again, the result message "*Connecting to nREPL on localhost:57260...*"
never goes away (hopefully not the real problem). After this, trying to
execute *C-x C-e* or *C-x C-l* , gives me the error:

Wrong type argument: stringp, nil




Tim Washington
Interruptsoftware.ca
416.843.9060



On Wed, Sep 19, 2012 at 2:38 PM, Tassilo Horn <t...@gnu.org> wrote:

> 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
>

-- 
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