Fork me on GitHub
#spacemacs
<
2022-02-07
>
practicalli-johnny14:02:31

Practicalli Spacemacs updates • https://practical.li/spacemacs/evaluating-clojure/undefine.html - includes how to do this with Cider commands, Clojure code and clojure.tools.namespace/refresh • https://practical.li/spacemacs/evaluating-clojure/interupt.html - stop long running evaluation process (>1 second) and how to configure a choice of spinner for visual indicator in the REPL buffer

lread14:02:44

Awesome! @U05254DQM I don't know if this tip fits, or even if it is a good one, but when I have a long-running loop, I find temporarily including a (Thread/sleep 1) helps to make requests to interrupt respond quickly.

practicalli-johnny15:02:08

Adding a sleep is a nice idea. If the CPU is getting hammered by the code this would be very useful. I'd add this as a hint somewhere, Thanks.