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#66646: 29.1.90; No tsx syntax highlithting in typescript-ts-mode Date: Fri, 20 Oct 2023 13:33:45 +0300 Message-ID: <83r0lpshva.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19892"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66646@debbugs.gnu.org To: rrudakov@fastmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 20 12:34:58 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 1qtmqH-0004sL-5S for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Oct 2023 12:34:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtmpw-0006D5-Mw; Fri, 20 Oct 2023 06:34:36 -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 1qtmpv-0006Cr-OK for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 06:34:35 -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 1qtmpv-0006yt-Dw for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 06:34:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtmqM-0002S5-6Q for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 06:35: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: Fri, 20 Oct 2023 10:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66646 X-GNU-PR-Package: emacs Original-Received: via spool by 66646-submit@debbugs.gnu.org id=B66646.16977980709372 (code B ref 66646); Fri, 20 Oct 2023 10:35:02 +0000 Original-Received: (at 66646) by debbugs.gnu.org; 20 Oct 2023 10:34:30 +0000 Original-Received: from localhost ([127.0.0.1]:38761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtmpq-0002R6-16 for submit@debbugs.gnu.org; Fri, 20 Oct 2023 06:34:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtmpj-0002Qm-Kz for 66646@debbugs.gnu.org; Fri, 20 Oct 2023 06:34:27 -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 1qtmpD-0006ou-3B; Fri, 20 Oct 2023 06:33:51 -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=/g5odfSclRcTl2sALCoxIFYGALnHqp/o9IjAcRyQIU4=; b=Ytsp/pd75alv uSe9PFmHKe26DarU6aiZ56jjfAFhPQNcXUW78ujBToU81a2jWx/tfNPvXIVdivX7zsqq9/s+AStOx UxeuJsoLiS1HbYOzCoZDgUrE6r9p/snrouXVH1adLrgiE4yAXB2py0mAO56IEcFxFi5K5KkQyIJ6k 4qdNHrFJHau7TF+5DLSdPBYtZryRmZpg+D1fJKkw0pTZTE+GqjbxmNuPL//Ct6L5Jh1fdDRE7aJC3 IIMnOgGqew/NHaebZ5IkJ4q04ZCO2/RUgLWN6GfviI6ANVwshBPu41czCRHO9l1n9hRz2dvvKmHp0 Pb1NDcVaeUF6m1Wk5ZJiwg==; In-Reply-To: (message from Roman Rudakov on Fri, 20 Oct 2023 12:13:15 +0200) 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:272785 Archived-At: > From: Roman Rudakov > Date: Fri, 20 Oct 2023 12:13:15 +0200 > > > - install the latest typescript/tsx grammar. > - open a .tsx source file > > I'm getting the following error in the *Messages* buffer: > > Error during redisplay: (jit-lock-function 1) signaled > (treesit-query-error "Structure error at" 22 "(jsx_opening_element > [(nested_identifier (identifier)) (identifier)] > @typescript-ts-jsx-tag-face) (jsx_closing_element [(nested_identifier > (identifier)) (identifier)] @typescript-ts-jsx-tag-face) > (jsx_self_closing_element [(nested_identifier (identifier)) > (identifier)] @typescript-ts-jsx-tag-face) (jsx_attribute > (property_identifier) @typescript-ts-jsx-attribute-face)" "Debug the > query with `treesit-query-validate'") I cannot reproduce this. I used a random *.tsx file on my system, and didn't get any error. So please post the file you used, and also describe step by step what to do to reproduce the problem starting from "emacs -Q". Thanks.