Buy the book!
|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
Starting in Emacs 21, certain text properties are meaningful in the
mode line. The
face property affects the appearance of text; the
help-echo property associate help strings with the text, and
local-map can make the text mouse-sensitive.
There are three ways to specify text properties for text in the mode line:
local-mapproperty directly into the mode-line data structure.
local-mapproperty on a mode-line %-construct such as `%12b'; then the expansion of the %-construct will have that same text property.
:eval formin the mode-line data structure, and make form evaluate to a string that has a
You use the
local-map property to specify a keymap. Like any
keymap, it can bind character keys and function keys; but that has no
effect, since it is impossible to move point into the mode line. This
keymap can only take real effect for mouse clicks.
|webmaster donations bookstore||delorie software privacy|
|Copyright © 2003 by The Free Software Foundation||Updated Jun 2003|