From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Randy Taylor Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <86y19nw1mh.fsf@gnu.org> <09BC30DC-A05E-4FF9-900F-C510C2AC04CE@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30328"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuan Fu , 70299@debbugs.gnu.org, Eli Zaretskii To: Martin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 10 01:23:11 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ruKo2-0007f8-JN for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Apr 2024 01:23:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ruKnq-0003JV-8s; Tue, 09 Apr 2024 19:22:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ruKno-0003JB-6I for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2024 19:22:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ruKnl-00081p-UP for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2024 19:22:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ruKnu-0004yM-5X for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2024 19:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Randy Taylor Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Apr 2024 23:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70299 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 70299-submit@debbugs.gnu.org id=B70299.171270496319039 (code B ref 70299); Tue, 09 Apr 2024 23:23:02 +0000 Original-Received: (at 70299) by debbugs.gnu.org; 9 Apr 2024 23:22:43 +0000 Original-Received: from localhost ([127.0.0.1]:51766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruKnb-0004x0-0M for submit@debbugs.gnu.org; Tue, 09 Apr 2024 19:22:43 -0400 Original-Received: from mail-4323.proton.ch ([185.70.43.23]:24841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruKnZ-0004wF-Bq for 70299@debbugs.gnu.org; Tue, 09 Apr 2024 19:22:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rjt.dev; s=protonmail2; t=1712704947; x=1712964147; bh=Rx5wc3joa1J16pb6dEqV1wpnJAfAaZWnVfkS01lDlok=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=lwYB1bPixvqs2w1+tmvkN9GmbSoF4OY2gKwDbb7eDmQuJXmZ5+IpHJ5lAHk3teObz DMQ7iaUYtiL+izVs0jVrt6JBJkIHTtXrz/uC6UnXch9Egw9la2OOspYl0NrLYbEWtD OYW+aeYmVk7E9pUTgTRAtHtAL+/etBD5awOwp6pknqbEb1J2vzbJvF1n1ltSvUCbQK MIPf7vjfJD0LDED2maIqQ44rjaLiCxdop0nu1peB4fv8k7Bh6sGCQ3Q026+kDfQeZm /WwnaR1rxqEA+JY0VjUQFaYwBHU7qrKKj24Nj9bzwga+BljbanBN0qYLLJ7ZBvqwKq iqzD0RSvpMiMg== In-Reply-To: Feedback-ID: 44397038:user:proton X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:283017 Archived-At: On Tuesday, April 9th, 2024 at 09:08, Martin via "Bug reports for GNU Emacs= , the Swiss army knife of text editors" wrote: > I can see this in *Messages* >=20 > > Error during redisplay: (jit-lock-function 6092) signaled (treesit-quer= y-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-l= ock-variable-name-face) (short_var_declaration left: (expression_list (iden= tifier) @font-lock-variable-name-face (\",\" (identifier) @font-lock-variab= le-name-face) *)) (var_spec name: (identifier) @font-lock-variable-name-fac= e (\",\" name: (identifier) @font-lock-variable-name-face) *)" "Debug the q= uery with `treesit-query-validate'") >=20 >=20 > On Tue, Apr 9, 2024 at 12:55=E2=80=AFPM Martin wrote: >=20 > > 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?