[emacs-berlin] Mastering Emacs
Diez B. Roggisch
deets at web.de
Fri May 19 09:56:09 UTC 2023
Hey fellow Emacsians,
I've just bought a copy of "Mastering Emacs", first and foremost to
appreciate the author for this article:
https://www.masteringemacs.org/article/demystifying-emacs-window-manager
This has since just a few hours already changed my emacs life. I've
always been annoyed by process buffers (compilation, ripgrep/deadgrep,
etc) getting their own window, destroying my C-x 0, 1, 2, 3 - based
window arrangement. Since this morning I'm using the following tiny
snippet to manage (for now just a bottom) side windows:
(setq switch-to-buffer-obey-display-actions t)
;; Introduce a bottom side window that catches
;; compilations, deadgreps etc.
(add-to-list 'display-buffer-alist
'("\\*deadgrep.*\\|\\*Compilation\\*"
(display-buffer-in-side-window)
(side . bottom)
(slot . 0)
(window-parameters
(no-delete-other-windows . t))))
;; Remove our side-windows
(global-set-key (read-kbd-macro "C-x w") 'window-toggle-side-windows)
Life-changing for me. The rex was created with buffer list view and
re-builder, the latter I also learned from the author of the book. I'm
sure there's plenty of more stuff to discover once I dive deeper into
the e-book! Which I read with 'nov-mode' now courtesy to his suggestion ;)
Just wanted to make you aware of the website, the Emacs functionality,
and the book so you can share my enjoyment.
Happy hacking,
Diez
More information about the emacs-berlin
mailing list