Fork me on GitHub

@dpsutton thank you so much for the MR


maybe something wrong with my setup, currently jack-in uses this command:

/usr/local/bin/clojure -A:dev:test -Sdeps '{:deps {nrepl/nrepl {:mvn/version "0.8.3"} cider/cider-nrepl {:mvn/version "0.25.8"}} :aliases {:cider/nrepl {:main-opts ["-m" "nrepl.cmdline" "--middleware" "[\"cider.nrepl/cider-middleware\"]"]}}}' -M:cider/nrepl
which seems correct, but it still runs the kaocha runner, not plain cider


i see, thank you so much for work you do!


my pleasure! sorry my first fix didn't actually, you know, fix it 🙂


np, i didnt make any fix at all…


early testing and feedback is an incredibly useful thing. so thanks for that!


Your fix seems eorking for me (did quick test)


Thank you so much!

🎉 3

happened already a few times in the last days that the cider repl goes read-only


not sure if it's something I do, but things like company and eldoc start failing since they can't write on the buffer


it's weird though , read-only doesn't seem enabled, and if I enable and disable it again it still fails in the same way


not too sure about what it is triggering it, but possibly evaluating something


@andrea.crotti never seen this behavior before. make an issue and see if others chime in having seen it as well?


mm yeah I would like to understand how to make it happen first


mm it happened again, a whole bucnh of buffers become read only


like `cider-repl--history-read: Text is read only


and I can't even restart cider I have to restart Emacs


ok apparently text read onl it's not related to the buffers, it's a property that somehow got set to some text


I almost suspect that somhow I trigger that with some magic combination


maybe it's not related with cider at all


Hi! new emacs and cider user here.. Having some issues when being connected to two repls simultaneously (one for my clojure cli/deps files and the other for shadow-cljs, all in the same project). Evaluating expressions from a source buffer only works for the most recently active repl. So when switching to a buffer connected to the other repl, evaluation doesn’t work and I’m getting the “no cljs REPLs in current session…” message. If I then quickly switch over to the repl buffer I’m targeting, and then back to the source buffer, it works again. Is there some trick I can use to make cider automatically know which repl to use based on which file/buffer I’m in?


unfortunately not at the moment. an open ticket to fix this and it'll be my next fix:


I should have browsed through the issues there, sorry about that and thanks for the link:)


Really looking forward to that fix!:) I haven’t yet found any editor or IDE that manages to handle this yet. At first I was using IntelliJ and Cursive, but moved away from it when I stopped using Leiningen. Currently trying out both emacs with cider and Atom with chlorine. Atom/chlorine is really slick and easier for emacs noobs like me, but chlorine can only handle one single repl connection…


for sure. multiple connections is a tricky problem. and since emacs doesn't make different instances for different projects its a bit harder in CIDER. but we make the effort and this shouldn't be a terrible change


Let me know if I can be of any help! Not sure what skills or tools are needed to contribute, but I’m a MSc student in computer science so have some general coding skills I guess:sweat_smile:


well awesome. if you follow that linked thread and google up about how to step through emacs lisp you have all the tools you need

👍 3

oops. linked a comment rather than the issue


Does anybody know if it is possible to recover the redirected *out* behavior of an nREPL connection which was closed (due to a dead SSH tunnel)? The messages are still being redirected (they are not going to STDOUT of the repl server process), but they aren't going to a new CIDER repl buffer either when the connection is reestablished. Looking at I thought that (after an eval op) the redirected output should arrive in the new CIDER repl buffer.