all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Randy Taylor <dev@rjt.dev>
To: Martin <martin.tang365@googlemail.com>
Cc: Yuan Fu <casouri@gmail.com>,
	70299@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
Subject: bug#70299: 30.0.50; go-ts-mode + tree-sitter-go@v0.20.0 no highlighting
Date: Tue, 09 Apr 2024 23:22:18 +0000	[thread overview]
Message-ID: <a9ZfAYoNwjWMiYuIRSsaOFmLQicmWtIzYXcnJb2TACXLP4r3QjYEMTjZshw7KAx4gKP8_d6BDVz1u75vM4KQaXYNssjbI2UDDOXADSmQrJ4=@rjt.dev> (raw)
In-Reply-To: <CAJ5J3JeQw5zmPhbFyZDjmFBTswr1h7jO+iu=bwcQwHCHe1SXAQ@mail.gmail.com>

On Tuesday, April 9th, 2024 at 09:08, Martin via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org> wrote:
> I can see this in *Messages*
> 
> > Error during redisplay: (jit-lock-function 6092) signaled (treesit-query-error "Node type error at" 150 "(function_declaration name: (identifier) @font-lock-function-name-face) (method_declaration name: (field_identifier) @font-lock-function-name-face) (method_spec name: (field_identifier) @font-lock-function-name-face) (field_declaration name: (field_identifier) @font-lock-property-name-face) (parameter_declaration name: (identifier) @font-lock-variable-name-face) (short_var_declaration left: (expression_list (identifier) @font-lock-variable-name-face (\",\" (identifier) @font-lock-variable-name-face) *)) (var_spec name: (identifier) @font-lock-variable-name-face (\",\" name: (identifier) @font-lock-variable-name-face) *)" "Debug the query with `treesit-query-validate'")
> 
> 
> On Tue, Apr 9, 2024 at 12:55 PM Martin <martin.tang365@googlemail.com> wrote:
> 
> > I tried manually applying that patch to my local emacs - it didn't seem to fix the issue of no syntax highlighting?
>>

The patch fixes it for me.

How did you apply the patch?

Perhaps the stale bytecompiled go-ts-mode.elc is used instead - can you try either regenerating it or setting load-prefer-newer to t and trying again?






  reply	other threads:[~2024-04-09 23:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-08 23:43 bug#70299: 30.0.50; go-ts-mode + tree-sitter-go@v0.20.0 no highlighting Martin via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-09  5:23 ` Eli Zaretskii
2024-04-09  5:47   ` Yuan Fu
2024-04-09 11:55     ` Martin via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-09 13:08       ` Martin via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-09 23:22         ` Randy Taylor [this message]
2024-04-10  8:38           ` Martin via Bug reports for GNU Emacs, the Swiss army knife of text editors

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='a9ZfAYoNwjWMiYuIRSsaOFmLQicmWtIzYXcnJb2TACXLP4r3QjYEMTjZshw7KAx4gKP8_d6BDVz1u75vM4KQaXYNssjbI2UDDOXADSmQrJ4=@rjt.dev' \
    --to=dev@rjt.dev \
    --cc=70299@debbugs.gnu.org \
    --cc=casouri@gmail.com \
    --cc=eliz@gnu.org \
    --cc=martin.tang365@googlemail.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.