mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
; Fix last change
* etc/NEWS: * doc/lispref/frames.texi (Font and Color Parameters): * doc/lispref/display.texi (Displaying Faces, Basic Faces): Improve indexing of faces and wording of the description of the 'margin' face and its implications.
This commit is contained in:
parent
e33e9f7e85
commit
a24b081602
3 changed files with 31 additions and 11 deletions
|
|
@ -3527,6 +3527,7 @@ non-selected window, Emacs applies the @code{mode-line-inactive} face.
|
||||||
For a header line, Emacs applies the @code{header-line} face.
|
For a header line, Emacs applies the @code{header-line} face.
|
||||||
For a tab line, Emacs applies the @code{tab-line} face.
|
For a tab line, Emacs applies the @code{tab-line} face.
|
||||||
|
|
||||||
|
@cindex @code{margin} face, and face merging
|
||||||
@item
|
@item
|
||||||
If the text comes from an overlay string via @code{before-string} or
|
If the text comes from an overlay string via @code{before-string} or
|
||||||
@code{after-string} properties (@pxref{Overlay Properties}), or from a
|
@code{after-string} properties (@pxref{Overlay Properties}), or from a
|
||||||
|
|
@ -3535,14 +3536,14 @@ contain a @code{face} or @code{mouse-face} property, or these
|
||||||
properties leave some face attributes undefined, but the buffer text
|
properties leave some face attributes undefined, but the buffer text
|
||||||
affected by the overlay/display property does define a face or those
|
affected by the overlay/display property does define a face or those
|
||||||
attributes, Emacs applies the face attributes of the ``underlying''
|
attributes, Emacs applies the face attributes of the ``underlying''
|
||||||
buffer text. This does not apply to strings displayed in the display
|
buffer text. However, this does not apply to strings displayed in the
|
||||||
margins, which use the @code{margin} face as the base instead
|
display margins, which use the @code{margin} face as the base instead
|
||||||
(@pxref{Display Margins}).
|
(@pxref{Display Margins}).
|
||||||
|
|
||||||
@item
|
@item
|
||||||
If the text is to be shown in the display margins, Emacs uses the
|
If the text is to be shown in the display margins, Emacs uses the
|
||||||
@code{margin} face as the base, so any attribute not specified by the
|
@code{margin} face as the base, so any attribute not specified by the
|
||||||
string's own face is taken from @code{margin}.
|
string's own face is taken from the @code{margin} face.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
If any given attribute has not been specified during the preceding
|
If any given attribute has not been specified during the preceding
|
||||||
|
|
@ -3805,24 +3806,34 @@ The default face, whose attributes are all specified. All other faces
|
||||||
implicitly inherit from it: any unspecified attribute defaults to the
|
implicitly inherit from it: any unspecified attribute defaults to the
|
||||||
attribute on this face (@pxref{Face Attributes}).
|
attribute on this face (@pxref{Face Attributes}).
|
||||||
|
|
||||||
|
@vindex mode-line @r{faces}
|
||||||
@item mode-line-active
|
@item mode-line-active
|
||||||
@itemx mode-line-inactive
|
@itemx mode-line-inactive
|
||||||
@itemx header-line
|
@itemx header-line
|
||||||
@itemx tab-line
|
@itemx tab-line
|
||||||
Basic faces used for the mode line, header line, and tab line.
|
Basic faces used for the mode line, header line, and tab line.
|
||||||
|
|
||||||
|
@vindex tool-bar @r{face}
|
||||||
@item tool-bar
|
@item tool-bar
|
||||||
|
@vindex tab-bar @r{face}
|
||||||
@itemx tab-bar
|
@itemx tab-bar
|
||||||
|
@vindex fringe @r{face}
|
||||||
@itemx fringe
|
@itemx fringe
|
||||||
|
@vindex scroll-bar @r{face}
|
||||||
@itemx scroll-bar
|
@itemx scroll-bar
|
||||||
|
@vindex window-divider @r{face}
|
||||||
@itemx window-divider
|
@itemx window-divider
|
||||||
|
@vindex border @r{face}
|
||||||
@itemx border
|
@itemx border
|
||||||
|
@vindex child-frame-border @r{face}
|
||||||
@itemx child-frame-border
|
@itemx child-frame-border
|
||||||
Basic faces used for the corresponding decorations of GUI frames.
|
Basic faces used for the corresponding decorations of GUI frames.
|
||||||
|
|
||||||
|
@vindex cursor @r{face}
|
||||||
@item cursor
|
@item cursor
|
||||||
The basic face used for the text cursor.
|
The basic face used for the text cursor.
|
||||||
|
|
||||||
|
@vindex margin @r{face}
|
||||||
@item margin
|
@item margin
|
||||||
The basic face used for window margins, both on the left and on the
|
The basic face used for window margins, both on the left and on the
|
||||||
right. It is commonly used to customize the background of the empty
|
right. It is commonly used to customize the background of the empty
|
||||||
|
|
@ -3830,6 +3841,7 @@ areas of the margins, and it also provides the base attributes for
|
||||||
strings displayed in the margins (@pxref{Display Margins}). It
|
strings displayed in the margins (@pxref{Display Margins}). It
|
||||||
inherits from the @code{default} face.
|
inherits from the @code{default} face.
|
||||||
|
|
||||||
|
@vindex mouse @r{face}
|
||||||
@item mouse
|
@item mouse
|
||||||
The basic face used for displaying mouse-sensitive text when the mouse
|
The basic face used for displaying mouse-sensitive text when the mouse
|
||||||
pointer is on that text.
|
pointer is on that text.
|
||||||
|
|
@ -3845,6 +3857,7 @@ These have the attributes indicated by their names (e.g., @code{bold}
|
||||||
has a bold @code{:weight} attribute), with all other attributes
|
has a bold @code{:weight} attribute), with all other attributes
|
||||||
unspecified (and so given by @code{default}).
|
unspecified (and so given by @code{default}).
|
||||||
|
|
||||||
|
@vindex shadow @r{face}
|
||||||
@item shadow
|
@item shadow
|
||||||
For dimmed-out text. For example, it is used for the ignored
|
For dimmed-out text. For example, it is used for the ignored
|
||||||
part of a filename in the minibuffer (@pxref{Minibuffer File,,
|
part of a filename in the minibuffer (@pxref{Minibuffer File,,
|
||||||
|
|
@ -3860,15 +3873,21 @@ For stretches of text that should temporarily stand out. For example,
|
||||||
it is commonly assigned to the @code{mouse-face} property for cursor
|
it is commonly assigned to the @code{mouse-face} property for cursor
|
||||||
highlighting (@pxref{Special Properties}).
|
highlighting (@pxref{Special Properties}).
|
||||||
|
|
||||||
|
@vindex match @r{face}
|
||||||
@item match
|
@item match
|
||||||
|
@vindex isearch @r{face}
|
||||||
@itemx isearch
|
@itemx isearch
|
||||||
|
@vindex lazy-highlight @r{face}
|
||||||
@itemx lazy-highlight
|
@itemx lazy-highlight
|
||||||
For text matching (respectively) permanent search matches, interactive
|
For text matching (respectively) permanent search matches, interactive
|
||||||
search matches, and lazy highlighting other matches than the current
|
search matches, and lazy highlighting other matches than the current
|
||||||
interactive one.
|
interactive one.
|
||||||
|
|
||||||
|
@vindex error @r{face}
|
||||||
@item error
|
@item error
|
||||||
|
@vindex warning @r{face}
|
||||||
@itemx warning
|
@itemx warning
|
||||||
|
@vindex success @r{face}
|
||||||
@itemx success
|
@itemx success
|
||||||
For text concerning errors, warnings, or successes. For example,
|
For text concerning errors, warnings, or successes. For example,
|
||||||
these are used for messages in @file{*Compilation*} buffers.
|
these are used for messages in @file{*Compilation*} buffers.
|
||||||
|
|
|
||||||
|
|
@ -2694,10 +2694,9 @@ The color to use for the background of characters. It is equivalent to
|
||||||
the @code{:background} attribute of the @code{default} face.
|
the @code{:background} attribute of the @code{default} face.
|
||||||
|
|
||||||
@vindex mouse-color@r{, a frame parameter}
|
@vindex mouse-color@r{, a frame parameter}
|
||||||
@vindex mouse@r{, a face}
|
|
||||||
@item mouse-color
|
@item mouse-color
|
||||||
The color for the mouse pointer. It is equivalent to the @code{:background}
|
The color for the mouse pointer. It is equivalent to the @code{:background}
|
||||||
attribute of the @code{mouse} face.
|
attribute of the @code{mouse} face (@pxref{Basic Faces}).
|
||||||
|
|
||||||
@vindex cursor-color@r{, a frame parameter}
|
@vindex cursor-color@r{, a frame parameter}
|
||||||
@item cursor-color
|
@item cursor-color
|
||||||
|
|
|
||||||
14
etc/NEWS
14
etc/NEWS
|
|
@ -93,13 +93,15 @@ below the line, which allows for vertically centering text.
|
||||||
A new basic face 'margin' is used by default for text displayed in the
|
A new basic face 'margin' is used by default for text displayed in the
|
||||||
left and right margin areas, which are used by various packages for
|
left and right margin areas, which are used by various packages for
|
||||||
per-line annotations. Its background defaults to the frame default, so
|
per-line annotations. Its background defaults to the frame default, so
|
||||||
existing behavior is unchanged for users who do not customize it.
|
existing behavior is unchanged for users who do not customize this new
|
||||||
|
face.
|
||||||
|
|
||||||
Margin strings that do not fully specify their face now inherit the
|
Display strings shown in the margins now inherit the unspecified face
|
||||||
unspecified attributes from the 'margin' face. If your code relied on
|
attributes from the 'margin' face, if the string itself does not fully
|
||||||
the face of the underlying buffer text to specify the face attributes of
|
specify its face. If your code relied on the face of the underlying
|
||||||
strings displayed in the margin, you must now set their face on the margin
|
buffer text to serve as default for the unspecified face attributes of
|
||||||
string itself via 'propertize'.
|
strings displayed in the margin, you must now set those face attributes
|
||||||
|
in the margin string itself via 'propertize'.
|
||||||
|
|
||||||
+++
|
+++
|
||||||
** 'prettify-symbols-mode' attempts to ignore undisplayable characters.
|
** 'prettify-symbols-mode' attempts to ignore undisplayable characters.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue