GNU bug report logs - #71070
30.0.50; c++-ts-mode namespace wrong fontification.

Previous Next

Package: emacs;

Reported by: Ergus <spacibba <at> aol.com>

Date: Sun, 19 May 2024 18:15:02 UTC

Severity: normal

Found in version 30.0.50

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: spacibba <at> aol.com, casouri <at> gmail.com, 71070 <at> debbugs.gnu.org
Subject: bug#71070: 30.0.50; c++-ts-mode namespace wrong fontification.
Date: Wed, 22 May 2024 16:33:21 +0300
On 22/05/2024 15:17, Eli Zaretskii wrote:
>> Date: Wed, 22 May 2024 02:27:08 +0300
>> Cc:casouri <at> gmail.com,71070 <at> debbugs.gnu.org
>> From: Dmitry Gutov<dmitry <at> gutov.dev>
>>
>>> I understand all that, but still: can you (or someone else) answer my
>>> question about the accepted practices of IDEs in this matter: do they
>>> highlight the namespace identifiers differently than other
>>> identifiers, or do they use the same highlighting?
>> Does the attached screenshot answer the question? It's from VS Code.
> Thanks.  Not sure I get it completely.  It seems like namespace names
> are fontified like class names?  They are not fontified like
> constants.

Seems like it (although some themes might use some additional colors to 
differentiate between these two, the default theme does not).

Perhaps it is done so that the expression foo::class_name reads 
naturally (in one color).




This bug report was last modified 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.