1220 |
buffer, such as its name, associated file, depth of recursive editing, |
buffer, such as its name, associated file, depth of recursive editing, |
1221 |
and major and minor modes. A window can also have a @dfn{header |
and major and minor modes. A window can also have a @dfn{header |
1222 |
line}, which is much like the mode line but appears at the top of the |
line}, which is much like the mode line but appears at the top of the |
1223 |
window (starting in Emacs 21). |
window. |
1224 |
|
|
1225 |
This section describes how to control the contents of the mode line |
This section describes how to control the contents of the mode line |
1226 |
and header line. We include it in this chapter because much of the |
and header line. We include it in this chapter because much of the |
1295 |
where they appear. |
where they appear. |
1296 |
|
|
1297 |
If you set this variable to @code{nil} in a buffer, that buffer does not |
If you set this variable to @code{nil} in a buffer, that buffer does not |
1298 |
have a mode line. (This feature was added in Emacs 21.) |
have a mode line. |
1299 |
@end defvar |
@end defvar |
1300 |
|
|
1301 |
A mode-line construct may be as simple as a fixed string of text, but |
A mode-line construct may be as simple as a fixed string of text, but |
1349 |
@item (:eval @var{form}) |
@item (:eval @var{form}) |
1350 |
A list whose first element is the symbol @code{:eval} says to evaluate |
A list whose first element is the symbol @code{:eval} says to evaluate |
1351 |
@var{form}, and use the result as a string to display. |
@var{form}, and use the result as a string to display. |
|
(This feature is new as of Emacs 21.) |
|
1352 |
|
|
1353 |
@item (:propertize @var{elt} @var{props}@dots{}) |
@item (:propertize @var{elt} @var{props}@dots{}) |
1354 |
A list whose first element is the symbol @code{:propertize} says to |
A list whose first element is the symbol @code{:propertize} says to |
1712 |
@subsection Properties in the Mode Line |
@subsection Properties in the Mode Line |
1713 |
@cindex text properties in the mode line |
@cindex text properties in the mode line |
1714 |
|
|
1715 |
Starting in Emacs 21, certain text properties are meaningful in the |
Certain text properties are meaningful in the |
1716 |
mode line. The @code{face} property affects the appearance of text; the |
mode line. The @code{face} property affects the appearance of text; the |
1717 |
@code{help-echo} property associate help strings with the text, and |
@code{help-echo} property associate help strings with the text, and |
1718 |
@code{local-map} can make the text mouse-sensitive. |
@code{local-map} can make the text mouse-sensitive. |
1756 |
@cindex header line (of a window) |
@cindex header line (of a window) |
1757 |
@cindex window header line |
@cindex window header line |
1758 |
|
|
1759 |
Starting in Emacs 21, a window can have a @dfn{header line} at the |
A window can have a @dfn{header line} at the |
1760 |
top, just as it can have a mode line at the bottom. The header line |
top, just as it can have a mode line at the bottom. The header line |
1761 |
feature works just like the mode-line feature, except that it's |
feature works just like the mode-line feature, except that it's |
1762 |
controlled by different variables. |
controlled by different variables. |