On June 30, 2020 7:04:57 PM GMT+02:00, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
I have been reading this site:
https://christiantietze.de/posts/2019/10/emacs-quit-special-windows/
and I am wondering why we don't provide an option to enable this
behaviour by default in some cases without needing the "hack" in the
link. It doesn't seems to be too complex to implement right?
What do you mean by "this behavior"?
I just tried
emacs -Q
M-x compile
..select the compilation window...
q
and sure enough I was back to a single-window setup.
So, IIUC we already provide "this behavior".
I know it is just a detail, but in some cases (like when using man or
compile mode, or reading a function documentation, or after executing
magit commands) it doesn't make sense to keep the buffer in the buffer
list after pressing q in 90% of the times.
I don't understand the connection with the previous paragraph.
Stefan