Some proposed new commands and relevant bindings. Motivation: sometimes, I have a complex window setup, and I want a large new window to work in for a while, taking up a high proportion of the frame. The currently-available interactive commands for splitting windows only operate on the the selected window. For example, I might have a frame with windows like this: ,---- | +---------------------+ | | | | | a | | | | | +---------------------+ | | | | | b | | | | | +---------------------+ `---- And want to have this: #+END_EXAMPLE +---------+-----------+ | | | | a | | | | | +---------+ c | | | | | b | | | | | +---------+-----------+ #+END_EXAMPLE So, I have implemented: - a new optional argument on `split-window-right' and `split-window-below' specifying /which/ window is to be split. This defaults to the selected window. It also has no effect on the interactive use of these functions, since the prefix argument is still used for the SIZE arg. - new commands (implemented using this arg) which split the root window. - bound these commands to `C-x 7' and `C-x 9'. This seemed appropriate, considering that these numbers were free, but the other window-splitting commands are bound to numbers in that map. - (hopefully?) appropriate documentation changes Patches are attached. I don't know if Emacs has conventions for how large commits should be---mine are very atomic. Hope that works, but I could squash them down further and combine the messages if necessary. I haven't edited the NEWS file yet. I wanted to see what the devs think of this and make any necessary changes before doing that. I haven't contributed to the Emacs core before, but I have assigned copyright to the FSF. Certificate attached as well. Thanks Hugo