Fork me on GitHub
#cider
<
2022-12-23
>
bozhidar06:12:35

@jmv305 I don’t recall any frame-related settings, so this might be some bug worth reporting. Admittedly I never use multiple frames, so I don’t test such scenarios. There are some workaround ideas here https://docs.cider.mx/cider/usage/dealing_with_errors.html

gratitude-thank-you 1
bozhidar06:12:51

(e.g. you can display the errors as overlay only)

pmooser10:12:52

I'm having a problem ever since upgrading with 1.6.0, where my REPLs don't work (both clj and cljs) - when I hit return, it's as if nothing is ever being sent to the connected process (so the cider repl buffer just hangs there).

pavlosmelissinos15:12:27

It's a paredit issue! https://paredit.org/cgit/paredit/commit/?id=5615023023aea50683f5725284fb9bc6cbbd64ec There have been some threads about this: • https://clojurians.slack.com/archives/C0617A8PQ/p1669499882069549https://clojurians.slack.com/archives/C0617A8PQ/p1669784037979889https://clojurians.slack.com/archives/C0617A8PQ/p1669887613502019 You can a) disable paredit in REPL buffers, b) use C-RET instead, c) unbind paredit-RET (like you said) or d) ask the paredit author to remove the default binding. What would you consider a "right" fix? > I'm not quite sure how to debug it otherwise I depend a lot on describe-key to find out what keys I press do. It's quite handy! Also could you please use threads to keep conversations tidy? 🙂

pmooser10:12:21

This can't possibly be a widespread problem, but I've removed and reinstalled it, but I'm not quite sure how to debug it otherwise.

🧵 1
pmooser10:12:49

It's something in my configuration ...

🧵 1
pmooser10:12:16

Ah ok. My return is sending paredit-RET, whereas evidently it needs to be sending cider-repl-return. Not sure what changed.

🧵 1
pmooser10:12:18

I don't specifically bind paredit-RET myself - I'd love any advice from someone who knows the "right" fix to this, rather than me manually making a keymap entry to override the paredit one.

🧵 1
pmooser10:12:33

Evidently my emacs/elisp isn't quite good enough to force overriding that in cider-repl-mode.

🧵 1
pmooser10:12:08

I can't believe how hard simple things in emacs still are.

ric18:12:28

I added a new dependency in deps.edn. I expected that cider-jack-in-clj would include it in the startup string and download it, but it didn't. How to debug?

frank18:12:13

did you add that dependency under an alias?

frank18:12:59

adding a dependency in deps.edn shouldn't affect the startup string

frank18:12:15

but your dep should be downloaded if it wasn't added under an alias

thanks2 1
ric18:12:57

I added at the root:

{:deps
 {net.mikera/core.matrix {:mvn/version "0.63.0"}}

ric18:12:42

> adding a dependency in deps.edn shouldn't affect the startup string oh? how does it download it then? I thought clj is the one that does all the magic, and that is managed through the startup string.

dorab18:12:19

Cider just starts clojure. Clojure then does whatever downloads it needs.

ric18:12:21

ah I see.. -Sdeps merges with me deps.edn then

ric18:12:09

So I suppose cider is not finding my deps.edn

dorab18:12:31

The startup string would be changed (and you'd have to change it explicitly) if you wanted to use a different alias.

dorab18:12:09

One way to debug is to try running the clj command from the shell prompt and see what happens.

ric18:12:30

ah! I forced projectile to use the correct path, now it's working.

dorab18:12:48

Great. Glad it worked out.

thanks2 1
ric18:12:15

new to emacs, it's a bit confusing heh

ric18:12:26

thanks folks