This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-21
Channels
- # arachne (21)
- # beginners (22)
- # boot (58)
- # cider (27)
- # cljs-dev (67)
- # cljsjs (10)
- # cljsrn (13)
- # clojure (91)
- # clojure-greece (6)
- # clojure-russia (1)
- # clojure-uk (6)
- # clojurescript (6)
- # core-async (3)
- # cursive (6)
- # datomic (3)
- # events (2)
- # hoplon (152)
- # off-topic (44)
- # om (8)
- # om-next (7)
- # onyx (16)
- # protorepl (10)
- # re-frame (10)
- # reagent (22)
- # untangled (5)
@jfntn Yeah, Issue 228 is indeed related. I'm relatively certain that the current REPL can be tuned to handle better large text as SLIME definitely worked better in such situations. As for comint - after some consideration probably trying to use it doesn't make sense and we'd be better off trying to polish and extend our custom REPL instead.
@bozhidar indeed I looked at comint and it is designed to work directly with a process, it’s not clear how that would work with the callback-based nrepl client
originally we just copied to the SLIME REPL code to cider with some small adjustments here and there
the repl part of the code didn't really evolve much as there was always this idea to try to use comint
while it's designed mostly to wrap a local repl process it can be used to power a "network" repl for sure
few years ago I had way more free time and I was bold with my ideas, lately I've been way more modest 🙂
My understanding of both comint and cider’s internals is pretty limited, but from what I gather it’d require some non-trivial changes to the nrepl client as well
I don't think so - that's some low-level communication stuff. Basically the biggest change would be attaching the network connection process to comint (as opposed to our custom REPL buffer right now).
I need some testers for a new completion mechanism we're working on - see https://github.com/clojure-emacs/cider/pull/1910 and comment there if it works as expected for you (or doesn't work for some reason)
@bozhidar : I have lost track of the # of hours I have spent configuring cider. Where can I send you the bill?
https://www.youtube.com/watch?v=8wLwbpCxRf0 <-- this was an amazingly insightful talk; is there a list of recommended screencasts of pros working in cider? I'm thinking something similar to http://www.parens-of-the-dead.com/ , but dedicated to showcasing cider features.
@qqq I don't think there are many such resources. @malabarba and me planned to work on some screencasts, but we never actually found time for them.
as far aas i can tell this is the only deviation from the bijection of session and connection
(defun cider-close-nrepl-session ()
"Close an nREPL session for the current connection."
(interactive)
(cider-ensure-connected)
(let ((selected-session (completing-read "Close nREPL session: " (nrepl-sessions (cider-current-connection)))))
(when selected-session
(nrepl-sync-request:close (cider-current-connection) selected-session)
(message "Closed nREPL session %s" selected-session))))