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#64830: 30.0.50 C++ treesitter mode no coloration Date: Thu, 15 Aug 2024 08:25:34 +0300 Message-ID: <868qwy8ii9.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38900"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64830@debbugs.gnu.org To: Alan Mackenzie , Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 15 07:28:42 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 1seT2P-0009vs-K8 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Aug 2024 07:28:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1seT2C-0003hF-2u; Thu, 15 Aug 2024 01:28:28 -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 1seT2A-0003gu-JG for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2024 01:28:26 -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 1seT2A-0002Z8-9z for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2024 01:28:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=VqhhuLpKgXjaY3zkcEwStCe3KwcV39j7ucWLPGXchZ4=; b=R6XZkPgHKnGeR8S/90DagpGEO954NImfdcwimkYRRxCUFBrC7LUBeWTaGHBK9S90AiSjFSnmWM4OS1mI3FDAi1GcXO8H6gD2Evk2neefuFGqJGcrqP0BiLjDAww0BQv3ew3X9R8frIeuHSmmfcqx9070qvzP2ZnvvXANswxMKcjQiPS46GyasVQVbgqxrLJUOukALmc4UKJZ5L+T4SW5pEojT2CFcelg68T+XBjy1e8qOZiMssJWOaDXeaUWmCX95CAVYAwo84AQymlkrJYarbmglzLgh+nQHbTjder10wJgrG0tUw1GILvkaWX7/jXZsK/FtfvLxRKDAwLy4Rc1RA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1seT2j-0000am-Ve for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2024 01:29: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, 15 Aug 2024 05:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64830 X-GNU-PR-Package: emacs Original-Received: via spool by 64830-submit@debbugs.gnu.org id=B64830.17236997132231 (code B ref 64830); Thu, 15 Aug 2024 05:29:01 +0000 Original-Received: (at 64830) by debbugs.gnu.org; 15 Aug 2024 05:28:33 +0000 Original-Received: from localhost ([127.0.0.1]:48169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seT2H-0000Zu-Hj for submit@debbugs.gnu.org; Thu, 15 Aug 2024 01:28:33 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:32954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seT2F-0000Zh-DD for 64830@debbugs.gnu.org; Thu, 15 Aug 2024 01:28:32 -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 1seSzS-0002DW-SH; Thu, 15 Aug 2024 01:25:38 -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=VqhhuLpKgXjaY3zkcEwStCe3KwcV39j7ucWLPGXchZ4=; b=pVhKOTt03HBu 6Khf2eo08UuR4qDZRL2XKY23hgzeNuPTTRUokT4rlPiwvO1qg3uepQ+WoSSk7rMVZ8i+Z0K1rW82/ hLYfHg7gXhsLIUxZEsziP2V992xOzBPROPYo8BKkpBTIvsE+Kx95F1aaeGlGf0ZSouGBAITFcwJXL INDMfMkX3H1BGuB/ZboyrKrpk5Z9PXxv+XZtl3n2KLDZTaClklmjbCGrSxDR9sICcgMlc/jL6hDUM fytVqCQnmt9h+eMZRA9WfCF+s9OitNM5/y9wJ90qCrJwh+GnneLcA8avhw/OPF3fY+CQ1IoL9vSvL eaWI4t5KY/i5MTkYLSWJrg==; In-Reply-To: (message from Alan Mackenzie on Wed, 14 Aug 2024 17:35:05 +0000) 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:290160 Archived-At: > Date: Wed, 14 Aug 2024 17:35:05 +0000 > From: Alan Mackenzie > > Hello, Emacs. > > In my emacs-30 build (updated earlier today), C++ source in c++-ts-mode > is not getting fontified, except for comments and preprocessor > constructs. I cannot reproduce this, at least not with a random C++ source file I tried to. Does this happen for you in "emacs -Q" and for every C++ file? If this happens with any file and in 'emacs -Q", do you see redisplay error messages in *Messages*? If so, what are those messages? > I think I'm using tree-sitter-cpp version 0.22.2 as downloaded from the > Gentoo repository. Is there an easy way to check this from inside > Emacs? No, not AFAIK. And the problem is not the version of tree-sitter, it is usually the version of the C++ grammar library. Do you know the version of that one you have installed? > This would appear to be bug 64818/64830, which are still open in > debbugs. Shouldn't they be closed before the first/next emacs-30 > pretest? Those bugs were fixed. The reason they are not closed is that we raised a more general issue there, and that is not yet resolved.