Fork me on GitHub
#inf-clojure
<
2022-04-29
>
Jason03:04:35

👋 I've been touring the emacs+clojure ecosystem looking for my perfect setup for work. While inf-clojure-connecting to an embedded nrepl with transport/tty I could get as far as (+ before it would disconnect with java.lang.RuntimeException: Conditional read not allowed . I tracked this down to https://github.com/clojure-emacs/inf-clojure/blob/abeab8d6d4cb3bdded5e9083776aab0c06cbdf57/inf-clojure.el#L150 and changed the call to argslist to an earlier version without the conditional and it looks like the issue is resolved. Is this likely an issue with my project, nrepl transport/tty, or inf-clojure?

dpsutton04:04:10

Looking at that, what is cljr at all? But you're right that shouldn't have a reader conditional. Does removing it solve your issue?

Jason04:04:49

Yeah, as far as I can tell it was only during calls to get argslist. Removing the reader conditional solved my problem.

👍 1
dpsutton04:04:31

Submit a patch? Or should I? I'd prefer it from you with a known working and tested implementation even though it's a trivial fix

Jason04:04:43

I'd love to, I'll do it tomorrow

🙏 1