[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock-delimiter-face - what for?
From: |
Randy Taylor |
Subject: |
Re: font-lock-delimiter-face - what for? |
Date: |
Tue, 27 Dec 2022 18:20:07 +0000 |
On Tuesday, December 27th, 2022 at 11:54, Dmitry Gutov <dgutov@yandex.ru> wrote:
>
> On 27/12/2022 18:44, Randy Taylor wrote:
>
> > It's primarily for punctuation-related ones (e.g., ‘;’, ‘:’, ‘,’), hence
> > why it inherits from the punctuation face.
> >
> > A more specific example (using c-ts-mode):
> > int quack = 0;
> > ^ font-lock-delimiter-face
>
>
> All right, thank you.
>
> Perhaps we could add some examples to the docstrings.
>
> That could also help clarify the difference between
> font-lock-punctuation-face and font-lock-misc-punctuation-face.
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.
- font-lock-delimiter-face - what for?, Dmitry Gutov, 2022/12/27
- Re: font-lock-delimiter-face - what for?, Randy Taylor, 2022/12/27
- Re: font-lock-delimiter-face - what for?, Dmitry Gutov, 2022/12/27
- Re: font-lock-delimiter-face - what for?,
Randy Taylor <=
- Re: font-lock-delimiter-face - what for?, Dmitry Gutov, 2022/12/27
- Re: font-lock-delimiter-face - what for?, Stefan Monnier, 2022/12/27
- Re: font-lock-delimiter-face - what for?, Dmitry Gutov, 2022/12/27
- Re: font-lock-delimiter-face - what for?, Dmitry Gutov, 2022/12/28
- Re: font-lock-delimiter-face - what for?, Randy Taylor, 2022/12/28
- Re: font-lock-delimiter-face - what for?, Dmitry Gutov, 2022/12/28
- Re: font-lock-delimiter-face - what for?, Randy Taylor, 2022/12/28
- Re: font-lock-delimiter-face - what for?, Dmitry Gutov, 2022/12/29
- Re: font-lock-delimiter-face - what for?, Randy Taylor, 2022/12/29
- Re: font-lock-delimiter-face - what for?, Yuan Fu, 2022/12/29