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: Wed, 22 May 2024 16:33:21 +0300 Message-ID: <75899b79-dfec-44dc-adfc-389f046bcd7b@gutov.dev> 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> 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="1387"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: spacibba@aol.com, casouri@gmail.com, 71070@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 22 15:34:26 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 1s9m6q-000AZM-9L for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 May 2024 15:34:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9m6R-0005mY-2C; Wed, 22 May 2024 09:33:59 -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 1s9m6O-0005lc-NU for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 09:33:56 -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 1s9m6O-0001Fm-FE for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 09:33:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9m6T-0002xL-V8 for bug-gnu-emacs@gnu.org; Wed, 22 May 2024 09:34: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: Wed, 22 May 2024 13:34: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.171638482011342 (code B ref 71070); Wed, 22 May 2024 13:34:01 +0000 Original-Received: (at 71070) by debbugs.gnu.org; 22 May 2024 13:33:40 +0000 Original-Received: from localhost ([127.0.0.1]:55993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9m68-0002ws-5i for submit@debbugs.gnu.org; Wed, 22 May 2024 09:33:40 -0400 Original-Received: from fhigh6-smtp.messagingengine.com ([103.168.172.157]:50111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9m63-0002wk-TG for 71070@debbugs.gnu.org; Wed, 22 May 2024 09:33:39 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 93C9F1140193; Wed, 22 May 2024 09:33:24 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 22 May 2024 09:33:24 -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=fm2; t=1716384804; x=1716471204; bh=XZ00NmgsqBobSRla1cMrbhPF50sYmM1qfg2ZtdNoirw=; b= GMomUEwYVMJA1uu/jZ8ypURGRrnsnlRH3PtdtRzlx2Ci+mgMkBO7wV9F6rq74Tl0 Ws6eflzkwivX5F3kvmROHub/x4X2kTWMlIz+c1tWJFcZ6f+9dshJsemD178S0AaF 5zAJKEyOXzn+JmjhHOptHaZNZCCket8kowH/C284avW8Jt4WOYoDMEANMwrZuwnn P1xsY4pia9dUGmVWJm6dLifbYktmdTqIJMGQpg3zjgutndiYZdprR64oEpvBxJFx o6+iH0DBvFPTdJUvK2vr4F0qPuA5JUplEkGwyXRSmQ6t0H989kyxU889d4UUOubJ IROqfnkguOxsl+2yCH18QQ== 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=1716384804; x= 1716471204; bh=XZ00NmgsqBobSRla1cMrbhPF50sYmM1qfg2ZtdNoirw=; b=E kb4ExQlebn34e/ipfgtIfsPrl76xxLLFL958Dn5v/qx2cAJ00rzgkkPwOsF6rD7A Suj2EKirp6tBOXui+epZtENnK8jzEZ0coZrCjGp7oqwj9sdsAobT58BL6OVu8TYT liD+++KMQX2AqU4OjNt8EAcDydneQEvL9Yito18JrpB/tp9YOZFvmpIcCUC2IWYn jVRgFb7mSDKiIOs6tOUre65WsRubHQAcbkvuyyisTGYKu2jIJMu4EeovkIYljNdk JoveszXjjeA1pRWjeNSN+ojXsndgO+oqptZyqZZ6AAjEfH4xCft31hELEuQygNwa 9YToXXTg6ho/V2HOqjA+A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeigedgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 May 2024 09:33:23 -0400 (EDT) Content-Language: en-US In-Reply-To: <86plte6ny2.fsf@gnu.org> 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:285618 Archived-At: On 22/05/2024 15:17, Eli Zaretskii wrote: >> Date: Wed, 22 May 2024 02:27:08 +0300 >> Cc:casouri@gmail.com,71070@debbugs.gnu.org >> From: Dmitry Gutov >> >>> I understand all that, but still: can you (or someone else) answer my >>> question about the accepted practices of IDEs in this matter: do they >>> highlight the namespace identifiers differently than other >>> identifiers, or do they use the same highlighting? >> Does the attached screenshot answer the question? It's from VS Code. > Thanks. Not sure I get it completely. It seems like namespace names > are fontified like class names? They are not fontified like > constants. 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).