GNU bug report logs -
#72228
31.0.50; Wrong number fontification in cmake-ts-mode
Previous Next
Reported by: Ergus <spacibba <at> aol.com>
Date: Sun, 21 Jul 2024 11:14:02 UTC
Severity: normal
Found in version 31.0.50
Done: Randy Taylor <dev <at> rjt.dev>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Sunday, July 21st, 2024 at 07:13, Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org> wrote:
>
> When using cmake-ts-mode the numbers have 3 different faces:
>
> 1, 2, 100: font-lock-number-face (OK)
>
> 0 : font-lock-constant-face. The cmake-ts-mode--constants takes
> precedence over regex in font-lock-number-face. It is not clear that
> this one can be fixed.
1 also gets font-lock-constant-face.
I think we should just remove "1" and "0" from cmake-ts-mode--constants.
>
> -1, -2 : Not fontified. This seems simpler to fix, the regex in
> font-lock-number-face is missing a `-?' before the first [[:digit:]])
>
Indeed. Would you like to submit a patch for that and the above?
This bug report was last modified 1 year and 14 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.