GNU bug report logs - #71680
c++-ts-mode with latest tree-sitter-cpp grammar barfs on "virtual"

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Thu, 20 Jun 2024 16:34:01 UTC

Severity: normal

Merged with 71518

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71680 in the body.
You can then email your comments to 71680 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#71680; Package emacs. (Thu, 20 Jun 2024 16:34:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Colascione <dancol <at> dancol.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 20 Jun 2024 16:34:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Daniel Colascione <dancol <at> dancol.org>
To: bug-gnu-emacs <at> gnu.org
Subject: c++-ts-mode with latest tree-sitter-cpp grammar barfs on "virtual"
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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71680; Package emacs. (Thu, 20 Jun 2024 16:40:02 GMT) Full text and rfc822 format available.

Message #8 received at 71680 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Daniel Colascione <dancol <at> dancol.org>,
 Yuan Fu <casouri <at> gmail.com>
Cc: 71680 <at> debbugs.gnu.org
Subject: Re: bug#71680: c++-ts-mode with latest tree-sitter-cpp grammar barfs
 on "virtual"
Date: Thu, 20 Jun 2024 19:39:43 +0300
merge 71680 71518
thanks

> From: Daniel Colascione <dancol <at> dancol.org>
> 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.




Merged 71518 71680. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 20 Jun 2024 16:40:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 21 Jul 2024 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 25 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.