From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 20 12:33:51 2024 Received: (at submit) by debbugs.gnu.org; 20 Jun 2024 16:33:51 +0000 Received: from localhost ([127.0.0.1]:35667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKKjP-00073g-1H for submit@debbugs.gnu.org; Thu, 20 Jun 2024 12:33:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:46924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKKjN-00073Z-Qf for submit@debbugs.gnu.org; Thu, 20 Jun 2024 12:33:50 -0400 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 1sKKjJ-0004Ew-JM for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 12:33:45 -0400 Received: from dancol.org ([2600:3c01:e000:3d8::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKKjH-0004Wf-Bn for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 12:33:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From:Sender: Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=9bonEHKjj8t5FzZE02NILWL/yqGqZ3WRSCGXi5jxSRk=; b=ehmpPU212KAttefp1Y1uSsw9mS B+vFzeDheVIrIMO+EyaEAdIHCkaqTI46lVGPTJ5Dmw9/oTW9HHwTkyTl+OQJEkJ7ghKTnyaURb7A/ 8/QTZnuowCdpOxXG2SBHClQmpbsRQyJBvljTaa2wXmCuNeWUj6v4vh81QoMXQ9dpfSjMKl8C/HthN u6il2qDKo+/8TdTQotxY5xgESKCpPMV3mkWkzGcxsHK43VnpGil2Nd8WWt7pl8mLzWjprMssnTYH3 yRFFAnga8EG7m6RHDuB0wsCLbBl0Nd1m8Z6svkzZdjIbzjQwTMlqAmkwMAFy3nKRrzgZIlrPm7RW0 qjjPSWgA==; Received: from 223.sub-174-211-229.myvzw.com ([174.211.229.223]:12592 helo=localhost) by dancol.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sKKjC-0008Sj-29 for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 12:33:38 -0400 From: Daniel Colascione To: bug-gnu-emacs@gnu.org Subject: c++-ts-mode with latest tree-sitter-cpp grammar barfs on "virtual" Date: Thu, 20 Jun 2024 12:33:37 -0400 Message-ID: <87frt7vaji.fsf@dancol.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2600:3c01:e000:3d8::1; envelope-from=dancol@dancol.org; helo=dancol.org 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) When using latest master Emacs with latest release tree-sitter and latest version of tree-sitter-cpp, we get an error redisplay in redisplay complaining that the "virtual" keyword in c-ts-mode--keywords is an invalid query. Removing "virtual" from the list in c-ts-mode.el resolves the problem, but of course, results in the "virtual" keyword not being fontified as a keyword. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 20 12:39:59 2024 Received: (at 71680) by debbugs.gnu.org; 20 Jun 2024 16:39:59 +0000 Received: from localhost ([127.0.0.1]:35889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKKpL-0007Gj-57 for submit@debbugs.gnu.org; Thu, 20 Jun 2024 12:39:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKKpI-0007GO-R4; Thu, 20 Jun 2024 12:39:57 -0400 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 1sKKp8-0005gv-Kr; Thu, 20 Jun 2024 12:39:46 -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=28rCFtfUpq7AOn/PG+jBt6pVX7VS5Q3LcLNY7PTKZbc=; b=Xm5swiW8WN0q 6JaSYDcUTwvN78x6uT5S5vXRZVmeXYi2rYf5j8TYF1L4Ea96XHrlmR5yejP6LZ13yOvfMhTKSaEVV gk5E2FgicJOwOT41R1MH9gjVU8OqbTFLYe1H1BMWf9I5zgO6wuv9l4wRXZRM3pKfRWeKzUFUDUlQx QEtH5uotIcErlc66bVSq58BinCOaTrLKjwp2AUt/1JM+bGtLos7ejsSsVm8WB3Q6iC28g12PcP9A8 B+0xzigIg/KzZBTXlqspm9PzfnKDFGacVZnJXTJpDy7e0rLj2h90t8fJ5ugns5aaXaxiTte2dkYx1 zWwoFJNVDZ16baocDg5Orw==; Date: Thu, 20 Jun 2024 19:39:43 +0300 Message-Id: <86tthnmuuo.fsf@gnu.org> From: Eli Zaretskii To: Daniel Colascione , Yuan Fu In-Reply-To: <87frt7vaji.fsf@dancol.org> (message from Daniel Colascione on Thu, 20 Jun 2024 12:33:37 -0400) Subject: Re: bug#71680: c++-ts-mode with latest tree-sitter-cpp grammar barfs on "virtual" References: <87frt7vaji.fsf@dancol.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71680 Cc: 71680@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 71680 71518 thanks > From: Daniel Colascione > Date: Thu, 20 Jun 2024 12:33:37 -0400 > > When using latest master Emacs with latest release tree-sitter and > latest version of tree-sitter-cpp, we get an error redisplay in > redisplay complaining that the "virtual" keyword in c-ts-mode--keywords > is an invalid query. Removing "virtual" from the list in c-ts-mode.el > resolves the problem, but of course, results in the "virtual" keyword > not being fontified as a keyword. Yes, this is a known bug#71518. Yuan, could we please fix it soon? Thanks. From unknown Sat Aug 16 21:12:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 21 Jul 2024 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator