Fork me on GitHub
#cider
<
2019-01-01
>
bozhidar07:01:27

Yeah, that looks about right.

bozhidar07:01:12

Happy New Year, everyone! May your forms always eval, your CIDER upgrades never fail and your cider-jack-in never explode! Code long and prosper! cider

cider 7
bozhidar10:01:32

The highlights are: * lots of improvements to the new connection management system * some fixes for the changes to the error messages in Clojure 1.10 That’s going to be the final CIDER release that will work with the legacy tools.nrepl, so if you’re a boot or lein user you should definitely upgrade to their latest versions which target the modern nREPL. Cheers!

🎉 4
richiardiandrea16:01:33

Thank you Bozhidar and contributors! May your 2019 contain a lot of happiness and success! 🌈 🎉 cider

Robert Randolph17:01:26

Hello, I've been trying to figure out how to make errors behave better. Error buffers seem to appear in various windows, sometimes changing their size... which is really annoying.

Robert Randolph17:01:38

Is there a way to force cider to use the current window for errors, or a specific window?

bozhidar17:01:53

I guess (add-to-list 'same-window-buffer-name cider-error-buffer) should do the trick.

bozhidar17:01:25

The default behavior comes from Emacs itself - it tries to be smart about the optimal window in which to display a buffer based on your current window arrangement.

Robert Randolph17:01:00

@bozhidar are there any other potential solution for taming where the error buffer ends up? My google-fu has failed me

Robert Randolph17:01:35

I tried using same-window-buffer and it's still unreliable

bozhidar17:01:57

Probably there’s a way, but I haven’t looked at this much.

bozhidar17:01:11

I’ve used Emacs for so long that the default behaviour actually makes sense to me. 😄

Robert Randolph17:01:50

Well, currently I'm writing documentation for 2 repos and have 2 repls open...

Robert Randolph17:01:03

so I end up with cider errors in all sorts of windows 😞

bozhidar17:01:46

You can check out the code in cider-popup.el. I guess cider-popup-buffer-display can be changed in a way where it’s more rigid about where the popups appear.

Robert Randolph17:01:25

hmm, I will look and report back

Robert Randolph17:01:28

it seems that turning off cider-show-error-buffer and using cider-selector works... cider-selector opens cider-error in the current window

Robert Randolph17:01:11

it also doesn't affect the window size like popup does

manuel18:01:58

Probably display-buffer-alist is what you looking for.

Robert Randolph20:01:31

Ahh, that blog post may be helpful

Robert Randolph20:01:39

I'll investigate more tomorrow morning