diff options
| author | Juri Linkov | 2005-08-22 21:35:07 +0000 |
|---|---|---|
| committer | Juri Linkov | 2005-08-22 21:35:07 +0000 |
| commit | 3b91a16de495d1ee8a6c36ef6bfca301837fc005 (patch) | |
| tree | 0ca461b1d860a3eff031d4b81c3473bfeda047f7 | |
| parent | c29a63fd64c5cf8274544b59359f0dfa86af3a58 (diff) | |
| download | emacs-3b91a16de495d1ee8a6c36ef6bfca301837fc005.tar.gz emacs-3b91a16de495d1ee8a6c36ef6bfca301837fc005.zip | |
(Standard Faces): Merge the text from `(elisp)Standard Faces' into this node.
| -rw-r--r-- | man/display.texi | 48 |
1 files changed, 31 insertions, 17 deletions
diff --git a/man/display.texi b/man/display.texi index 6422cbf4eaa..58e69ad4e60 100644 --- a/man/display.texi +++ b/man/display.texi | |||
| @@ -104,14 +104,18 @@ future Emacs versions. | |||
| 104 | To see what faces are currently defined, and what they look like, | 104 | To see what faces are currently defined, and what they look like, |
| 105 | type @kbd{M-x list-faces-display}. It's possible for a given face to | 105 | type @kbd{M-x list-faces-display}. It's possible for a given face to |
| 106 | look different in different frames; this command shows the appearance | 106 | look different in different frames; this command shows the appearance |
| 107 | in the frame in which you type it. Here are the standard faces | 107 | in the frame in which you type it. |
| 108 | for specifying text appearance: | 108 | |
| 109 | Here are the standard faces for specifying text appearance. You can | ||
| 110 | use them on specific text, when you want the effects they produce. | ||
| 109 | 111 | ||
| 110 | @table @code | 112 | @table @code |
| 111 | @item default | 113 | @item default |
| 112 | This face is used for ordinary text that doesn't specify any other face. | 114 | This face is used for ordinary text that doesn't specify any other face. |
| 113 | @item bold | 115 | @item bold |
| 114 | This face uses a bold variant of the default font, if it has one. | 116 | This face uses a bold variant of the default font, if it has one. |
| 117 | It's up to you to choose a default font that has a bold variant, | ||
| 118 | if you want to use one. | ||
| 115 | @item italic | 119 | @item italic |
| 116 | This face uses an italic variant of the default font, if it has one. | 120 | This face uses an italic variant of the default font, if it has one. |
| 117 | @item bold-italic | 121 | @item bold-italic |
| @@ -119,9 +123,15 @@ This face uses a bold italic variant of the default font, if it has one. | |||
| 119 | @item underline | 123 | @item underline |
| 120 | This face underlines text. | 124 | This face underlines text. |
| 121 | @item fixed-pitch | 125 | @item fixed-pitch |
| 122 | The basic fixed-pitch face. | 126 | This face forces use of a particular fixed-width font. |
| 123 | @item variable-pitch | 127 | @item variable-pitch |
| 124 | The basic variable-pitch face. | 128 | This face forces use of a particular variable-width font. It's |
| 129 | reasonable to customize this to use a different variable-width font, | ||
| 130 | if you like, but you should not make it a fixed-width font. | ||
| 131 | @item shadow | ||
| 132 | This face is used for making the text less noticeable than the surrounding | ||
| 133 | ordinary text. Usually this can be achieved by using shades of gray in | ||
| 134 | contrast with either black or white default foreground color. | ||
| 125 | @end table | 135 | @end table |
| 126 | 136 | ||
| 127 | Here's an incomplete list of faces used to highlight parts of the | 137 | Here's an incomplete list of faces used to highlight parts of the |
| @@ -146,19 +156,15 @@ mode is enabled---see below). | |||
| 146 | This face is used for displaying a secondary X selection (@pxref{Secondary | 156 | This face is used for displaying a secondary X selection (@pxref{Secondary |
| 147 | Selection}). | 157 | Selection}). |
| 148 | @item trailing-whitespace | 158 | @item trailing-whitespace |
| 149 | The face for highlighting trailing whitespace when | 159 | The face for highlighting excess spaces and tabs at the end of a line |
| 150 | @code{show-trailing-whitespace} is non-@code{nil}; see @ref{Useless | 160 | when @code{show-trailing-whitespace} is non-@code{nil}; see |
| 151 | Whitespace}. | 161 | @ref{Useless Whitespace}. |
| 152 | @item nobreak-space | 162 | @item nobreak-space |
| 153 | The face for displaying the character ``nobreak space''. | 163 | The face for displaying the character ``nobreak space''. |
| 154 | @item escape-glyph | 164 | @item escape-glyph |
| 155 | The face for highlighting the @samp{\} or @samp{^} that indicates | 165 | The face for highlighting the @samp{\} or @samp{^} that indicates |
| 156 | a control character. It's also used when @samp{\} indicates a | 166 | a control character. It's also used when @samp{\} indicates a |
| 157 | nobreak space or nobreak (soft) hyphen. | 167 | nobreak space or nobreak (soft) hyphen. |
| 158 | @item shadow | ||
| 159 | The basic face for making the text less noticeable than the surrounding | ||
| 160 | ordinary text. Usually this is achieved by using shades of grey in | ||
| 161 | contrast with either black or white default foreground color. | ||
| 162 | @end table | 168 | @end table |
| 163 | 169 | ||
| 164 | @cindex @code{region} face | 170 | @cindex @code{region} face |
| @@ -175,10 +181,13 @@ appearance of these parts of the frame. | |||
| 175 | 181 | ||
| 176 | @table @code | 182 | @table @code |
| 177 | @item mode-line | 183 | @item mode-line |
| 178 | This face is used for the mode line of the currently selected window. | 184 | @itemx modeline |
| 179 | By default, it's drawn with shadows for a ``raised'' effect on window | 185 | This face is used for the mode line of the currently selected window, |
| 180 | systems, and drawn as the inverse of the default face on non-windowed | 186 | and for menu bars when toolkit menus are not used. By default, it's |
| 181 | terminals. | 187 | drawn with shadows for a ``raised'' effect on window systems, and |
| 188 | drawn as the inverse of the default face on non-windowed terminals. | ||
| 189 | @code{modeline} is an alias for the @code{mode-line} face, for | ||
| 190 | compatibility with old Emacs versions. | ||
| 182 | @item mode-line-inactive | 191 | @item mode-line-inactive |
| 183 | Like @code{mode-line}, but used for mode lines of the windows other | 192 | Like @code{mode-line}, but used for mode lines of the windows other |
| 184 | than the selected one (if @code{mode-line-in-non-selected-windows} is | 193 | than the selected one (if @code{mode-line-in-non-selected-windows} is |
| @@ -186,7 +195,7 @@ non-@code{nil}). This face inherits from @code{mode-line}, so changes | |||
| 186 | in that face affect mode lines in all windows. | 195 | in that face affect mode lines in all windows. |
| 187 | @item header-line | 196 | @item header-line |
| 188 | Similar to @code{mode-line} for a window's header line. Most modes | 197 | Similar to @code{mode-line} for a window's header line. Most modes |
| 189 | don't use the header line, but the Info mode does. | 198 | don't use the header line, but some special modes, such the Info mode, do. |
| 190 | @item vertical-border | 199 | @item vertical-border |
| 191 | This face is used for the vertical divider between windows. | 200 | This face is used for the vertical divider between windows. |
| 192 | By default this face inherits from the @code{mode-line-inactive} face | 201 | By default this face inherits from the @code{mode-line-inactive} face |
| @@ -194,9 +203,14 @@ on character terminals. On window systems the foreground color of | |||
| 194 | this face is used for the vertical line between windows without | 203 | this face is used for the vertical line between windows without |
| 195 | scrollbars. | 204 | scrollbars. |
| 196 | @item minibuffer-prompt | 205 | @item minibuffer-prompt |
| 206 | @cindex @code{minibuffer-prompt} face | ||
| 207 | @vindex minibuffer-prompt-properties | ||
| 197 | This face is used for the prompt strings displayed in the minibuffer. | 208 | This face is used for the prompt strings displayed in the minibuffer. |
| 209 | By default, Emacs automatically adds this face to the value of | ||
| 210 | @code{minibuffer-prompt-properties}, which is a list of text | ||
| 211 | properties used to display the prompt text. | ||
| 198 | @item fringe | 212 | @item fringe |
| 199 | @cindex fringe | 213 | @cindex @code{fringe} face |
| 200 | The face for the fringes to the left and right of windows on graphic | 214 | The face for the fringes to the left and right of windows on graphic |
| 201 | displays. (The fringes are the narrow portions of the Emacs frame | 215 | displays. (The fringes are the narrow portions of the Emacs frame |
| 202 | between the text area and the window's right and left borders.) | 216 | between the text area and the window's right and left borders.) |