Fork me on GitHub

Hello, firstly thank you so much for the awesome work on Cider. After hearing Bug talking about Cider, today I freshly installed it via MELPA and I tested a cool feature that got me interested: the injection of the nREPL middleware in my project. Too bad this is what I get WARNING: CIDER's version (0.11.0-snapshot) does not match cider-nrepl's version (0.9.1). Things will break! user>


catonano: so the thing you can do is use [clojure-emacs/cider-nrepl "[0.9.1,)"] or whatever the artifact name is sorry I'm forgetting in you profile.clj. It's a version range which will cause Leiningen to pull down the very latest build of cider-nrepl which should be consistent with the melpa snapshot.


technically speaking this is kinda unstable, practically speaking I've been doing this for three years with maybe one day of downtime.


alternatively you could use melpa-stable to install CIDER 0.9.1


@catonano can u paste what shows up on ur minibuffer (see it in *Messages*) eg what are the params for lein/boot when you jack-in?


@arrdem there is a new feature in 0.11 which injects the middleware so u don't need to add anything to ur profiles.clj


@benedek: right I remeber seeing that. sorry.


No worries. Really interested at this point if there is a bug tho ;)


I upgraded to cider 0.10 and now I’m getting this error symbol's function definition is void clojure-project-dir


@benedek: there's a *nrepl-messages my-project-name buffer. It contains the traffic between the Emacs side and the nREPL side. Is taht the one you want ?


Anyway, this is the plain old Messages form Emacs Loading /usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/git-init.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Making nrepl-create-client-buffer-function local to nrepl-server openArpa while let-bound! Making nrepl-use-this-as-repl-buffer local to nrepl-server openArpa while let-bound! Starting nREPL server via lein update-in :dependencies conj \[org.clojure/tools.nrepl\ \"0.2.12\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.11.0-SNAPSHOT\"\] -- repl :headless... You can run the command `cider-jack-in' with C-c M-j Starting nREPL server via lein update-in :dependencies conj \[org.clojure/tools.nrepl\ \"0.2.12\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.11.0-SNAPSHOT\"\] -- repl :headless... nREPL server started on 46317 nREPL: Establishing direct connection to localhost:46317 ... nREPL: Direct connection established Connected. This REPL is yours to command! delete-backward-char: Text is read-only [2 times] Beginning of buffer [11 times] End of buffer Beginning of buffer [12 times] Mark set End of buffer [11 times] End of buffer


Hmmm that is what I meant


What is in ur profiles.clj? (Although it should be ovverriden by the update-in)


further questions ;) what is ur lein version?


i had to upgrade clojure-mode


it is sort of hit and miss when upgrading packages


i have cider working fine now