I use Emacs as a single maximized frame. The monitor is wide enough for two windows to sit together there, with a vertical split. I want this window configuration to be permanent, i.e.:

  1. I want it to be impossible to delete either of the two child windows (except for by my explicit request or something) and
  2. I want it to be impossible to split the root window (i.e., add another child, in addition to the existing 2).

IOW, I want it to be impossible to change (add or remove) children of the root window.

How do I do that?

  • This is not an answer, but would the functions window-configuration-to-register 'C-x r w' and jump-to-register 'C-x r j' be of any use?
    – user16762
    Sep 25 '19 at 10:13
  • emacs.stackexchange.com/q/2710/17548 speaking about layout. more about registering and related packages ( not directly answering but a good resource) Sep 25 '19 at 11:05
  • Inasmuch as my workflow remains basically the same through the years, I have created functions that generate certain buffers without displaying them. Then, I either display them in a specific way all of the time, or assign them to my own custom display buffer function: stackoverflow.com/questions/18346785/… For example, let us take the popular opening of a shell or eshell buffer -- we create the buffer without displaying and then display however we want subsequent to creation: emacs.stackexchange.com/a/28924/2287
    – lawlist
    Sep 25 '19 at 15:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.