Emacs: Effective Windows Management
There are 2 workflow with windows in emacs with large monitor.
Full Screen, vs Multiple Windows.
Full Screen Emacs Workflow
Recently, Jon Snader (aka jcs) mentioned ace-windows mode, see: http://irreal.org/blog/?p=2699.
Ace Windows is at [2017-11-23 https://github.com/abo-abo/ace-window ]
The ace windows mode lets you quickly move cursor to the split pane you want. When invoked, it displays a letter in each split pane, and pressing that key moves you into that pane.

meh.
The fullscreen workflow is not good because:
- You have to constantly fix your carefully created split-windows config. Because, any emacs output such as Alt+x
describe-function
will often disrupt it. - You also have to keep vigil on which file shows in which pane.
There are various packages that help you “reset” your windows config. But they just add more work to your fingers.
[see Emacs: Save Split Windows Configuration]
Multi-Window Emacs Workflow
A much better workflow, is multiple windows.

When you start emacs, create 2 windows side-by-side.
In this workflow, you control windows, not split-panes.
It's better because:
- The operating system provides much more powerful command and keys to control window geometry. (for example, in Mac, you have “mission control”, in linux, you have various window managers, in Windows you have various key shortcuts to switch/align windows.)
- Emacs will not change your window size or close it. No split-pane config problem.
- Now you can split/unsplit panes in emacs for many purposes, such as viewing different parts of the same file.
- Now you can exploit creating new windows (aka new emacs frame) just for working on a sub-task, then close it when done.
For this workflow to work efficiently, you must also:
- define a system-wide easy key to switch to emacs, such as F9.
- define a easy key such as F8 to switch among emacs's windows. That is, bind a key to the command
other-frame
. [see Emacs: How to Define Keys]
[see How to Set Key to Switch to Emacs]
IMPORTANT: these 2 keys must be easy keys, because you'll need to call them frequently.
Once you have these keys, you can easily switch to any app or any specific window.
Your windows always stay the way you want, and nothing's going to close them or change their size.
But also, now you can constantly split/unsplit a window at will, close any split emacs pops up. Using split to view different areas of a file, or use split to keep cursor position. I split/unsplit about every few minutes. Note: you should also have easy keys to split and unsplit windows. On a standard PC keyboard, {Alt+4, Alt+3} works well.
See also: Programer Workflow Efficiency