Christophe Grand

Results 212 comments of Christophe Grand

First the use `main/repl` by `interruptible-eval` is unrelated to the problem. I'm indeed familiar with the issue of subrepls -- unrepl being a "subrepl". The core of the issue is...

> Not supported for the benefit of the user. Is it that difficult for a client buffer to go in “dummy mode”? With a banner at the top and at...

@SevereOverfl0w so this client doesn't handle `:need-input` for example? Or what happen if the evaluation takes a long time? Also I believe things have changed on the vim side since...

I had this vague idea over the weekend: if `clojure.main/repl` (or something like that) was dynamic *and* subrepls author sticked to it to implement other repls then host repls could...

@TimoFreiberg: > Woops, the repl function is in clojure.main and not static. Yeah, I checked before my previous post. Still, altering the root a builtin var is a bit too...

- [X] import the printer - [ ] port elision storage

I have to think more through it: elided printing requires a session for elision storage.

> I guess we can easily extend this to other types like images, urls and so on. That'd be pretty cool! It was already supported.

So I need to make the session available to the print function. Dynamic binding doesn't fit with nrepl design. Maybe a `:contextual-printer` option that would works like `: printer` except...

Simpler change: add the session to the `:print-options` map