From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63086: 29.0.90; go-ts-mode treesit-query-error during jit-lock Date: Wed, 26 Apr 2023 13:36:16 +0300 Message-ID: <83r0s7szfj.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20019"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63086@debbugs.gnu.org To: Jimmy Yuen Ho Wong , Randy Taylor , Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 26 12:37:14 2023 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 1prcWO-00050l-Rd for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Apr 2023 12:37:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prcWF-0007BO-V5; Wed, 26 Apr 2023 06:37:04 -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 1prcWE-0007Ah-ST for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2023 06:37:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1prcWE-0002Y1-Jf for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2023 06:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1prcWE-0004Av-1s for bug-gnu-emacs@gnu.org; Wed, 26 Apr 2023 06:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Apr 2023 10:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63086 X-GNU-PR-Package: emacs Original-Received: via spool by 63086-submit@debbugs.gnu.org id=B63086.168250536515981 (code B ref 63086); Wed, 26 Apr 2023 10:37:02 +0000 Original-Received: (at 63086) by debbugs.gnu.org; 26 Apr 2023 10:36:05 +0000 Original-Received: from localhost ([127.0.0.1]:54372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prcVI-00049g-JA for submit@debbugs.gnu.org; Wed, 26 Apr 2023 06:36:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prcVG-000494-TC for 63086@debbugs.gnu.org; Wed, 26 Apr 2023 06:36:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prcVB-0002Nj-BG; Wed, 26 Apr 2023 06:35:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=7B5Cd0pIY4iUN43QkMT4Ml15IN384tk2oxZuclLNLdA=; b=TeDNswRIMxeu ZyCZYJ5vED288kr3udwIinFiE4b0n8wIxWskqXAEdanP+30UOlHFQ3OTtQRObEWstjRr6IZ+2THQl sSqH4wQOe3xB7YJgXK6Lpg+pNMDsW71xH78zZoRV+CQ1nep7OqhcwtEDDWpvqIovTwhNpUiW1B2N/ JtE7YmcEmQqNqX8o2qhW7CYoPBurexm3xMWcghNZNVrZAGfxfez4bJNKOGmCkK5Pgkx8bevrgD6ys S3VRfeZOitA3Kew4tbIgs15r36ymH7POrrOD06gLYr1574LM8LayuUWjkyNlY3r4B/33t1jZS9kTN hayweNNzCeeRZlQ1lVFAlg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prcV8-0006sT-BS; Wed, 26 Apr 2023 06:35:56 -0400 In-Reply-To: (message from Jimmy Yuen Ho Wong on Wed, 26 Apr 2023 11:00:14 +0100) 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:260663 Archived-At: > From: Jimmy Yuen Ho Wong > Date: Wed, 26 Apr 2023 11:00:14 +0100 > > > After visiting a go file and turning on M-x go-ts-mode, this following > message appears in the *Messages* buffer and the go buffer is not > highlighted as a result. > > QuitError during redisplay: (jit-lock-function 1) signaled (treesit-query-error "Node type error at" 11 "[(false) (iota) (nil) (true)] @font-lock-constant-face (const_declaration (const_spec name: (identifier) @font-lock-constant-face))" "Debug the query with `treesit-query-validate'") > Error during redisplay: (jit-lock-function 1) signaled (treesit-query-error "Node type error at" 11 "[(false) (iota) (nil) (true)] @font-lock-constant-face (const_declaration (const_spec name: (identifier) @font-lock-constant-face))" "Debug the query with `treesit-query-validate'") Can you post a minimal file that triggers this? Or are you saying that any Go file will cause this? Thanks.