hello, i've been looking at the stdin handling of nrepl while trying to fix CIDER issue 2317 "`(slurp in)` can't be interrupted" - https://github.com/clojure-emacs/cider/issues/2317
after fixing the part where the user couldn't stop the stream, i encountered the following issue:
(slurp *in*)
will close stdin after it reads EOF and then the nrepl stdin will be closed forever (or until a restart).
is that something that should be changed?
@timo.freiberg It’s certainly a bug if we can’t use the the *in*
more than once and we should fix this.
Luckily ever since nREPL moved out of clojure-contrib
contributions have become pretty easy - https://github.com/nrepl/nrepl/
(the old repo is there just for legal/historical purposes - it was licensed differently to comply with clojure-contrib
rules)
Funny enough - I eventually ended up being the maintainer of both CIDER and nREPL. 🙂
@bozhidar yeah i noticed that after your comments this morning 🙂
Well, seems I was the person most motivated to get some improvements in nREPL, as CIDER is so dependent on it. 🙂 Chas didn’t have much time for the project and eventually he handed it over to me and the rest of our team.