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#71070: 30.0.50; c++-ts-mode namespace wrong fontification. Date: Sat, 15 Jun 2024 11:34:25 +0300 Message-ID: <86le36vc32.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31032"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spacibba@aol.com, 71070@debbugs.gnu.org To: casouri@gmail.com, Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 15 10:35:10 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 1sIOsQ-0007tQ-E1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jun 2024 10:35:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sIOsI-00012Z-HB; Sat, 15 Jun 2024 04:35:02 -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 1sIOsH-000127-BJ for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2024 04:35:01 -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 1sIOsH-0006UC-36 for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2024 04:35:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sIOsH-0004x7-MB for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2024 04:35: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: Sat, 15 Jun 2024 08:35: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.171844047818970 (code B ref 71070); Sat, 15 Jun 2024 08:35:01 +0000 Original-Received: (at 71070) by debbugs.gnu.org; 15 Jun 2024 08:34:38 +0000 Original-Received: from localhost ([127.0.0.1]:54223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIOrt-0004vt-Ms for submit@debbugs.gnu.org; Sat, 15 Jun 2024 04:34:38 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIOrr-0004vY-LB for 71070@debbugs.gnu.org; Sat, 15 Jun 2024 04:34: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 1sIOrk-0006PZ-Ps; Sat, 15 Jun 2024 04:34:28 -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=XDyrtSAgmL2QYXbPtpracoeArT3zQ8tRLdPADZPIjK4=; b=rYD4lMZHlKWV NQJn5wo2f6c/9gPoyOhq5PVdYY8YQ+ZzSvzAxWHcaeV6jRmPUyt89iagfCuOW2Rnb+j3OoVeEh3Sw LmCluR36eF2u04/omtvWGgTXKaF/ljqSRnkFLEkwLcgptMdfMAXqCzHWEB5WAZPvKb5fve38KZgLI mds6gSgE63LnK22UZWy0BmQETndZL5HMDKBy55QksZ5tTyUG6ylw51cbzpNkjChhcM+rb2BMRu/w+ EIi16mTtFynj/MWyxJfrPzYrfIXtpCUT7wsb8VQN4j6h9MnyOWdwgbIFPsT5g83JakZoSRPuN/aIB rq5AGCfrH0vsTAXUgj1MzQ==; In-Reply-To: (message from Dmitry Gutov on Thu, 6 Jun 2024 23:16:18 +0300) 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:287267 Archived-At: Ping! Can we please make some progress here? > Date: Thu, 6 Jun 2024 23:16:18 +0300 > Cc: Eli Zaretskii , Ergus , > 71070@debbugs.gnu.org > From: Dmitry Gutov > > 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. >