From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Garvin Newsgroups: gmane.emacs.bugs Subject: bug#64204: C/C++ local variables not syntax highlighted if they start with $ Date: Wed, 28 Jun 2023 18:19:06 -0500 Message-ID: References: <87edm52fu1.fsf@yahoo.com> <83cz1o3xso.fsf@gnu.org> <83wmzv3iu0.fsf@gnu.org> <83y1k3to8k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f04c9305ff38cf0f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35545"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, Alan Mackenzie , 64204-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 29 08:44:19 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qElO6-00094R-Si for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Jun 2023 08:44:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qElNu-0002Gw-DV; Thu, 29 Jun 2023 02:44:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qElNs-0002Gf-HJ for bug-gnu-emacs@gnu.org; Thu, 29 Jun 2023 02:44:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qElNs-0003Xg-8b for bug-gnu-emacs@gnu.org; Thu, 29 Jun 2023 02:44:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qElNs-0005v7-4e for bug-gnu-emacs@gnu.org; Thu, 29 Jun 2023 02:44:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joseph Garvin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Jun 2023 06:44:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64204 X-GNU-PR-Package: emacs Original-Received: via spool by 64204-done@debbugs.gnu.org id=D64204.168802101022675 (code D ref 64204); Thu, 29 Jun 2023 06:44:04 +0000 Original-Received: (at 64204-done) by debbugs.gnu.org; 29 Jun 2023 06:43:30 +0000 Original-Received: from localhost ([127.0.0.1]:52135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qElNJ-0005tZ-Ey for submit@debbugs.gnu.org; Thu, 29 Jun 2023 02:43:30 -0400 Original-Received: from mail-pj1-f46.google.com ([209.85.216.46]:59585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qEeRV-0008JV-GK for 64204-done@debbugs.gnu.org; Wed, 28 Jun 2023 19:19:34 -0400 Original-Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-262e839647eso66802a91.2 for <64204-done@debbugs.gnu.org>; Wed, 28 Jun 2023 16:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687994355; x=1690586355; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=CtqrWYSqXfkG6+FJyoFzJmVo+Mz9gnL5xVI1YOjLQL0=; b=kMyaDnW2MlznOhzNqLO/T3clWh7gAidOhojO9ouothKamNlA/cJLfIFJRG/h9ZQ0a+ pRRts4Mh8CKVmU2kmdi3X5vbRchO51n1IxuCtT56fP8Oj5CcARhHTVfBxSZGZ1MV9h9A 340wB0Rkf5/wxkIUBCtbhj25V6i/XEtIrYEptZCssQuXsumt/neJkytTGJXn9RGTwMAT yHum/OZN08xoFjSCFROzVEx7VelcbFyC+qi4Ib+PS9JQ8m8qncMiBWCkKMVvwtTlfQer gaz7H7qmrvVOieZwRXSPmCQuS9YoFuU5AtjldP4Tt8odK+0Bsaw+4fdk3OTrrATlPn4J xAxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687994355; x=1690586355; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CtqrWYSqXfkG6+FJyoFzJmVo+Mz9gnL5xVI1YOjLQL0=; b=MUSXCj3UsKU1q1uPRTBuFJtNmp1DpDe8NS5mXfwE/L1DS1kgSP+Uwp4hlt61awzFTQ 4j5RDF0ymOR+nIZMgr2Y5+M24svEPIvZ8Jf6IaBb3e/lsrMQ0ZzjfgBzM6AOtBzcGBoi 2Y9SDnH+OfZVlKlzT5mQRhFRsPQW2rbkIJLvP+qd46hSve7K31779ZFP5XdUYc41s6Ei B3ykLha8qXpa8fJ7oyniHDn1U3rzikYdeUnon/PuGiyx3FYjr9pPhdEvd3QPi64KSLY6 V6ahtMsB4GPYpRmi9qLfrxBEM8lUZKUBpbMryfMNjhfBmjXy0rSR+rLV3WddELrBE7jZ QLLg== X-Gm-Message-State: AC+VfDwGmhHecyxf2riPU3VUjxoL9AhOWam266zxMPzm8CJoQzZ7Ddg9 u63PPtMStsI9rA4R7QqqdEtXgVhcV/WAho2dm3o= X-Google-Smtp-Source: ACHHUZ7LcCy4G8ySgColB0O0wlifXUgpundESGdKVKTN6aL9sXMppTwSi0pQSKNDIrcA/rEkZM5fYDPTQzuJzNF/wRQ= X-Received: by 2002:a17:90a:11:b0:262:ff9e:b07e with SMTP id 17-20020a17090a001100b00262ff9eb07emr8889621pja.8.1687994355435; Wed, 28 Jun 2023 16:19:15 -0700 (PDT) In-Reply-To: <83y1k3to8k.fsf@gnu.org> X-Mailman-Approved-At: Thu, 29 Jun 2023 02:43:27 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:264261 Archived-At: --000000000000f04c9305ff38cf0f Content-Type: text/plain; charset="UTF-8" Thanks, appreciate the work! On Wed, Jun 28, 2023, 1:50 PM Eli Zaretskii 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 > > > > > 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! > --000000000000f04c9305ff38cf0f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, appreciate the work!

On Wed, Jun 28, 2023, 1:50 PM= Eli Zaretskii <eliz@gnu.org> wro= te:
> 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.=C2=A0 If we value correct fo= ntification,
> > of course.=C2=A0 I don't know what my opinions on this mean f= or you, but
> > there you have it.=C2=A0 I cannot force you make this change, of = course, I
> > can only try to convince.
>
> :-)=C2=A0 OK, the fontification of identifiers with $ is now working.= =C2=A0 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 us= ed
> instead.=C2=A0 The above applies only to C, C++, and Objective C Modes= , and to
> any derived modes which enable the mechanism.

Thanks!
--000000000000f04c9305ff38cf0f--