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
    Commented Sep 25, 2019 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) Commented Sep 25, 2019 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
    Commented Sep 25, 2019 at 15:07


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.