Heyya, thanks for your help so far on this. See comments inlined...
On Thu, Sep 20, 2012 at 2:40 AM, Tassilo Horn <t...@gnu.org> wrote: > Timothy Washington <twash...@gmail.com> writes: > > > (defun nrepl-jack-in (prompt-project) > > (interactive "P") > > *=>*(let* ((cmd (if prompt-project > > > > > > > > > > > > (format "cd %s && %s" (ido-read-directory-name > "Project: > > ") > > *nrepl-server-command*) > > > > That form has several calls, the first result is nil. The second > > result error's out with the message below. And this is where execution > > just dies and goes away > > > > - nil > > - *Symbol's value as variable is void: nrepl-server-command* > > Uh, now that's really strange... It means that nrepl.el hasn't been > loaded yet. `nrepl-jack-in' is an autoloaded function meaning once you > call it, nrepl will be loaded too. That contradicts each other... > > I suspect you have some old version laying around somewhere. Please do > `M-x list-load-path-shadows RET' and check if there's some entry like > > /foo/bar/nrepl hides ~/.emacs.d/elpa/nrepl-0.1.4/nrepl > > *The result of this is: * * * *No Emacs Lisp load-path shadowings were found* > If that's not the case, maybe there's something broken in your configs > or some addon. To rule that out, please start emacs using "emacs -Q". > Then copy this code into the *scratch* buffer and evaluate it. > > --8<---------------cut here---------------start------------->8--- > (progn > (add-to-list 'load-path "~/.emacs.d/elpa/clojure-mode-1.11.5") > (add-to-list 'load-path "~/.emacs.d/elpa/nrepl-0.1.4") > (require 'nrepl)) ;; <== C-x C-e here! > --8<---------------cut here---------------end--------------->8--- > > *This bit is copied and evaluated in ok in *scratch*. But I get the same hanging "Starting nRepl server..." message, when executing M-x nrepl-jack-in. * > Then open some clojure file in some leiningen project and do `M-x > nrepl-jack-in RET'. Does it work then? > *The **"Starting nRepl server..." message is still hanging. **But I ran the emacs debugger on nrepl, and this time, it got past the " nrepl-server-command" command. The debugger seems to have completed the entire "nrepl-jack-in" function. I'm genuinely at a loss. * Bye, > Tassilo > > *Thanks again, and see you. * * * *Tim * -- 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