GNU bug report logs -
#64204
C/C++ local variables not syntax highlighted if they start with $
Previous Next
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
View this message in rfc822 format
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: acm <at> muc.de, 64204 <at> debbugs.gnu.org
> Date: Thu, 22 Jun 2023 14:18:37 +0800
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > Sorry, I disagree, for the reasons I explained above. (I don't mind
> > this feature to be ON by default, though.)
>
> Previously, this syntax (_only_ the syntax where an identifier starts
> with $; CC Mode has always supported identifiers containing $, which are
> also non-standard) would not be fontified at all, or would be fontified
> randomly. Why would that be desirable, and how would it help anyone
> follow the Standard?
All the uses of '$' in identifiers should be controlled by that
option.
> My objection to adding unnecessary options to CC Mode is because, for
> some reason, these options end up requiring counter-intuitive steps to
> modify, and slow down CC Mode by a tiny (but not negligible) amount.
I disagree that this option is unnecessary.
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.