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 08:57:38 +0300 Message-ID: <837crw3up9.fsf@gnu.org> References: <87edm52fu1.fsf@yahoo.com> <83cz1o3xso.fsf@gnu.org> <87legc126a.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17386"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, 64204@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 22 07:58:28 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 1qCDKt-0004IA-5O for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Jun 2023 07:58:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCDKZ-0005Z0-DB; Thu, 22 Jun 2023 01:58:07 -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 1qCDKU-0005Yp-W1 for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 01:58:03 -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 1qCDKT-0005la-RO for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 01:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCDKT-0004U1-N4 for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 01:58: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 05:58: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.168741345717176 (code B ref 64204); Thu, 22 Jun 2023 05:58:01 +0000 Original-Received: (at 64204) by debbugs.gnu.org; 22 Jun 2023 05:57:37 +0000 Original-Received: from localhost ([127.0.0.1]:34622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCDK5-0004Sy-Fk for submit@debbugs.gnu.org; Thu, 22 Jun 2023 01:57:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCDK3-0004Sh-W0 for 64204@debbugs.gnu.org; Thu, 22 Jun 2023 01:57:36 -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 1qCDJx-0005gn-Ut; Thu, 22 Jun 2023 01:57:29 -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=M0A4XpeJh5v8i/CoJLz2HnVEK1+COA2emkK9W++dm4M=; b=DmSSwF4BPGf3 +Y3i0IERSj8aNpbkwQDqCfjLvNwyim0hNAPHqJiFEW+uqCWuRq070AeFstFLzOBGP7dzuSug6u5IH gP7HOFCJ6d8/2B5j47pK1RKo3FBIh8/5yB6C5QVUB3CrDNJARUoFlpanTQ0kuM/3Hbd4A8qGOauST Nc+4Z0Qe/22kXxPLMcNrZCCciwtgjMor0AymQEpZoxEaUO1nL0lWlIZa2EXVmZueTMmkBiTwAP5ak AL+GPAieduwUozq8/FyacgGelpjW9gP25JQYgxxcgvk3/0Am1yXHsUyln0PEkw1K1WBtNcOFCD7Vl UrZE/ptI/W6DXdZbusQoYw==; 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 1qCDJw-0002sV-6L; Thu, 22 Jun 2023 01:57:29 -0400 In-Reply-To: <87legc126a.fsf@yahoo.com> (message from Po Lu on Thu, 22 Jun 2023 13:44:29 +0800) 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:263859 Archived-At: > From: Po Lu > Cc: Alan Mackenzie , 64204@debbugs.gnu.org > Date: Thu, 22 Jun 2023 13:44:29 +0800 > > Eli Zaretskii writes: > > > 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. > > There is no other use for the character $, so this is not necessary: > it's either an identifier or a syntax error, and we don't try to fontify > syntax errors. Sorry, I disagree, for the reasons I explained above. (I don't mind this feature to be ON by default, though.)