From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#75422: 30.0.93; [PATCH] forward-sexp and backward-sexp jump outside of comments in tsx-ts-mode Date: Thu, 09 Jan 2025 09:51:20 +0200 Organization: LINKOV.NET Message-ID: <87frlswhl3.fsf@mail.linkov.net> References: <87ldvmjz7o.fsf@mail.linkov.net> <07F33B09-D0C4-4C6A-8F80-10E2173D92FF@gmail.com> <87frltlpfz.fsf@mail.linkov.net> <861pxd4fgf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6692"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: seventhepg@gmail.com, casouri@gmail.com, 75422@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 09 08:52:17 2025 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 1tVnKy-0001az-ML for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jan 2025 08:52:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVnKm-0005Vb-Bj; Thu, 09 Jan 2025 02:52:04 -0500 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 1tVnKl-0005Ue-67 for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 02:52:03 -0500 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 1tVnKk-0003RO-O3 for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 02:52:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=2fboLMlfww2YvCPpvX5Z/Eccs9qQKQygdPN6/eCZ3UI=; b=FaULIXdj6vhj7x5AFAFS4m0O/mpz9z8JFrQCZH5MGWPCF7y7s//z8igkHHv92hiuaX7beO4GGoFp4JLrHAGb95g+hJU1TDH2OPp2xLYGrQNALyJaCW57UlBREAZL3JEFKiHZ8tKX2qiaEk85gCCDnzAA7bK2fRQ9vdOTbeF8jUImV3n+Psl/F5Ea44TTA3immC4uj9oxuG+yfzpcj/eerHc445h+vLJMh/CwW+y9uCDeXSZ6hwsczMFycaIidahlcWMYg+Hq9D4aUDvCPMbBiFPINcbMoz/M2vp0d8x4ekuSh2oTIG6Sz6wM2mFCB6rVxjtkkXmYWUn9kD7e8bQTGg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVnKk-0008AA-9q for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 02:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Jan 2025 07:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75422 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 75422-submit@debbugs.gnu.org id=B75422.173640912031365 (code B ref 75422); Thu, 09 Jan 2025 07:52:02 +0000 Original-Received: (at 75422) by debbugs.gnu.org; 9 Jan 2025 07:52:00 +0000 Original-Received: from localhost ([127.0.0.1]:50287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVnKi-00089m-Gd for submit@debbugs.gnu.org; Thu, 09 Jan 2025 02:52:00 -0500 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:41029) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVnKf-00089K-TS; Thu, 09 Jan 2025 02:51:59 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 92DE120005; Thu, 9 Jan 2025 07:51:44 +0000 (UTC) In-Reply-To: <861pxd4fgf.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 08 Jan 2025 15:12:32 +0200") X-GND-Sasl: juri@linkov.net 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:298814 Archived-At: close 75422 30.0.93 thanks >> >>> @@ -564,7 +564,9 @@ tsx-ts-mode >> >>> (sentence ,(regexp-opt >> >>> (append typescript-ts-mode--sentence-nodes >> >>> '("jsx_element" >> >>> - "jsx_self_closing_element"))))))) >> >>> + "jsx_self_closing_element")))) >> >>> + (text ,(regexp-opt '("comment" >> >>> + "template_string")))))) >> > >> > I think it’s fine. Though it’s for Eli to decide. >> >> Eli, is it ok to push this patch to emacs-30? > > Yes, thanks. So now pushed to emacs-30, and closed.