Closed zilvinasu closed 11 years ago
I'll have a look at that. Yesterday I was doing some refactoring of this functionality and I guess I've accidentally broken something.
I cannot reproduce this - cider-mode
was enabled properly after cider-jack-in
when I tried out the latest MELPA package.
Might be something wrong with my config, I will check it later this day
@bbatsov iirc there shouldn't be any additional config necessary for this to work? If so would you mind sharing your cider configs?
My bad, after investigating my config, I found out that I am still using
nrepl-enable-on-existing-clojure-buffers
which did not work, so I switched it to
cider-enable-on-existing-clojure-buffers
works fine now.
Hey @bbatsov, I think I may be running into this myself.
I'm on cider-20131023.1732 from MELPA, GNU Emacs 24.3.1, with no customizations in my config, and my old nrepl elpa directory deleted.
If I create a test.clj file that looks like:
(+ 1 2)
Open that file with emacs:
emacs test.clj
Then issue the command M-x cider-jack-in
I observe
test.clj
buffer's modeline remain unchanged as (Clojure Paredit Projectile Fill)
*cider*
buffer open with the modeline (REPL ElDoc Projectile)
My *messages*
buffer populated with these messages:
Starting nREPL server...
nREPL server started on 63281
Connecting to nREPL on localhost:63281...
Connected. Ryan, this could be the start of a beautiful program.
@rkneufeld I guess you don't have anything in the REPL buffer and pressing RET there generates some error? This means that something went wrong during the REPL init - are you sure you don't have some incorrect config lying around?
@bbatsov: That is true, nothing in the REPL buffer and return generates an error. I will attempt again with no emacs config whatsoever. test.clj
is not a part of any leiningen project.
@bbatsov: I removed my entire elpa/
folder and re-installed all of my packages and the problem went away.
After the recent update I got from MELPA, Cider mode not being enabled on current and new Clojure buffers.