From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71070: 30.0.50; c++-ts-mode namespace wrong fontification. Date: Sun, 19 May 2024 20:14:19 +0200 Message-ID: <87h6et6550.fsf@aol.com> References: <87h6et6550.fsf.ref@aol.com> Reply-To: Ergus Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20352"; mail-complaints-to="usenet@ciao.gmane.io" To: 71070@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 19 20:15:20 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 1s8l44-00059y-5G for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 May 2024 20:15:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8l3l-0003l3-3f; Sun, 19 May 2024 14:15:01 -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 1s8l3j-0003kf-Ht for bug-gnu-emacs@gnu.org; Sun, 19 May 2024 14:14:59 -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 1s8l3i-000614-Rd for bug-gnu-emacs@gnu.org; Sun, 19 May 2024 14:14:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s8l3m-0004WF-LA for bug-gnu-emacs@gnu.org; Sun, 19 May 2024 14:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ergus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 May 2024 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71070 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171614247917328 (code B ref -1); Sun, 19 May 2024 18:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 May 2024 18:14:39 +0000 Original-Received: from localhost ([127.0.0.1]:37359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8l3O-0004VQ-Qi for submit@debbugs.gnu.org; Sun, 19 May 2024 14:14:39 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8l3N-0004VK-4V for submit@debbugs.gnu.org; Sun, 19 May 2024 14:14:37 -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 1s8l3H-0003jJ-RF for bug-gnu-emacs@gnu.org; Sun, 19 May 2024 14:14:32 -0400 Original-Received: from sonic308-2.consmr.mail.bf2.yahoo.com ([74.6.130.41]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s8l3F-0005zD-EQ for bug-gnu-emacs@gnu.org; Sun, 19 May 2024 14:14:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1716142466; bh=nV+cYoh+8xBpZtCVuhduGk7fLHuclhVNH957H+tqo0w=; h=From:To:Cc:Subject:Date:References:From:Subject:Reply-To; b=QP+nzM1vb7rFw6YHO2IIH5YEGpWkCIwXUVoqfpqEXFpL8n0JBP7sJQaZDpsAj5moO7CUR8F5cLv2/lAZur6ScJgfff9kGvrOFoXo4tBSCmrNN6+YSb2O5Mkt3jjHa+5pql3WwF8BzzqiTxbbnvLowCC7TIuzrHV+eIoCjsfEwAWx3G2NFk+wAodUJCuTtyNDmmazWTc5vdEsUKvzeEQ0q0Wrw/uHSEMzb8/2D6p2zU2gI8+Tc7YEMlODX6zB56tMv5x/EM4RMUvo66mm3aKddJI14ajHgyVuSEx3uk2vy5vRMNZiz3OdvFUW/4eucenQ3mvwv3/5mtbOXlizHxmtrg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1716142466; bh=TlianOV0/P1HKYARskGihVXPqOg6Hqgg4+/wMQTP9NC=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=NNiPCa8UZNpcenlRl58ke30iDxNdhhaDG7+RGc9tbeM1nCAbKHn1jgvzPetn8pupFJvnKm6hnFlxXyV1NOqu2A/t1V7cHLdQGbipaLBH9mi3JtwYBAfPbkG0fusAg1ZXe09TY9IJHgQTXrV4j9RxCLe/EqjqSQazWY1C2WnlPnDRss764/LSBWp5FQaxNeoM+ahOO73yznfNe+hB1bC0T/0/2IjnKNHoqZQmRfPTzQCXicKesn6cdoBtk8LZdzdTuBChB9KJkC7k/nb1m+1E7pt58Ubz9d1Ef4tLKtPrJMS8VsMb8s2W5HJ+4tXhY4OHL+obta1N59dxBYgmo2JMVQ== X-YMail-OSG: V1jL1usVM1m9iG2O8pv.MjI3MmkgbPjSR42LRFT9nWr.R6grLk2epCA68DEpBZ_ K8cxIHiZxMdghyC8._Uj5SThiMABcaY13HFPAXSznOzTCNZ.9zRe0Ju5ytVN.w.p7FvS3Uu4o1VA 5fNgHE7uvnWIDc6DQY9vIWFB8PBVzddwxZDixzaSCsbeNRtjQJoZk1RbdacXEWfZQF1QtoYYtVMl bgnQSkUN5irpO_IhK7kj8r0CnaKUhc130o6PkWD2HAH1Kl2NXUAPkKzVP.qyEDeW0cyhxhSUtRQ7 4or2X4iGnBB3LsHprXNL5CYvd.3pwkrxGyFQpuW6W1JoDgY27.iVEFGEIQ70j64_UnIDIZvSyQHh YK3xBpY8elzPoTe63eYL86LOBEcY8boN1tdmTmceIXhwizkxfZumAzlwLxrkKLlcKJhGxQM9nrQq n0_Mxk31g5oIktk8qV_wtTtqXzojQAFg90fhuORCKOLY2HD7mTKj.OkGPjsI0xQhdmco93615AtV FIgXDvhQEDfhvIzA9zljT4QfGRm0cs7F9wq5ACKWq6kEr9YSkYF0OFmEN86z26zEuXeDsxb0zFgv BwY0EV4sm4NpH27k1esZS9TqGGhqFdROJQJo2weSfvKCpmooXcRKMlyYTFHLkX2CHqy86oUzoT5. 4uGM3tJSd.wy0KQhpjWIVxuBi528z5hjxbYHTVq7pvlN9lGttqswCv_NCgT7hM_ZwadBLtm9OuaZ uj.IwsyaQPdUoXnfA5w2YFu9OlkSNEShzJoBYeqEcM2naVpYZPspDs3NXNQ1SrFuVwAjTK96RhzB cLFN_wS_Mz6Yiq73ABSmWMPvYXjQtTt.EhlIrYF3X_ X-Sonic-MF: X-Sonic-ID: 420b4567-d89f-4b88-a388-5aee9c1c9e2f Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.bf2.yahoo.com with HTTP; Sun, 19 May 2024 18:14:26 +0000 Original-Received: by hermes--production-ir2-7b99fc9bb6-nxv6t (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID b95119d6abeb828f17c188496e74c12e; Sun, 19 May 2024 18:14:21 +0000 (UTC) X-Mailer: WebService/1.1.22356 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.130.41; envelope-from=spacibba@aol.com; helo=sonic308-2.consmr.mail.bf2.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:285443 Archived-At: Following up the conversation in the develops mailing list I will report this issue still happening: In c++-ts-mode, the namespaces are not fontified like in c++-mode (i.e in std::string the `std` used to have font-lock-constant-face while `string` used to have font-lock-type-face). It seems like tresitter identifies them properly like (namespace_identifier) and (type_identifier), but the fontification rule is wrong. There was an attempt to fix it in c6a5aae3da17459be7550c but the issue is still there. Best, Ergus