WindowsEach window displays a buffer in a particular view.
| X | A window can be switched to display a different buffer by switch-to-buffer and can be duplicated by split-current-window; windows are deleted by delete-other-windows and delete-window. |
| MS | A window can be selected from the list displayed by show-buffer and can be duplicated by duplicate-window; windows are deleted by close-other-windows and close-window. |
The general form of a window name is b[v]-i, where b is the name of the displayed buffer, v is the view in which the buffer is displayed, and i is an integer chosen so that multiple windows displaying the same buffer have unique names. The syllable [v] is omitted if the view is BASEVIEW and the syllable -i is omitted unless needed to provide unique window names.
From top to bottom, each window can have a title bar, menu bar, tool pane, object pane, command pane,
| X | context pane, |
and status pane.
| X | Grips separate some panes and provide a resizing mechanism. |
Various panes are optional, and commands are provided to create and eliminate them. Depending on customization, some panes may be omitted by default.
Title bar. The exact format of the title bar depends on the window manager being used. The title bar displays the window name and whether the buffer is read-only; it also contains graphical symbols that control window iconification and resizing.
Menu bar. The menu bar presents a top-level selection of command choices. Each menu item displays the command's primary keybinding, if it has any. Depending on customizations, the menu bar may also contain a list of the currently enabled transforms.
Tool pane.
| MS | Icons for frequently used commands appear here. Examples are a floppy disk for save, and a printer for print. |
Object pane. The object pane displays the object contained in a buffer. It is an upwards-compatible extension of an X text widget that supports structural as well as textual navigation and editing.
Command pane. The command pane contains a text field for entering command names.
Context pane.
| X | The context pane contains context-sensitive commands: (a) there is a graphical button for each optional unexpanded syntactic element at the location of the insertion cursorclicking Select on such a button inserts a placeholder for the given optional element and moves the structural selection to that element; (b) there is a graphical button for each enabled transformclicking Select on such a button invokes the given transform; (c) whenever the structural selection cannot be determined unambiguously from the insertion cursor, there are graphical buttons for commands left-select and right-select. |
Status pane. The status pane contains (a) error and advisory messages; (b) the syntactic category of the structural selection. The arrow buttons on the left are used to scroll the list of error and advisory messages.
A window is resized in a manner specific to the window manager in use. A pane is resized by pressing Select on a grip (the box on the right) separating two panes and sliding it up or down. The use of scroll bars is described in Navigation by Scrolling.
Commands for windows are: