From: Eli Zaretskii <eliz@gnu.org>
To: Vincenzo Pupillo <v.pupillo@gmail.com>
Cc: 71518@debbugs.gnu.org, casouri@gmail.com
Subject: bug#71518: 30.0.50; Errors during redisplay with c++-ts-mode
Date: Sat, 22 Jun 2024 19:56:34 +0300 [thread overview]
Message-ID: <861q4ohq65.fsf@gnu.org> (raw)
In-Reply-To: <7030786.9J7NaK4W3v@fedora> (message from Vincenzo Pupillo on Sat, 22 Jun 2024 18:14:54 +0200)
> From: Vincenzo Pupillo <v.pupillo@gmail.com>
> Cc: casouri@gmail.com, 71518@debbugs.gnu.org
> Date: Sat, 22 Jun 2024 18:14:54 +0200
>
> > > fortunately, this time it was easier than usual!
> >
> > Thanks, but this change will _require_ the new version of the grammar
> > library, right? I think we usually fix these problems in a way that
> > both the old and the new versions are supported, because people could
> > have different versions installed.
>
> In the tests I have done, it works with both the new and the old grammar.
>
> >
> > Could you please amend the fix along these lines?
> Okay, done. Can this be okay?
Hmm... I still see an error message in *Messages* after installing
this (I have grammar library version 0.22.2):
Error during redisplay: (jit-lock-function 1) signaled (treesit-query-error "Node type error at" 2 "(virtual) @font-lock-keyword-face [\"auto\" \"_Atomic\" \"break\" \"case\" \"const\" \"continue\" \"default\" \"do\" \"else\" \"enum\" \"extern\" \"for\" \"goto\" \"if\" \"inline\" \"register\" \"restrict\" \"return\" \"sizeof\" \"static\" \"struct\" \"switch\" \"typedef\" \"union\" \"volatile\" \"while\"] @font-lock-keyword-face" "Debug the query with `treesit-query-validate'")
Any ideas or suggestions? "virtual" is highlighted, though, so I
guess this is a matter of suppressing the errors or something?
Thanks.
next prev parent reply other threads:[~2024-06-22 16:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-12 12:33 bug#71518: 30.0.50; Errors during redisplay with c++-ts-mode Eli Zaretskii
2024-06-12 13:53 ` Vincenzo Pupillo
2024-06-13 6:51 ` Yuan Fu
2024-06-13 8:24 ` Eli Zaretskii
2024-06-13 8:57 ` Vincenzo Pupillo
2024-06-22 8:26 ` Eli Zaretskii
2024-06-22 14:42 ` Vincenzo Pupillo
2024-06-22 15:57 ` Eli Zaretskii
2024-06-22 16:14 ` Vincenzo Pupillo
2024-06-22 16:56 ` Eli Zaretskii [this message]
2024-06-22 17:03 ` Eli Zaretskii
2024-06-22 17:59 ` Vincenzo Pupillo
2024-06-22 18:15 ` Eli Zaretskii
2024-06-22 18:15 ` Vincenzo Pupillo
2024-06-22 18:19 ` Eli Zaretskii
2024-06-22 23:18 ` Yuan Fu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=861q4ohq65.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=71518@debbugs.gnu.org \
--cc=casouri@gmail.com \
--cc=v.pupillo@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.