emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61913: closed (java-ts-mode query error for string highlight, due to


From: GNU bug Tracking System
Subject: bug#61913: closed (java-ts-mode query error for string highlight, due to recent commit in tree-sitter-java.)
Date: Thu, 09 Mar 2023 10:26:02 +0000

Your message dated Thu, 09 Mar 2023 12:24:55 +0200
with message-id <835yba2pe0.fsf@gnu.org>
and subject line Re: bug#61913: java-ts-mode query error for string highlight, 
due to recent commit in tree-sitter-java.
has caused the debbugs.gnu.org bug report #61913,
regarding java-ts-mode query error for string highlight, due to recent commit 
in tree-sitter-java.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
61913: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61913
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: java-ts-mode query error for string highlight, due to recent commit in tree-sitter-java. Date: Thu, 02 Mar 2023 13:21:05 +0100
Hi, 
a recent commit in tree-sitter-java 
(https://github.com/tree-sitter/tree-sitter-java/commit/2b3b776b953a34ccffb647dd89732db79690d4c5)
 
removed "text_block" from grammar.js. This causes a bug in java-ts-mode when 
treesit-fon-lock-level is > 1

Error during redeployment: (jit-lock-function 8295) reported 
(treesit-query-error "Node type error at" 42 "(string_literal) 
@font-lock-string-face (text_block) @font-lock-string-face" "Debugging the 
query with `treesit-query-validate'")


The attached patch fixes the problem. 
Thank you very much.

Vincenzo




Attachment: java_ts_mode_string_highlight.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#61913: java-ts-mode query error for string highlight, due to recent commit in tree-sitter-java. Date: Thu, 09 Mar 2023 12:24:55 +0200
> From: Vincenzo Pupillo <v.pupillo@gmail.com>
> Cc: casouri@gmail.com, 61913@debbugs.gnu.org
> Date: Mon, 06 Mar 2023 15:03:46 +0100
> 
> Is this patch okay? Please feel free to make any changes you see fit.

Thanks, installed on the emacs-29 branch.

Btw, this patch all but exhausts the amount of changes we can accept
from you without a copyright assignment.  Would you like to start you
legal paperwork of assigning the copyright to the FSF?  If yes, I will
send you the form to fill.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]