Fork me on GitHub
#emacs
<
2022-02-24
>
rickmoynihan12:02:16

Can anyone help debug this issue I’m getting using clojure in Emacs/cider … When I run cider-find-dwim on a symbol for a dep I haven’t visited the definition of yet, I get prompts like this: > Directory ‘/Users/rick/.m2/repository/com/github/oliyh/martian/0.1.20/martian-0.1.20.jar:martian/’ does not exist; create? (y or n) n If I respond n a few times and then repeat the cider-find-dwim command it works. Any ideas what might be causing it?

vemv14:02:21

Doesn't ring a bell, feel free to create an issue

rickmoynihan16:02:01

I’m not convinced it’s cider that’s the problem

rickmoynihan16:02:14

probably another package or piece of config

Nathan Rogers14:02:00

Hello, I mentioned in #beginners that since beginning the Clojure Applied book, I have encountered numerous Emacs crashes. This seems inexplicable as I never seem to encounter Emacs crashing. Does anyone have any information on known issues, or have others experienced similar behavior?

Benjamin14:02:45

https://emacs.stackexchange.com/questions/21643/what-do-i-do-when-emacs-is-frozen it freezes this can help. Else the only real generic advice is to go from a minimal config and enable config/ packages 1 by 1

practicalli-johnny15:02:31

I've been using CIDER with Emacs commercially for many years and only ever experienced crashes an occasional nightly build of Emacs. As well as running the Emacs debugger, also try running the Emacs profiler. As suggested, try a minimalist config, or try Spacemacs, Doom or prelude community configurations (each of which support Clojure easily)

practicalli-johnny15:02:43

If helpful, this book documents how I use CIDER and Spacemacs for Clojure development and more general editing https://practical.li/spacemacs/

vemv16:02:17

could be the choice of emacs binary in question? emacsformacosx tends to the the most stable choice in Mac. Others can add extra tweaks which are nice but also a little more prone to weird issues

vemv16:02:44

also could be arm vs intel if you're on mac