This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-02-15
Channels
- # announcements (1)
- # babashka (1)
- # beginners (43)
- # cider (2)
- # clj-kondo (29)
- # clojure (61)
- # clojure-austin (18)
- # clojure-dev (7)
- # clojure-europe (30)
- # clojure-nl (1)
- # clojure-norway (23)
- # clojure-uk (5)
- # clojuredesign-podcast (8)
- # cloverage (1)
- # conjure (1)
- # data-science (1)
- # datahike (36)
- # datavis (1)
- # datomic (23)
- # emacs (14)
- # hyperfiddle (28)
- # lsp (5)
- # missionary (1)
- # music (1)
- # off-topic (11)
- # re-frame (11)
- # reitit (5)
- # releases (1)
- # shadow-cljs (65)
- # spacemacs (13)
- # squint (33)
- # tools-deps (56)
Any thoughts on how to make Emacs' window management less random? I never know which window it's going to use to display a new buffer. It sometimes opens things in the current window, sometimes in another one. I tried dedicated-mode to stop it replacing the current window but I still have no control over which window it uses. And sometimes it splits windows instead of re-purposing them. Seemingly according to some arbitrary logic which might-as-well be random as far as I can tell.
https://www.masteringemacs.org/article/demystifying-emacs-window-manager and https://www.youtube.com/watch?v=1-UIzYPn38s might offer some tips
thanks lassemaatta. I'll take a look at those
shackle will allow you to set rules on what should be displayed where, popper on the other hand has this concept of pop buffers that can be quickly burried/spawned (great for repls/consoles & whatnot). popper also can group pop buffers per context (ex via project.el context) and also gives consistent positioning of these buffers
I personally only use popper nowadays, but shackle is great if you want positioning/sizing to be more strict.
There is also a nuclear option of customizing pop-up-windows
to nil
. Once you do that, new windows will no longer be created by po-up buffers. So, if you keep a single window, that one will be used all the time. There are some occasional annoyances because of it, but overall I've been living happy with this option for 15 years.
https://youtu.be/1-UIzYPn38s?feature=shared may help shed more light
lots for me to look at then. thanks all