From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arsen =?UTF-8?Q?Arsenovi=C4=87?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#75217: 31.0.50; tsx-ts-mode has wonky text motions and indentation Date: Sat, 04 Jan 2025 22:07:06 +0100 Message-ID: <878qrq9tl1.fsf@aarsen.me> References: <865xn0tywf.fsf@aarsen.me> <86wmfad9lo.fsf@gnu.org> <138ebb34-adcd-4ea6-99c7-6e966e6f807b@gutov.dev> <86h66ed6kc.fsf@gnu.org> <87v7uulbaw.fsf@mail.linkov.net> <86h66ebdqx.fsf@gnu.org> Reply-To: Arsen =?UTF-8?Q?Arsenovi=C4=87?= Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20096"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, casouri@gmail.com, 75217@debbugs.gnu.org, Juri Linkov To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 04 22:08:23 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 1tUBNe-00055T-8K for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Jan 2025 22:08:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUBNM-0001nu-7U; Sat, 04 Jan 2025 16:08: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 1tUBNK-0001nT-IA for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 16:08:02 -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 1tUBNK-0000Zj-9w for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 16:08: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=hlwXevBV483kmoGk/PazBmsmUfr5ZfnUO41nGeD3LkQ=; b=eXoGebTbfvpYRw6ORzNf78a32A59cQ4WlOctMUBA7Q/37wW8C3Ic2DrcDAKk5JlcrwLzQ27Nbwb0k9IM3+f2Q7VZ6cyzhSEGrE2AsswexEgYWUV42AcZgsUxFyMiuG/j+J8410hEj+ET7zBALLw8/skljEG6NpHSehSMh7GDZClL6KhHWY2yn8wtIHcwzMrhSBy4yO9mGqZxIumktwDdNvtp5///vb29/D1EzNMc5bjspkw3xhbpjFtWpWyipVXcwTQkttdSOo/chSok3n369pn05CDk7SMSLGAvp4VYf4Re95vttmoQxI7iSgN+xR6qF5vBg6p4a1jxPTyRv5u5MQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUBNK-00051W-56 for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 16:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Arsen =?UTF-8?Q?Arsenovi=C4=87?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jan 2025 21:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75217 X-GNU-PR-Package: emacs Original-Received: via spool by 75217-submit@debbugs.gnu.org id=B75217.173602484319257 (code B ref 75217); Sat, 04 Jan 2025 21:08:02 +0000 Original-Received: (at 75217) by debbugs.gnu.org; 4 Jan 2025 21:07:23 +0000 Original-Received: from localhost ([127.0.0.1]:57663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUBMh-00050W-7X for submit@debbugs.gnu.org; Sat, 04 Jan 2025 16:07:23 -0500 Original-Received: from mout-p-101.mailbox.org ([80.241.56.151]:60602) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUBMf-00050F-1l for 75217@debbugs.gnu.org; Sat, 04 Jan 2025 16:07:21 -0500 Original-Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4YQY0w3PYMz9srw; Sat, 4 Jan 2025 22:07:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1736024832; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hlwXevBV483kmoGk/PazBmsmUfr5ZfnUO41nGeD3LkQ=; b=MtD2XJ/7ULXwqbmIFFzODTjbR4+dLPYz6IMVZPgc20LF700wvEnU6ysOuR6mMmwEc4mzOv p5H4H3ansy+IGB6bgp7TBhlwmHCccZPn1UonPxxe58/ujflMUdpM9+TAmGWIeA6ipNU7b5 9uj/85Bn8kt96hDzgISK0x/bo2wgfqevlQkhhs121CdC6scheSIWIytOKYJaWD+uM4ai8z +iE91mvNC3lYqGtihPAttqK6eMsfG137aibsaDXICOZfjAfiLRl3STQHIR0GsAOBTYAB1m Bzom6fKcI5/yURpb8IPG4j9ILJpTv6edWOm3JBcKnNtkJR5jR/9X544zeLOjXg== In-Reply-To: <86h66ebdqx.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 04 Jan 2025 21:06:14 +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:298474 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Juri Linkov >> Cc: Dmitry Gutov , Yuan Fu , >> arsen@aarsen.me, 75217@debbugs.gnu.org >> Date: Sat, 04 Jan 2025 19:48:55 +0200 >>=20 >> >> >> It seems that, since recently, Emacs has started getting confused = in >> >> >> tsx-ts-mode. For instance, text motions appear to be wrong. >> >> > This mode is neither part of Emacs nor on GNU ELPA, right? >> >>=20 >> >> tsx-ts-mode is in lisp/progmodes/typescript-ts-mode.el >> > >> > Thanks, and sorry for my temporary blindness. >> > >> > Yuan, any comments or suggestions? >>=20 >> This looks the same as https://debbugs.gnu.org/73978#46 >> where no solution was yet found. > > Please merge identical bugs if that is appropriate. Ah, I didn't think to check for the JSX mode when looking for duplicates. This very well could be (partially) the same bug. I do not see mention of the weird behavior in the explorer that I noticed, though. I'm not confident enough in my knowledge of the modes to be sure the rest is the same bug, but it could well be. =2D-=20 Arsen Arsenovi=C4=87 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIYEARYKAC4WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCZ3mi+hAcYXJzZW5AYWFy c2VuLm1lAAoJEFLClDAeosSTKIABAJWf0ZhJpuhWuocNGM7meGUD47+KyNgmFlw0 qsYehWzZAP4j74Byfydc2zXbpGvlr6a0evryKxiDAN9t9ZF6ravpCg== =Nttv -----END PGP SIGNATURE----- --=-=-=--