* bug#73191: Acknowledgement (30.0.91; missing some keywords in c++-ts-mode) [not found] ` <handler.73191.B.172612294420292.ack@debbugs.gnu.org> @ 2024-09-12 6:40 ` Yang Yingchao via Bug reports for GNU Emacs, the Swiss army knife of text editors 2024-09-14 10:05 ` Eli Zaretskii 0 siblings, 1 reply; 4+ messages in thread From: Yang Yingchao via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-09-12 6:40 UTC (permalink / raw) To: 73191 On Thu, Sep 12 2024, GNU bug Tracking System wrote: Update: `virtual` works fine, only `thread_local` is not highlighted... > Thank you for filing a new bug report with debbugs.gnu.org. > > This is an automatically generated reply to let you know your message > has been received. > > Your message is being forwarded to the package maintainers and other > interested parties for their attention; they will reply in due course. > > Your message has been sent to the package maintainer(s): > bug-gnu-emacs@gnu.org > > If you wish to submit further information on this problem, please > send it to 73191@debbugs.gnu.org. > > Please do not send mail to help-debbugs@gnu.org unless you wish > to report a problem with the Bug-tracking system. ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#73191: Acknowledgement (30.0.91; missing some keywords in c++-ts-mode) 2024-09-12 6:40 ` bug#73191: Acknowledgement (30.0.91; missing some keywords in c++-ts-mode) Yang Yingchao via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-09-14 10:05 ` Eli Zaretskii 2024-09-14 18:11 ` Yuan Fu 0 siblings, 1 reply; 4+ messages in thread From: Eli Zaretskii @ 2024-09-14 10:05 UTC (permalink / raw) To: Yang Yingchao, Yuan Fu; +Cc: 73191 > Date: Thu, 12 Sep 2024 14:40:26 +0800 > From: Yang Yingchao via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org> > > On Thu, Sep 12 2024, GNU bug Tracking System wrote: > > Update: `virtual` works fine, only `thread_local` is not highlighted... Yuan, Could you please look at this? It sounds like we lack "thread_local" (and also "virtual"?) in c-ts-mode--keywords. But when I tried to add them I found a more serious problem: with the current C++ grammar library I see the following messages in *Messages*: Error during redisplay: (jit-lock-function 1) signaled (treesit-query-error "Node type error at" 677 "[\"_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\" \"and\" \"and_eq\" \"bitand\" \"bitor\" \"catch\" \"class\" \"co_await\" \"co_return\" \"co_yield\" \"compl\" \"concept\" \"consteval\" \"constexpr\" \"constinit\" \"decltype\" \"delete\" \"explicit\" \"final\" \"friend\" \"mutable\" \"namespace\" \"new\" \"noexcept\" \"not\" \"not_eq\" \"operator\" \"or\" \"or_eq\" \"override\" \"private\" \"protected\" \"public\" \"requires\" \"template\" \"throw\" \"try\" \"typename\" \"using \" \"xor\" \"xor_eq\"] @font-lock-keyword-face (auto) @font-lock-keyword-face (this) @font-lock-keyword-face (virtual) @font-lock-keyword-face" "Debug the query with `treesit-query-validate'") Could you please look at this and fix it ASAP, since this is affecting the release branch? TIA ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#73191: Acknowledgement (30.0.91; missing some keywords in c++-ts-mode) 2024-09-14 10:05 ` Eli Zaretskii @ 2024-09-14 18:11 ` Yuan Fu 2024-09-14 19:06 ` Eli Zaretskii 0 siblings, 1 reply; 4+ messages in thread From: Yuan Fu @ 2024-09-14 18:11 UTC (permalink / raw) To: Eli Zaretskii; +Cc: Yang Yingchao, 73191-done > On Sep 14, 2024, at 3:05 AM, Eli Zaretskii <eliz@gnu.org> wrote: > >> Date: Thu, 12 Sep 2024 14:40:26 +0800 >> From: Yang Yingchao via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org> >> >> On Thu, Sep 12 2024, GNU bug Tracking System wrote: >> >> Update: `virtual` works fine, only `thread_local` is not highlighted... > > Yuan, > > Could you please look at this? > > It sounds like we lack "thread_local" (and also "virtual"?) in > c-ts-mode--keywords. But when I tried to add them I found a more > serious problem: with the current C++ grammar library I see the > following messages in *Messages*: > > Error during redisplay: (jit-lock-function 1) signaled (treesit-query-error "Node type error at" 677 "[\"_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\" \"and\" \"and_eq\" \"bitand\" \"bitor\" \"catch\" \"class\" \"co_await\" \"co_return\" \"co_yield\" \"compl\" \"concept\" \"consteval\" \"constexpr\" \"constinit\" \"decltype\" \"delete\" \"explicit\" \"final\" \"friend\" \"mutable\" \"namespace\" \"new\" \"noexcept\" \"not\" \"not_eq\" \"operator\" \"or\" \"or_eq\" \"override\" \"private\" \"protected\" \"public\" \"requires\" \"template\" \"throw\" \"try\" \"typename\" \"using\" \"xor\" \"xor_eq\"] @font-lock-keyword-face (auto) @font-lock-keyword-face (this) @font-lock-keyword-face (virtual) @font-lock-keyword-face" "Debug the query with `treesit-query-validate'") > > Could you please look at this and fix it ASAP, since this is affecting > the release branch? > > TIA Yeah, sorry that I missed this report. And lol, tree-sitter-cpp changed “virtual” to (virtual) in May and then changed it back a few days ago. I added “thread_local" keyword and added logic to use (virtual) or “virtual” depending on the grammar. Yuan ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#73191: Acknowledgement (30.0.91; missing some keywords in c++-ts-mode) 2024-09-14 18:11 ` Yuan Fu @ 2024-09-14 19:06 ` Eli Zaretskii 0 siblings, 0 replies; 4+ messages in thread From: Eli Zaretskii @ 2024-09-14 19:06 UTC (permalink / raw) To: Yuan Fu; +Cc: yang.yingchao, 73191 > From: Yuan Fu <casouri@gmail.com> > Date: Sat, 14 Sep 2024 11:11:19 -0700 > Cc: Yang Yingchao <yang.yingchao@qq.com>, > 73191-done@debbugs.gnu.org > > > Error during redisplay: (jit-lock-function 1) signaled (treesit-query-error "Node type error at" 677 "[\"_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\" \"and\" \"and_eq\" \"bitand\" \"bitor\" \"catch\" \"class\" \"co_await\" \"co_return\" \"co_yield\" \"compl\" \"concept\" \"consteval\" \"constexpr\" \"constinit\" \"decltype\" \"delete\" \"explicit\" \"final\" \"friend\" \"mutable\" \"namespace\" \"new\" \"noexcept\" \"not\" \"not_eq\" \"operator\" \"or\" \"or_eq\" \"override\" \"private\" \"protected\" \"public\" \"requires\" \"template\" \"throw\" \"try\" \"typename\" \"us ing\" \"xor\" \"xor_eq\"] @font-lock-keyword-face (auto) @font-lock-keyword-face (this) @font-lock-keyword-face (virtual) @font-lock-keyword-face" "Debug the query with `treesit-query-validate'") > > > > Could you please look at this and fix it ASAP, since this is affecting > > the release branch? > > > > TIA > > Yeah, sorry that I missed this report. And lol, tree-sitter-cpp changed “virtual” to (virtual) in May and then changed it back a few days ago. > > I added “thread_local" keyword and added logic to use (virtual) or “virtual” depending on the grammar. Thanks. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-14 19:06 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <87o74tmldd.fsf@qq.com> [not found] ` <handler.73191.B.172612294420292.ack@debbugs.gnu.org> 2024-09-12 6:40 ` bug#73191: Acknowledgement (30.0.91; missing some keywords in c++-ts-mode) Yang Yingchao via Bug reports for GNU Emacs, the Swiss army knife of text editors 2024-09-14 10:05 ` Eli Zaretskii 2024-09-14 18:11 ` Yuan Fu 2024-09-14 19:06 ` Eli Zaretskii
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.