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 #64 received at 64204-done <at> debbugs.gnu.org (full text, mbox):

From: Joseph Garvin <k04jg02 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: luangruo <at> yahoo.com, Alan Mackenzie <acm <at> muc.de>, 64204-done <at> debbugs.gnu.org
Subject: Re: bug#64204: C/C++ local variables not syntax highlighted if they
 start with $
Date: Wed, 28 Jun 2023 18:19:06 -0500
[Message part 1 (text/plain, inline)]
Thanks, appreciate the work!

On Wed, Jun 28, 2023, 1:50 PM Eli Zaretskii <eliz <at> gnu.org> wrote:

> > Date: Wed, 28 Jun 2023 18:45:09 +0000
> > Cc: luangruo <at> yahoo.com, 64204-done <at> debbugs.gnu.org, acm <at> muc.de
> > From: Alan Mackenzie <acm <at> muc.de>
> >
> > > I do feel it's worth the effort.  If we value correct fontification,
> > > of course.  I don't know what my opinions on this mean for you, but
> > > there you have it.  I cannot force you make this change, of course, I
> > > can only try to convince.
> >
> > :-)  OK, the fontification of identifiers with $ is now working.  By
> > default they are fontified as normal identifiers (i.e. with
> > font-lock-type-face, font-lock-variable-name-face, or
> > font-lock-function-name-face), but if the (new) customisable option
> > c-warn-ids-with-dollar is set to non-nil, font-lock-warning-face is used
> > instead.  The above applies only to C, C++, and Objective C Modes, and to
> > any derived modes which enable the mechanism.
>
> Thanks!
>
[Message part 2 (text/html, inline)]

This bug report was last modified 2 years and 22 days ago.

Previous Next


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