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 13:07:02 +0300 Message-ID: <83352j4xq1.fsf@gnu.org> References: <87edm52fu1.fsf@yahoo.com> <83cz1o3xso.fsf@gnu.org> <87legc126a.fsf@yahoo.com> <837crw3up9.fsf@gnu.org> <87h6r010le.fsf@yahoo.com> <834jn03s1n.fsf@gnu.org> <87cz1o0xyh.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12653"; 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 12:07:23 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 1qCHDn-00036m-Cv for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Jun 2023 12:07:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCHDV-0002NW-1r; Thu, 22 Jun 2023 06:07: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 1qCHDS-0002Mt-L4 for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 06:07:02 -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 1qCHDS-0006iM-Cq for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 06:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCHDS-0002q7-8i for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 06:07:02 -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 10:07: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.168742842110908 (code B ref 64204); Thu, 22 Jun 2023 10:07:02 +0000 Original-Received: (at 64204) by debbugs.gnu.org; 22 Jun 2023 10:07:01 +0000 Original-Received: from localhost ([127.0.0.1]:34911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCHDR-0002ps-C4 for submit@debbugs.gnu.org; Thu, 22 Jun 2023 06:07:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCHDP-0002pf-E1 for 64204@debbugs.gnu.org; Thu, 22 Jun 2023 06:07:00 -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 1qCHDJ-0006Cy-Hm; Thu, 22 Jun 2023 06:06:53 -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=QPz4XpMJhmurSZP7/tHlUgi5cMDByQ3V31z/I5VAiZU=; b=O7O2IHguCPTr AtHzXnx7pl9e/nfDlPorIbDQtoHPh9h0abhv+OlWQvrY63nUMk14hiCHFATX5nonrcZaIgeFmx8nK Bs8A67tNi1w0RUG+IfA/w0EGHU0uupFiJ9j17JkE3MQLKCiWbxZt8OULknRyff/XK/9gOCb+1gKqi 6REQZMFYUN1bHu3EGyxfn3jVz0/Lfv1+aqAAjd2JFRXA+fNrlTraJb0kreaeMnt9aEeYyo+3okD7F ICk3syk00Q5KG50lg659HFppAeDwNEgQ1UokkWKUQXXVi+f8FRCFmuMG8y5BOyjBAOqYteT0xRQ9t bgcUM0q22khXY6wZOoWD6g==; 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 1qCHDI-0005ub-3L; Thu, 22 Jun 2023 06:06:53 -0400 In-Reply-To: <87cz1o0xyh.fsf@yahoo.com> (message from Po Lu on Thu, 22 Jun 2023 15:15:34 +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:263869 Archived-At: > From: Po Lu > Cc: acm@muc.de, 64204@debbugs.gnu.org > Date: Thu, 22 Jun 2023 15:15:34 +0800 > > Eli Zaretskii writes: > > > All the uses of '$' in identifiers should be controlled by that > > option. > > CC Mode doesn't make use of identifiers containing $. No syntax > features are affected, I think, only fontification. I _am_ talking about fontifications. One of the main purposes of fontifying code is to give the programmer feedback regarding the syntax and semantics of the code. Flagging invalid syntax is therefore important, and when $ are invalid in identifiers, showing that with fontifications is important.