Prev: Mode Line Variables Up: Mode Line Format
`%'-Constructs in the Mode Line
The following table lists the recognized `%'-constructs and what
the current buffer name, using the `buffer-name' function.
the visited file name, using the `buffer-file-name' function.
`%' if the buffer is read only (see `buffer-read-only');
`*' if the buffer is modified (see `buffer-modified-p');
the status of the subprocess belonging to the current buffer, using
the current line number.
the name of the selected screen; this is only meaningful under the
X Window System. Note: Screen Name.
the percent of the buffer above the top of window, or `Top',
`Bottom' or `All'.
`Narrow' when narrowing is in effect; nothing otherwise (see
`narrow-to-region' in Note: Narrowing).
an indication of the depth of recursive editing levels (not
counting minibuffer levels): one `[' for each editing level.
one `]' for each recursive editing level (not counting minibuffer
the character `%'--this is how to include a literal `%' in a
string in which `%'-constructs are allowed.
dashes sufficient to fill the remainder of the mode line.
The following two `%'-constructs are still supported but are
obsolete since use of the `mode-name' and `global-mode-string'
variables will produce the same results.
the value of `mode-name'.
the value of `global-mode-string'. Currently, only `display-time'
modifies the value of `global-mode-string'.
automatically generated by info2www