Next: Imenu, Previous: Minor Modes, Up: Modes [Contents][Index]
Each Emacs window (aside from minibuffer windows) typically has a mode line at the bottom, which displays status information about the buffer displayed in the window. The mode line contains information about the buffer, such as its name, associated file, depth of recursive editing, and major and minor modes. A window can also have a header line, which is much like the mode line but appears at the top of the window.
This section describes how to control the contents of the mode line and header line. We include it in this chapter because much of the information displayed in the mode line relates to the enabled major and minor modes.
• Base: | Basic ideas of mode line control. | |
• Data: | The data structure that controls the mode line. | |
• Top: | The top level variable, mode-line-format. | |
• Mode Line Variables: | Variables used in that data structure. | |
• %-Constructs: | Putting information into a mode line. | |
• Properties in Mode: | Using text properties in the mode line. | |
• Header Lines: | Like a mode line, but at the top. | |
• Emulating Mode Line: | Formatting text as the mode line would. |