bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64204: C/C++ local variables not syntax highlighted if they start wi


From: Joseph Garvin
Subject: bug#64204: C/C++ local variables not syntax highlighted if they start with $
Date: Wed, 28 Jun 2023 18:19:06 -0500

Thanks, appreciate the work!

On Wed, Jun 28, 2023, 1:50 PM Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Wed, 28 Jun 2023 18:45:09 +0000
> Cc: luangruo@yahoo.com, 64204-done@debbugs.gnu.org, acm@muc.de
> From: Alan Mackenzie <acm@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!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]