GNU bug report logs - #64204
C/C++ local variables not syntax highlighted if they start with $

Previous Next

Package: emacs;

Reported by: Joseph Garvin <k04jg02 <at> gmail.com>

Date: Wed, 21 Jun 2023 11:28:02 UTC

Severity: normal

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 64204 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: acm <at> muc.de, 64204 <at> debbugs.gnu.org
Subject: Re: bug#64204: C/C++ local variables not syntax highlighted if they
 start with $
Date: Thu, 22 Jun 2023 13:07:02 +0300
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: acm <at> muc.de,  64204 <at> debbugs.gnu.org
> Date: Thu, 22 Jun 2023 15:15:34 +0800
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > All the uses of '$' in identifiers should be controlled by that
> > option.
> 
> CC Mode doesn't make use of identifiers containing $.  No syntax
> features are affected, I think, only fontification.

I _am_ talking about fontifications.  One of the main purposes of
fontifying code is to give the programmer feedback regarding the
syntax and semantics of the code.  Flagging invalid syntax is
therefore important, and when $ are invalid in identifiers, showing
that with fontifications is important.




This bug report was last modified 1 year and 330 days ago.

Previous Next


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