This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-01
Channels
- # announcements (2)
- # aws (27)
- # beginners (67)
- # boot-dev (1)
- # cider (25)
- # cljs-dev (6)
- # clojure (192)
- # clojure-europe (1)
- # clojure-gamedev (1)
- # clojure-italy (4)
- # clojure-nl (2)
- # clojure-russia (1)
- # clojure-spec (9)
- # clojure-uk (12)
- # clojurescript (41)
- # cursive (1)
- # datomic (22)
- # figwheel-main (4)
- # funcool (1)
- # hoplon (1)
- # kaocha (11)
- # klipse (7)
- # off-topic (1)
- # overtone (1)
- # pathom (24)
- # portkey (9)
- # re-frame (129)
- # reagent (3)
- # rum (1)
- # spacemacs (1)
- # specter (6)
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!
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!
Thank you Bozhidar and contributors! May your 2019 contain a lot of happiness and success! 🌈 🎉
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.
Is there a way to force cider to use the current window for errors, or a specific window?
I guess (add-to-list 'same-window-buffer-name cider-error-buffer)
should do the trick.
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.
@bozhidar are there any other potential solution for taming where the error buffer ends up? My google-fu has failed me
I tried using same-window-buffer and it's still unreliable
I’ve used Emacs for so long that the default behaviour actually makes sense to me. 😄
Well, currently I'm writing documentation for 2 repos and have 2 repls open...
so I end up with cider errors in all sorts of windows 😞
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.
hmm, I will look and report back
it seems that turning off cider-show-error-buffer and using cider-selector works... cider-selector opens cider-error in the current window
it also doesn't affect the window size like popup does
Yeah, probably you’re right. More details here https://www.gnu.org/software/emacs/manual/html_node/elisp/Choosing-Window.html
And some practical examples here https://swsnr.de/blog/2015/04/29/configure-buffer-display/
Ahh, that blog post may be helpful
thank you
I'll investigate more tomorrow morning