Fork me on GitHub
#cider
<
2021-06-10
>
Chris K02:06:26

Hello I'm using doom emacs and cider for clojure and for some reason, if I run cider on certain directories, emacs will go crazy and use 100% of my cpu, the cider repl will also not open

bozhidar05:06:42

@sunchaesk It's best to start here https://docs.cider.mx/cider/troubleshooting.html and try to get more information about the nature of the problem.

bozhidar05:06:24

Likely you've encountered some bug in the jack-in logic, but we need more info to identify it.

daemianmack12:06:53

i make heavy use of cider-switch-to-repl-buffer with the universal argument to change the CIDER REPL namespace to the namespace of my current CLJ buffer, then move cursor to the REPL. the other day i did something in emacs without meaning to that did the inverse -- my REPL namespace was foo and i was displaying CLJ buffer bar but i hit some mystery keystroke by accident that moved the cursor to the CLJ buffer representing the bar namespace. i can't find any CIDER fn that purports to do this. did i just imagine it? is there such a facility built-in?

jcsims20:06:29

maybe cider-switch-to-last-clojure-buffer? In the repl, that's bound to the same C-c C-z keybinding that cider-switch-to-repl-buffer is bound to in a clojure buffer