u/daviwilSystem Craftersin r/emacs • Recommends
Hey Emacs! Don't Move My Windows! - Customizing display-buffer's behavior
#emacs#display-buffer#emacs-lisp
39K subscribers • 42 videos on Hallway
Intermediate. Assumes working knowledge.
12K views5 years ago1 recommendation
Tools and practiceVim, Emacs and editors
Learn how Emacs determines which window displays a buffer and how to customize this behavior to preserve your layouts.
In this video, I'll explain how Emacs' display-buffer function is used to determine which window (or frame!) gets used to display a buffer. This is useful when you want to prevent Emacs from breaking your perfectly-organized window layouts! I'll go through many of the built-in "display action" functions to explain how they work. We'll conclude the video by changing our configuration to prevent popup windows from being created and to cause Org Mode and Help buffers to reuse windows containing other buffers for those modes! Keep an eye out for the next video where we will cover display-buffer-alist and custom display action functions! Show notes: github.com/daviwil/emacs-from-scratch/blob/master/show-notes… Chapters - Intro - Popup windows are annoying. - How display-buffer works - What is an action function? - A tour of action function parameters - Examining the default placement actions - Overriding the default placement actions - What's next? My Emacs configuration: github.com/daviwil/dotfiles/blob/master/Emacs.org If you enjoy this series, please consider becoming a sponsor on GitHub or Patreon: - github.com/sponsors/daviwil - patreon.com/SystemCrafters You can also leave a tip via PayPal: paypal.me/daviwil Follow me on Twitter for more Emacs content! twitter.com/SystemCrafters Chat with the System Crafters community on Discord: discord.gg/yVD8Gx6 Intro music: Coriolis Effect by logos feat. stefsax, licensed CC-BY ccmixter.org/files/mseq/26296What people say. Recommended for learning how to control window placement and popups in Emacs.
u/daviwilSystem Craftersin r/emacs • Recommends