emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: font-lock-delimiter-face - what for?


From: Dmitry Gutov
Subject: Re: font-lock-delimiter-face - what for?
Date: Tue, 27 Dec 2022 23:34:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 27/12/2022 23:01, Stefan Monnier wrote:
Dmitry Gutov [2022-12-27 21:45:33] wrote:
On 27/12/2022 20:20, Randy Taylor wrote:
font-lock-punctuation-face covers all punctuation.
The rest (bracket, delimiter, misc-punctuation) are for the more specific
kinds, with misc-punctuation being anything not a bracket or
delimiter. For example, see bash-ts-mode which specifies $ as
misc-punctuation.
Oh... kay? So "misc punctuation" is punctuation which is not punctuation?
IIUC `font-lock-punctuation-face` is a "parent face" for all forms of
punctuation, and then each actual punctuation is expected to use either
the delimiter, bracket, or misc face.

Ah. That would make sense.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]