This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-24
Channels
- # announcements (5)
- # aws (5)
- # aws-lambda (6)
- # babashka (6)
- # beginners (48)
- # calva (54)
- # clj-commons (12)
- # clj-kondo (39)
- # cljfx (3)
- # cljs-dev (11)
- # clojure (91)
- # clojure-europe (25)
- # clojure-uk (3)
- # clojurescript (16)
- # cursive (2)
- # data-oriented-programming (6)
- # datomic (8)
- # emacs (10)
- # events (3)
- # fulcro (2)
- # functionalprogramming (2)
- # graalvm (4)
- # graphql (2)
- # helix (1)
- # honeysql (4)
- # jobs (1)
- # malli (4)
- # nextjournal (21)
- # off-topic (5)
- # other-languages (4)
- # overtone (3)
- # reitit (17)
- # releases (2)
- # rewrite-clj (6)
- # ring (6)
- # shadow-cljs (37)
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?
I’m not convinced it’s cider that’s the problem
probably another package or piece of config
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?
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
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)
If helpful, this book documents how I use CIDER and Spacemacs for Clojure development and more general editing https://practical.li/spacemacs/