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#72573: 29.4; js-mode/JSX: forward-sexp behavior at end of string in JSX fragments Date: Sun, 18 Aug 2024 16:42:24 +0300 Message-ID: <86ed6mymkf.fsf@gnu.org> References: <86r0aq6x2a.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9963"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72573@debbugs.gnu.org, daanturo@gmail.com To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 18 15:43:34 2024 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 1sfgBy-0002UE-9Y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Aug 2024 15:43:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfgBo-00063w-3r; Sun, 18 Aug 2024 09:43:24 -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 1sfgBm-00063U-31 for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 09:43:22 -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 1sfgBl-0000dH-QC for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 09:43:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=YNltzV4gAbJraMqAV3A67qJzQHkm9YLf6DWdetRKdEM=; b=neBFqBmquG0bGZ3z3gAm3FzqsWxjVgDa1VwEaR7dkod2k6TOf8eVrRIHbfLW5dpz29kwU6r+r461NUxYlRv3bN6LYA1+seKm7WyngKk6xgQUhJVURkUs2ITiJDkhyQv3gh/UCzLtqu30Bt3ZlYUkRh9vBIFT24FYZh1Elw/8vKtoB8Nyd6tE2oqUQTZqalfEOz0MjVOHiVqRqRSU05aw0NjhbFJDrBheD8hLUAqebDwZr4L5gE29HpPBt3aEGLKxB3oJsZ3+Mm3Bxae91mkaKbBE0dkg1Tb8wbMipRG3nZ0Q+zbFSTEURWbu3K/wR5Mn3ExsMUyjKqfT3Oz3o94rLQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfgCQ-0006k6-2H for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 09:44: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: Sun, 18 Aug 2024 13:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72573 X-GNU-PR-Package: emacs Original-Received: via spool by 72573-submit@debbugs.gnu.org id=B72573.172398862025880 (code B ref 72573); Sun, 18 Aug 2024 13:44:02 +0000 Original-Received: (at 72573) by debbugs.gnu.org; 18 Aug 2024 13:43:40 +0000 Original-Received: from localhost ([127.0.0.1]:55609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfgC3-0006jM-Tu for submit@debbugs.gnu.org; Sun, 18 Aug 2024 09:43:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfgC1-0006j4-QQ for 72573@debbugs.gnu.org; Sun, 18 Aug 2024 09:43:38 -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 1sfgBG-0000UF-7S; Sun, 18 Aug 2024 09:42:52 -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=YNltzV4gAbJraMqAV3A67qJzQHkm9YLf6DWdetRKdEM=; b=WfQm2zcI8/H1 uCQPpamc8FUznNVZg5Sgrw88sB4d8LlmC81dUbn/uZzm22DtNIbQj2SABYsJua94M4iWFPFylRMp6 HBsnwzBdwE01/qvCA+gzEAM1kyi+H7jN76ISj7M9rg//AVENdsUFJpBHAmPhagc2E/FR0V1Hh9UGW m1iXnVZuz2Rh6r30YrGr7M9njdzH9XRtkd+r1vhEgFuDWvb88vaZ31h8PAId8QmSVmtVjwXa8qnLt qRb4E376UIW2WRn6PEMEpjxz+SNuZLp3ZGlhZecMom32vL/8L+SMh0fZgNw7tBMwaEttDXEusYEHn zESfSFI77DcDGzDIN9CTsQ==; In-Reply-To: (message from Dmitry Gutov on Sun, 18 Aug 2024 16:37:03 +0300) 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:290321 Archived-At: > Date: Sun, 18 Aug 2024 16:37:03 +0300 > Cc: 72573@debbugs.gnu.org > From: Dmitry Gutov > > >> 2. Put cursor at the end of "cacaca" (before the closing double quote) > >> 3. `C-M-f`/`forward-sexp` > >> > >> * Observed: Cursor moves to the beginning of "h2-id". > > > > Here it moves to after the opening quotes of

. > > This is in Emacs 30. Looks like some mistake in handling the syntax > > of the starting position? > > In my testing it moves like the report says: to the beginning of h2-id. > > Maybe you skipped step 2? No, I haven't. > >> * Expected: Cursor stays without moving. > > > > Dmitry, could you have a look, please? > > I don't think there's much we can do in js-mode (or js-jsx-mode). So you suggest to close this as wontfix?