2. Right now I use "slime-completions" function with auto-complete.el so I have automatic completion working. I am very attached to auto-complete as that is a big helper on my coding efficiency. I know there is "nrepl-complete" command, but is there a function that will return all the completions for a prefix so I can use that with auto-complete? I could not find it.
Does anyone know how to let lein2 to use the latest nrepl server (beta9 for now). It seems right now (preview8) it is using beta8. I am eager to find out if beta9 fixed the ac-nrepl exception on namespace completion (according to ac-nrepl issue tracking, that is caused by the server). Thank you.
Just adding [org.clojure/tools.nrepl "0.2.0-beta9"] to your project dependencies should do it.Can you point me to this ac-nrepl issue that may be server-related?- Chas
But if I do this in a regular "lein repl" shell:
(complete.core/completions "clojure.set/")
everything works fine. I can see all the completions.
But if I do the same in an Emacs nrepl buffer, I got the exception as described in the ac-nrepl issue. So it does seems nrepl related. Can someone explain why? Thank you.
I am using lein2 preview 10, and nrepl.el 0.1.4 preview
But if I do the same in an Emacs nrepl buffer, I got the exception as described in the ac-nrepl issue. So it does seems nrepl related. Can someone explain why? Thank you.
I am using lein2 preview 10, and nrepl.el 0.1.4 preview