From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64204: C/C++ local variables not syntax highlighted if they start with $ Date: Thu, 22 Jun 2023 13:44:29 +0800 Message-ID: <87legc126a.fsf@yahoo.com> References: <87edm52fu1.fsf@yahoo.com> <83cz1o3xso.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31911"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Alan Mackenzie , 64204@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 22 07:45:38 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 1qCD8R-00085h-Pj for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Jun 2023 07:45:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCD85-0003Ew-5V; Thu, 22 Jun 2023 01:45:14 -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 1qCD7v-0003Ej-Is for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 01:45: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 1qCD7u-00066C-K1 for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 01:45:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCD7u-0003vG-1j for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 01:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Jun 2023 05:45:02 +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.168741269015034 (code B ref 64204); Thu, 22 Jun 2023 05:45:02 +0000 Original-Received: (at 64204) by debbugs.gnu.org; 22 Jun 2023 05:44:50 +0000 Original-Received: from localhost ([127.0.0.1]:34609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCD7i-0003uP-37 for submit@debbugs.gnu.org; Thu, 22 Jun 2023 01:44:50 -0400 Original-Received: from sonic315-22.consmr.mail.ne1.yahoo.com ([66.163.190.148]:40330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCD7f-0003u6-Kk for 64204@debbugs.gnu.org; Thu, 22 Jun 2023 01:44:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687412681; bh=lCLqfp5ItUyP4FaGKWx/C3Y3nwH/Gc4k7ZVwQUMHRkg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=Ft0y7+lRt3g4PRO6EvA5VLV0v9y74xyXn0odgPQdGhlJtAmO9PjaUsZnnpQK9IffVLpCgmeCr8EUtcNHKSnSueku5HEl2raK3bmRlr2rQ1mMU8EKwwg6y5+SngBrZ8D0KgmI5hmlko9L9eAz1TO/8HKT1PWKpdbstRFA8mAzC0ca5L5Xw2dMwz7N5CRbd1I5O11zsP2R8Uat32DNR39s3aGDnmGqchBiRv3l5xK/5uxeoEbdjcmfOEUKy9wUDMPP2Rq5tjGDuCm3R+vnF/3SIAAfpLVysGcOMFQMoQ5Q9IiDO9Kw/QfcEzNV53Ft6aUMdzp5sfFt+KqMUYnoS0vnpg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687412681; bh=ItXvj6trNKlzvNMIl7D7sjPC7bKdHydKH4xBP0mS6f/=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=MA++QrcU8TMf6x9JJ294SwgO+gqNd0IE/Wx4HXXP8TWHiZYY3KpDQS/6BjzlEOjPuoAUrvG7mVTcHBnCO6KwxjnqOakKNBFiaVEgqXH/t/3WtKWHyb593J27P6RtFp33l7KoFWEKu0XxAvFCen+HQi2ZauuU1K64//NYF/6J1vrq3ptLO1j5Y27eQfunuxzNYItkqUWcNrdt9MJ31q74aa16qRFbl8XEi154hFStHDOEqEDZ9hPhpHOdjojvx2mlDw6nyXdqfx8gIAkAFG20GGBrQoQ6j1zOOqY1X+RGLD4ga8ysr8j3q96urrIyIy767Zx38/apv4vMJkrahxFYYQ== X-YMail-OSG: WwK9FXIVM1nyYCT0LfEEVgYbo2r00V96vnCIyA76zsgiP.rkXzZnlcI0J1aZxcK 1zc.aXHYhBzLmXcKb0xiPuu9bdViS5_HlSZimxR2qDZ7pkPol32Kv7XiWOYVLaYsNKDln.KjPP71 7SGYnrVrFMe7u5FZL8ORivqKCgxSffmvEEQE9jnk6gAwH2AChrF5wbJTB8YiKtLBTc_f59kAikrH eDZUclZjpGQ5RyO66DfGatqkxcp_EXM8Z7uYggaaIp6GNxI.SvkUDzrAX2uY3oY9vC49_gwXCeta f144ixlFusWCpVCr4BZaR0n.gNfwAgLNT3dpTb7NmQ6bkPgKHiRg7vjAxBdrAuuMwquktN_GSSLg dhk92LdbYT4G0Ge_.RkonXZlLvgr3w5J_iIivDE5rlF5tANPuxrOHMotWFeJobqc.zYNwKElegYk BZcvcZM7WYwfc3XMV5IbLIQFlen1n1BmZBYYEyOyt8CD9OjqfrgooCy.LpQOTcDSx4Feuspo7RBH _CVRiIit5mNQfjx6g6EkQizpOqWQ3KYvgjXtiw1TLo3rd4Z0QGDhM9vNI8JfpKhiHJe9Ovx0NJai NjwLDcKdKjsaTq_1aOxVVUMiBSNCC6WI.Garg9_oYxvP1NcT_JW0uefIuPhh4m_vTJPVIHsqd_aM v0vao9tx4H7ESaq9EOJ8dRG._Xs3K9S2orxXnOtmf_02ranprBHlwHW8ffq1qIYVCvl9iSP1VVWI MlssyvV2gWDTbUEV6GmY3Nmfe7zhxtnmPJtJvBxSUtlsJoUsqpE8jMCOWkZdIdGwBH.0.UBx3iit CNpAe.mIj9JG0ikxxcJFCFIpuhw..G_jkulLmiwcCg X-Sonic-MF: X-Sonic-ID: e4196795-a64b-4e42-8ca2-aeabc2521a55 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Thu, 22 Jun 2023 05:44:41 +0000 Original-Received: by hermes--production-sg3-748897c457-gjhr4 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 733b50f9569830a7ac4e9cf6a19efff4; Thu, 22 Jun 2023 05:44:35 +0000 (UTC) In-Reply-To: <83cz1o3xso.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 22 Jun 2023 07:50:47 +0300") X-Mailer: WebService/1.1.21557 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:263857 Archived-At: 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.