Fork me on GitHub
#cider
<
2017-08-19
>
bbss04:08:20

is there a way to "go back" when using the cider-inspect-last-result ?

volrath14:08:24

I believe l does the trick

bja15:08:35

this doc string

Change *out*, *err*, System/out and System/err to print on sessions
  in addition to process out.
claims that it does what I want

bja15:08:54

which is to go to both my repl AND the process's usual stdout

bja15:08:00

but I haven't observed it actually working

bja15:08:13

I only get output in my repl

bja15:08:48

possible that this is a weird interaction between my logging library and *out* rebinding

bja15:08:13

thanks for the pointer @dominicm

martinklepsch18:08:52

I got the insertion bit working but the return stuff isn’t as clear to me

martinklepsch18:08:17

I tried putting a linebreak after my to be evaluated form which results in the cursor being placed on the next line but not “submitting” the form for evaluation

Lambda/Sierra18:08:35

@martinklepsch Isn't inf-clojure based on comint? Mayber there's a comint-return or comint-enter function.

Lambda/Sierra18:08:33

I'd also like that for cider-repl: Eval expression as input to REPL, exactly as if I'd typed it into the REPL buffer.

Lambda/Sierra18:08:44

@martinklepsch comint-send-input is it, I think

martinklepsch19:08:16

@stuartsierra that works, magic! 🙂

martinklepsch19:08:20

thanks a lot 🙂

Lambda/Sierra19:08:04

you're welcome