plexus / unrepl.el

Mozilla Public License 2.0
16 stars 2 forks source link

Create unrepl-minor-mode #8

Open plexus opened 7 years ago

plexus commented 7 years ago

For use in buffers. As a starting point it could just have a single binding, C-c C-e, to evaluate the previous form and display the result in the echo area.

bbatsov commented 7 years ago

I can suggest an alternative route. Keep unrepl.el just a protocol client and simply port on top of it the existing CIDER functionality (which doesn't exclude the possibility of having different simpler clients). This was a fundamental issue with the original nrepl.el - it was both the protocol client and some IDE which was pretty confusing to many people (that's part of the reason I renamed it to CIDER - the other that many people didn't even realize there some some Clojure nREPL and Emacs nREPL.el).

Before I got buried with work my plan for CIDER was to decouple it completely from nREPL and support different connection types (I was thinking of just nREPL and socket repl ATM, but obviously we can have more). In the end nrepl.el would also be just some 3rd-party CIDER dep. That's not particularly hard to do, but unfortunately I have almost no time to work on OSS these days and all my ideas remained just ideas for almost 2 years.

I really want us to avoid the SLIME -> CIDER migration that took 5 years again. Instead of building new tools from scratch it might be much more efficient to make more flexible tools. Just an idea. :)