From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#71070: 30.0.50; c++-ts-mode namespace wrong fontification. Date: Thu, 6 Jun 2024 23:16:18 +0300 Message-ID: References: <87h6et6550.fsf.ref@aol.com> <87h6et6550.fsf@aol.com> <86wmnpabu0.fsf@gnu.org> <86v839aa3a.fsf@gnu.org> <86seycagbq.fsf@gnu.org> <05106743-c354-4684-b57f-e6c07f1a6e2a@gutov.dev> <86plte6ny2.fsf@gnu.org> <75899b79-dfec-44dc-adfc-389f046bcd7b@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32971"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Eli Zaretskii , Ergus , 71070@debbugs.gnu.org To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 06 22:27:21 2024 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 1sFJhe-0008LV-T5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Jun 2024 22:27:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFJhB-0000gh-NH; Thu, 06 Jun 2024 16:26:49 -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 1sFJh9-0000gS-C0 for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 16:26:47 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFJh9-0001g2-4N for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 16:26:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sFJhN-0005NY-J4 for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 16:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jun 2024 20:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71070 X-GNU-PR-Package: emacs Original-Received: via spool by 71070-submit@debbugs.gnu.org id=B71070.171770559720615 (code B ref 71070); Thu, 06 Jun 2024 20:27:01 +0000 Original-Received: (at 71070) by debbugs.gnu.org; 6 Jun 2024 20:26:37 +0000 Original-Received: from localhost ([127.0.0.1]:39297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFJgz-0005MQ-6r for submit@debbugs.gnu.org; Thu, 06 Jun 2024 16:26:37 -0400 Original-Received: from wfhigh2-smtp.messagingengine.com ([64.147.123.153]:59807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFJgw-0005M6-GP for 71070@debbugs.gnu.org; Thu, 06 Jun 2024 16:26:35 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.west.internal (Postfix) with ESMTP id 5FD5C18000DF; Thu, 6 Jun 2024 16:16:22 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 06 Jun 2024 16:16:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1717704982; x=1717791382; bh=bziYB+qrcXgwfVyaa/+qMr15BoGgvERWX+KzdOHcrXo=; b= LhCWR5/Va7g8al4g6lVxaPW1WKvXMXX4n4868Xtf3PfhsVlgbXd8UQ1vIwjSxvH7 1uVe2tMaOM3W/npLcwxsgy9wukaTS6Sy/rFgq7QMIPd2pVj5nPw33Ox0Sd6UMbCv mlAxOpaiTj3pE4xgJFCa5SegU/+0qKT1y6dhgqzh0WYRy0pOYoAHFws8k9Xnutaa qApsqeDCJKogwn/88sPvw5n0raf1MzX1x4KusbMWT+tdF/IZhdk0qefCUni6F6l6 TqIMH8X5olz1TNiok4k5qg7U/mihRMtQ0QizTDW7N0J5qZdt5n00Hh1MB9F49JnV VvLnU5R0ZFpL809kLPOD1Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1717704982; x= 1717791382; bh=bziYB+qrcXgwfVyaa/+qMr15BoGgvERWX+KzdOHcrXo=; b=P ekmu+Gno1mJiR5iJLihKMHCJw9xTHW1sYxibPlPbY57knD93GZn+3Wn/gGiXlchS 9N/C358rC67VbJKkCRdSRo0Ztn+Pg/kKjo4xIzt5L48K4OGxEnNdBDp9whCG0Qi6 spi1TPWmAHIJ9DypEunHODWMyXSczCI67CGuCZGNVF0g8L6cmdHNkBoxMLZdl53L 8cO2T2SNGvPkpwtxUaXQQ/UMpz7iirR/rMb8lRZefsVaSCIU7mnsIFzxskKGr3OP 7G5hkxrHcGYN4F/3yCiPTtTFCIJ0kboGeWdJNroKjT0uTqke14i16jchBn7b51CH 5fMbT3RS+ez9sdIKOysIA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdelkedgudegiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeufedtvddtveefhfdvveeg udejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 6 Jun 2024 16:16:20 -0400 (EDT) Content-Language: en-US In-Reply-To: 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:286719 Archived-At: On 06/06/2024 08:28, Yuan Fu wrote: >> Seems like it (although some themes might use some additional colors to differentiate between these two, the default theme does not). >> >> Perhaps it is done so that the expression foo::class_name reads naturally (in one color). > Am I missing something? I got the exact opposite conclusion from the screenshot: it seems the effect is that namespaces are colored differently from class names: The class names I meant are A and B on my screenshot. Maybe tree-sitter doesn't see them as class names specifically, just non-primitive identifiers in type position.