From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64204: C/C++ local variables not syntax highlighted if they start with $ Date: Thu, 22 Jun 2023 07:50:47 +0300 Message-ID: <83cz1o3xso.fsf@gnu.org> References: <87edm52fu1.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16616"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, acm@muc.de, 64204@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 22 06:51:35 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 1qCCIB-00049o-3v for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Jun 2023 06:51:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCCHk-0002Cc-Rr; Thu, 22 Jun 2023 00:51:08 -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 1qCCHf-0002CE-6y for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 00:51: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 1qCCHe-00049P-Dk for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 00:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCCHd-0007gi-U1 for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 00:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Jun 2023 04:51:01 +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-submit@debbugs.gnu.org id=B64204.168740944629520 (code B ref 64204); Thu, 22 Jun 2023 04:51:01 +0000 Original-Received: (at 64204) by debbugs.gnu.org; 22 Jun 2023 04:50:46 +0000 Original-Received: from localhost ([127.0.0.1]:34545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCCHO-0007g3-4N for submit@debbugs.gnu.org; Thu, 22 Jun 2023 00:50:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCCHL-0007fj-I3 for 64204@debbugs.gnu.org; Thu, 22 Jun 2023 00:50:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCCHF-00046u-KW; Thu, 22 Jun 2023 00:50:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Rdo0uKAqd8J/ZmYlsTZAK5PnjW2qOJgUlBvZo2ZEPHk=; b=l3ttFU9TwNvj TXn4iDgwZ35dITITqfASNKlaJB+IdmgBb3QPvr+672iS5PwAgZBz8s8u0ZDowObrPaL9h1MZnC4vK M4Bw9fJApOH8KybfmAb0xf3LbZZ2/HWWOwXCV95de+442m+8NwBNmuUi1VWP5xpKFM840z84HJFVp 6CKdbXWa8fHyw2RgTuFfXLpflqXjQIobq6e+S6LuodfCfFDM2LUDpv9trI9OBeCoXU23LEDisv0Ee WBT6I7AquKgYeX1Awkqyi58sdbSeYK9mdNIWx+95w41PEEWL4jqpxvZPYdCQasmyAhRnuatJ3VO8y ntQk24hq+l4KCZ/a4S0nxQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCCHE-0003yv-Uw; Thu, 22 Jun 2023 00:50:37 -0400 In-Reply-To: (message from Alan Mackenzie on Wed, 21 Jun 2023 21:06:37 +0000) 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:263853 Archived-At: > Cc: acm@muc.de, 64204@debbugs.gnu.org > Date: Wed, 21 Jun 2023 21:06:37 +0000 > From: Alan Mackenzie > > Apologies, the patch I sent earlier was defective, not applying cleanly > to the Emacs master branch. I also should have sent the patch as an > attachment. > > I'm now sending the patch as attachment. It should apply cleanly to the > master branch or emacs-29. Thanks, but shouldn't this be optional behavior, which users should be able to control? Standard C disallows '$' in identifiers AFAIK, and some users might wish to follow the Standard.