From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.bugs Subject: bug#73404: 30.0.50; [forward/kill/etc]-sexp commands do not behave as expected in tree-sitter modes Date: Wed, 11 Dec 2024 10:27:29 -0800 Message-ID: <5192B278-66C0-48AE-B881-E57CCBB6B501@gmail.com> References: <87plox4mtp.fsf@masteringemacs.org> <87frpm20t7.fsf@masteringemacs.org> <8634lmbs8t.fsf@gnu.org> <87bk0a1u0o.fsf@masteringemacs.org> <86tte2a5o3.fsf@gnu.org> <877cay1lqt.fsf@masteringemacs.org> <86frpma06f.fsf@gnu.org> <86ikueiekp.fsf@mail.linkov.net> <86ed4zg1cc.fsf@mail.linkov.net> <87zflac68t.fsf@mail.linkov.net> <87jzcdlxdp.fsf@mail.linkov.net> <87o71jocgs.fsf@mail.linkov.net> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14769"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Theodor Thornhill , Eli Zaretskii , Mickey Petersen , 73404@debbugs.gnu.org, Juri Linkov To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 11 19:29:22 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 1tLRSc-0003gU-E5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Dec 2024 19:29:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLRSN-00077z-P8; Wed, 11 Dec 2024 13:29:07 -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 1tLRSJ-00077g-Gb for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 13:29: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 1tLRSI-000879-Tl for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 13:29:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:Date:In-Reply-To:From:Mime-Version:To:Subject; bh=I55dRULHAyFgp2759isFlN9Revh+rhm3TQoz06NNpJA=; b=pM2cslvML0NGXm7niTS8SRdW4u4fAjWsxflvqq6maNIWLlqfbCr1syoJnxytq08fG5KNHTcJl6iRo/3ZTTCCp8x1Pzv2KNRukIalhe4gUzmLMye5kAn1Gv3bRnJqYkybUQLa7IZ/ZewGwlhTMl0+52YvmC56uyGAKmu6WyGK9TOMTtkx4/Uylod6zBLdso2pY3jsmpDtfZMOl5D1gqluoCccfJPNHTw/T+UHd5Uv7YadeBy0bZV0XdTXJBHtPuX4b0aP/sc3khiiB98tpJzdvgAkd06CgQf/ktvd8jpnirh59Aq/wT9GomseuEFWAY8G6Klpt0GFymPZL4/YqWwzBA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLRSH-0004fc-QA for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 13:29:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Dec 2024 18:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73404 X-GNU-PR-Package: emacs Original-Received: via spool by 73404-submit@debbugs.gnu.org id=B73404.173394173117921 (code B ref 73404); Wed, 11 Dec 2024 18:29:01 +0000 Original-Received: (at 73404) by debbugs.gnu.org; 11 Dec 2024 18:28:51 +0000 Original-Received: from localhost ([127.0.0.1]:36204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLRS7-0004ez-HO for submit@debbugs.gnu.org; Wed, 11 Dec 2024 13:28:51 -0500 Original-Received: from mail-pf1-f180.google.com ([209.85.210.180]:43490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLRS4-0004eK-Ax for 73404@debbugs.gnu.org; Wed, 11 Dec 2024 13:28:50 -0500 Original-Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-725e71a11f7so831306b3a.1 for <73404@debbugs.gnu.org>; Wed, 11 Dec 2024 10:28:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733941662; x=1734546462; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=I55dRULHAyFgp2759isFlN9Revh+rhm3TQoz06NNpJA=; b=H9LlXBKdaNmjwh0zOpQE32aeWKI+s+c2yEy56eGhoR1+qLLzqN8S3Aak2t06RVxZel nqRdW/C+2nza2wBggOfF3D4/6ElqGqMOS0JEs9fsWohS6cvyFfRda+5zYthcVXo7Hex4 hhkUL01ZL7ewWcQDhgyRSA/WY0gsvIsmfunCCubdx5HmyY/0W1nK6NcAebqOh0fmA4fT ESaH2sJDl54T3tllh4bF3rezHjoP2aQeG3jR/pgExKK5nfW7NHZ9GhQQvRbqCMEKFcOD XfA7ZeW8iA4ZPQ5M3BcX3EXNygtiH+4alqZzgAWmQvQ1WhwMY2cNapvVvQLD2t9kiNML 25WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733941662; x=1734546462; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I55dRULHAyFgp2759isFlN9Revh+rhm3TQoz06NNpJA=; b=VzshE+yxQ6gSo+BYsErMjW4u8u4e795T1kcIBoFp/ilfHh4e/3KDjqjL3iw386DMce fHZOA1urpog5Gl1TQVv5B0NwjRE3nvQXBvFxm/Hqbz0wbrkOIik6wGopYlf1wAmKUKLt Ez6S4gnVLERF7a+1Y/yUD/xJn4JvJnLXxF1dEuAYd0wO6PLZeGD2g3DcaW8y9ycOrgcC 3dS2t8c45CTFUoA/grzTlf/HbqoOiiLQjrSjkgzZFOdOVmFOAXdkkmJrVg+snhjX4sBG xbTEZh1mLJkPpj+00LFpxJoxPKcDMVSzvRRVG4VcQtFR7Hl+9UQR78pNMbZDxuLv9Wiy vJjQ== X-Forwarded-Encrypted: i=1; AJvYcCVPcnsNFwUQIZhrGOinC5q3sVdHaRDqNaXX8U0+HwcrLCe98EV6zB6ntn/B3QTDGJ6Z5pQung==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyoT4naXOMEaMFkL9VSoH7piU7A+yh/K3theQfeFsB+KILB9NCG BzDZDyEfiz9o2TijdODJYf9dCAfZ9lGNEb1JKCiLEg15L6czvwLz X-Gm-Gg: ASbGncvfVfyJC4s5tM8nd85/hSFLsRCQPmwqEipDG4L0IXyFlp0oRP6clMSsfTbEPIJ 2sSpqkEE6u2J5waubURq4eyKyrmpnpXKnftaYxemFXxAR7AADlx+pkSJAZLL1q9YNHf3AYNVNep v5tY/Wf1Vc4Gj35F62PD+VxwkNQUWxFNG8/OvcItC4m+Wqxi2SBseX/cKRmwYU6IbARLj8WM2hC DptGZhFOvtAAiwpCLibL22SFIwoWaSZC438BgdZoJC0yImplUYGXexeIav4CU95YSEw/iqK2ONK xg== X-Google-Smtp-Source: AGHT+IGDGDXlS7HJ3zbLtIfrgznf50Zn8SZRAHBdOvtDrw2IDMJRuc2AMnXKIXY7QFJjpYGpSqGyCQ== X-Received: by 2002:a05:6a20:918d:b0:1e1:bd9b:40cf with SMTP id adf61e73a8af0-1e1cea1d239mr415486637.8.1733941662133; Wed, 11 Dec 2024 10:27:42 -0800 (PST) Original-Received: from smtpclient.apple ([2601:646:8f81:6120:f90e:3b71:6ee2:6197]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7fd3fb02955sm7167598a12.81.2024.12.11.10.27.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Dec 2024 10:27:41 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3776.700.51) 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:296860 Archived-At: > On Dec 11, 2024, at 7:12=E2=80=AFAM, Stefan Monnier = wrote: >=20 >> Ah, this matches my idea of defining sexp in other languages as = =E2=80=9Crepeatable >> construct/list-like construct=E2=80=9D. We went with =E2=80=9Cevery = syntactic construct=E2=80=9D at >> the time, which I didn=E2=80=99t object to, but I=E2=80=99m = definitely happier with the >> repeatable construct approach. Including Stefan and Theo since they = were >> part of the original sexp navigation discussion. >=20 > FWIW, we have both `forward-list` and `forward-list` and the new > behavior you suggest sounds closer to the historical behavior of > `forward-list` than `forward-sexp`. >=20 >=20 > Stefan >=20 Actually, what=E2=80=99s the difference between forward-list and = forward-sexp? I always thought they are the same at least for Lisp. Yuan=