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#63755: 29.0.91; json-ts-mode tree-sitter query error with tree-sitter 0.19 Date: Sat, 27 May 2023 20:24:37 +0300 Message-ID: <83zg5pit62.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13578"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63755@debbugs.gnu.org To: Jimmy Yuen Ho Wong , Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 27 19:25:15 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 1q2xfH-0003HA-P6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 May 2023 19:25:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2xf6-0005ki-8y; Sat, 27 May 2023 13:25: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 1q2xf5-0005kZ-0e for bug-gnu-emacs@gnu.org; Sat, 27 May 2023 13:25: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 1q2xf4-0007HQ-O3 for bug-gnu-emacs@gnu.org; Sat, 27 May 2023 13:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q2xf4-0003UH-JN for bug-gnu-emacs@gnu.org; Sat, 27 May 2023 13:25: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: Sat, 27 May 2023 17:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63755 X-GNU-PR-Package: emacs Original-Received: via spool by 63755-submit@debbugs.gnu.org id=B63755.168520825013316 (code B ref 63755); Sat, 27 May 2023 17:25:02 +0000 Original-Received: (at 63755) by debbugs.gnu.org; 27 May 2023 17:24:10 +0000 Original-Received: from localhost ([127.0.0.1]:52504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2xeE-0003Sh-BA for submit@debbugs.gnu.org; Sat, 27 May 2023 13:24:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2xeB-0003S9-OJ for 63755@debbugs.gnu.org; Sat, 27 May 2023 13:24:08 -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 1q2xe6-0007BZ-7x; Sat, 27 May 2023 13:24:02 -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=CNEqc4Kf0N6sBP1XlRsFgmE/7XRnCjour7sqdIefv6c=; b=K9lpaCibYAnz FPRnOEQ7RnLiKckxIawSBgbOwdFmD5RHG5Q4NZdsj3RIgJkrDSu78WgBMb1h4OrIdzbDAXfC4PYrB BYzbF4X3WPIBm1hBNHK6J3LENoH3GEpNfC9gVV2xU7WkLDgFa0qsOFjZjzWLBwyS5ABKm34gLpUgj 8lNXsXep55EIPDJd7yWl3yQ5KvkDJC5oUhlrC4t1wSd5aaejx78gcSvczRX1EJZwAdmpEqrCKxhEc Abi9nCjpY8eYKM0gWEaNFs02JuqS12XgdpqpIQKSjRouyUmvStrBYHz/7MEAHi50/1gF9xohozOQY 476XdahO5TLtoKWnIMyRXg==; 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 1q2xe5-00075V-Ng; Sat, 27 May 2023 13:24:02 -0400 In-Reply-To: (message from Jimmy Yuen Ho Wong on Sat, 27 May 2023 16:31: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:262482 Archived-At: > From: Jimmy Yuen Ho Wong > Date: Sat, 27 May 2023 16:31:14 +0100 > > > Reproduction: > > 1. echo '{ "hello" : 1 }' > test.json > 2. open /path/to/ns-port-emacs-29 ./test.json --args -q > 3. M-x json-ts-mode > 4. Observe font-lock is not working in the buffer and the following > message in the *Messages* buffer: > > ``` > Error during redisplay: (jit-lock-function 1) signaled (treesit-query-error "Node type error at" 2 "(comment) @font-lock-comment-face" "Debug the query with `treesit-query-validate'") > ``` I cannot reproduce this: the font-lock works fine for me, and I see no error messages in *Messages*. Maybe your JSON grammar is not the latest one or something? Yuan, could you please look into this?