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 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--- Then open some clojure file in some leiningen project and do `M-x nrepl-jack-in RET'. Does it work then? 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