Fork me on GitHub
#emacs
<
2015-11-10
>
nha16:11:48

What could be the cause of C-c C-e ie inf-clojure-eval-last-sexp failing with "No Clojure Subprocess; see variable 'inf-clojure-buffer'", knowing that cider C-c M-e ie cider-eval-last-sexp-to-repl works (started a repl via lein repl, connected via cider-connect )?

nha16:11:33

hmm nevermind I restarted emacs seems to work

bozhidar21:11:57

why would you mix inf-clojure and cider?

bozhidar21:11:39

they work in a totally different manner - cider interactions with an nREPL server and inf-clojure simply pipes input to a running local REPL process

bozhidar21:11:55

and processes its output

nha22:11:20

Well I really like the way C-c C-e behaves visually (shows the result of the evaluation next to the line), and this is what I want most of the time. Unless there is something in cider that I should use for that ?

nha22:11:02

(mostly I wasn't aware of the general idea though)