aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2005-08-22 21:35:07 +0000
committerJuri Linkov2005-08-22 21:35:07 +0000
commit3b91a16de495d1ee8a6c36ef6bfca301837fc005 (patch)
tree0ca461b1d860a3eff031d4b81c3473bfeda047f7
parentc29a63fd64c5cf8274544b59359f0dfa86af3a58 (diff)
downloademacs-3b91a16de495d1ee8a6c36ef6bfca301837fc005.tar.gz
emacs-3b91a16de495d1ee8a6c36ef6bfca301837fc005.zip
(Standard Faces): Merge the text from `(elisp)Standard Faces' into this node.
-rw-r--r--man/display.texi48
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,
105type @kbd{M-x list-faces-display}. It's possible for a given face to 105type @kbd{M-x list-faces-display}. It's possible for a given face to
106look different in different frames; this command shows the appearance 106look different in different frames; this command shows the appearance
107in the frame in which you type it. Here are the standard faces 107in the frame in which you type it.
108for specifying text appearance: 108
109Here are the standard faces for specifying text appearance. You can
110use 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
112This face is used for ordinary text that doesn't specify any other face. 114This face is used for ordinary text that doesn't specify any other face.
113@item bold 115@item bold
114This face uses a bold variant of the default font, if it has one. 116This face uses a bold variant of the default font, if it has one.
117It's up to you to choose a default font that has a bold variant,
118if you want to use one.
115@item italic 119@item italic
116This face uses an italic variant of the default font, if it has one. 120This 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
120This face underlines text. 124This face underlines text.
121@item fixed-pitch 125@item fixed-pitch
122The basic fixed-pitch face. 126This face forces use of a particular fixed-width font.
123@item variable-pitch 127@item variable-pitch
124The basic variable-pitch face. 128This face forces use of a particular variable-width font. It's
129reasonable to customize this to use a different variable-width font,
130if you like, but you should not make it a fixed-width font.
131@item shadow
132This face is used for making the text less noticeable than the surrounding
133ordinary text. Usually this can be achieved by using shades of gray in
134contrast 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).
146This face is used for displaying a secondary X selection (@pxref{Secondary 156This face is used for displaying a secondary X selection (@pxref{Secondary
147Selection}). 157Selection}).
148@item trailing-whitespace 158@item trailing-whitespace
149The face for highlighting trailing whitespace when 159The 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 160when @code{show-trailing-whitespace} is non-@code{nil}; see
151Whitespace}. 161@ref{Useless Whitespace}.
152@item nobreak-space 162@item nobreak-space
153The face for displaying the character ``nobreak space''. 163The face for displaying the character ``nobreak space''.
154@item escape-glyph 164@item escape-glyph
155The face for highlighting the @samp{\} or @samp{^} that indicates 165The face for highlighting the @samp{\} or @samp{^} that indicates
156a control character. It's also used when @samp{\} indicates a 166a control character. It's also used when @samp{\} indicates a
157nobreak space or nobreak (soft) hyphen. 167nobreak space or nobreak (soft) hyphen.
158@item shadow
159The basic face for making the text less noticeable than the surrounding
160ordinary text. Usually this is achieved by using shades of grey in
161contrast 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
178This face is used for the mode line of the currently selected window. 184@itemx modeline
179By default, it's drawn with shadows for a ``raised'' effect on window 185This face is used for the mode line of the currently selected window,
180systems, and drawn as the inverse of the default face on non-windowed 186and for menu bars when toolkit menus are not used. By default, it's
181terminals. 187drawn with shadows for a ``raised'' effect on window systems, and
188drawn as the inverse of the default face on non-windowed terminals.
189@code{modeline} is an alias for the @code{mode-line} face, for
190compatibility with old Emacs versions.
182@item mode-line-inactive 191@item mode-line-inactive
183Like @code{mode-line}, but used for mode lines of the windows other 192Like @code{mode-line}, but used for mode lines of the windows other
184than the selected one (if @code{mode-line-in-non-selected-windows} is 193than 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
186in that face affect mode lines in all windows. 195in that face affect mode lines in all windows.
187@item header-line 196@item header-line
188Similar to @code{mode-line} for a window's header line. Most modes 197Similar to @code{mode-line} for a window's header line. Most modes
189don't use the header line, but the Info mode does. 198don't use the header line, but some special modes, such the Info mode, do.
190@item vertical-border 199@item vertical-border
191This face is used for the vertical divider between windows. 200This face is used for the vertical divider between windows.
192By default this face inherits from the @code{mode-line-inactive} face 201By 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
194this face is used for the vertical line between windows without 203this face is used for the vertical line between windows without
195scrollbars. 204scrollbars.
196@item minibuffer-prompt 205@item minibuffer-prompt
206@cindex @code{minibuffer-prompt} face
207@vindex minibuffer-prompt-properties
197This face is used for the prompt strings displayed in the minibuffer. 208This face is used for the prompt strings displayed in the minibuffer.
209By default, Emacs automatically adds this face to the value of
210@code{minibuffer-prompt-properties}, which is a list of text
211properties used to display the prompt text.
198@item fringe 212@item fringe
199@cindex fringe 213@cindex @code{fringe} face
200The face for the fringes to the left and right of windows on graphic 214The face for the fringes to the left and right of windows on graphic
201displays. (The fringes are the narrow portions of the Emacs frame 215displays. (The fringes are the narrow portions of the Emacs frame
202between the text area and the window's right and left borders.) 216between the text area and the window's right and left borders.)