From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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:12:15 -0500 Message-ID: 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> Reply-To: Stefan Monnier Mime-Version: 1.0 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="25618"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Theodor Thornhill , Eli Zaretskii , Mickey Petersen , 73404@debbugs.gnu.org, Juri Linkov To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 11 16:13:27 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 1tLOP0-0006WH-FI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Dec 2024 16:13:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLOOf-0007WT-6V; Wed, 11 Dec 2024 10:13:05 -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 1tLOOc-0007WB-TW for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 10:13:04 -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 1tLOOc-00077c-Ks for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 10:13: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=KuXhNahVAH1Q1vPBihqhCa5kzL1FxgKIGwNqg6QkyIk=; b=bQMXsj5b7ttLNJRddzAryryGYwP6jbBcYRHaiB0b7Pdd8TGYicv4hYdS0DTqYWdeMaRZff/BQQ/VL+BRI3m/H1T1yV4ZwisNFOAaIhbmbqCVB+KaZJwPvkx3W7ThsnDPeK/t2enEefgelnIpO29WouaME8/CDvFXEhDX4JaOoe3nTrBLyJtF8yOSMzolbiqUFvRHTaCT6OvUR29+FkoKEVomRDI4MxEtN4LbPHIwGXwmdURKRHtW7W8IAb4ANKKkej8D0Rt70Yh5PkpDykthofl66NjOM2hqxtNjcmvo3jLSl3s/1YEpOemXgfiKKiPEtwGlDWpZq5yuLrBSZhnocA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLOOc-0006Ds-F9 for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 10:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Dec 2024 15:13:02 +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.173392994823841 (code B ref 73404); Wed, 11 Dec 2024 15:13:02 +0000 Original-Received: (at 73404) by debbugs.gnu.org; 11 Dec 2024 15:12:28 +0000 Original-Received: from localhost ([127.0.0.1]:35690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLOO4-0006CS-0H for submit@debbugs.gnu.org; Wed, 11 Dec 2024 10:12:28 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:65324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLOO1-0006CB-RB for 73404@debbugs.gnu.org; Wed, 11 Dec 2024 10:12:26 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 1167010004C; Wed, 11 Dec 2024 10:12:18 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1733929937; bh=i1qE7E84/FYGblDOZpssF4Iya+aYuLoJlcFqiXBV+Jg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=IA3oIqhnzFBbSic1qFMgPL0FxJGldLXxAMkmvosn/5/GflGQJJ3iewQA8KOFZMENU 5yymyZUoNI/xMcGlGVwsRAU0cgt8aAaZJUUXtWSymmEtVxKzTv2LYuU4X1GvQbZ3J3 qVdLvmI7ndhO5PafjZfWhjgAr+wTQTive+OPFTMZv97mY39yJgx152RigE6WOIJ8A+ GxFjGv1UKDsoZvpKXDLj4O3T+dNa1KrwhNw1hr55eSezL0Z4DZ321mnmuh0y/w2Vqw f1M1Wd8QHqaKTuseddHvsCrnpAXjSS+WVbsiD3GD3weGOBs383NNePSTXz1ikuLPFB 0Y0W/ggp20ESA== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 6A4F5100043; Wed, 11 Dec 2024 10:12:17 -0500 (EST) Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 54A1C12047F; Wed, 11 Dec 2024 10:12:17 -0500 (EST) In-Reply-To: (Yuan Fu's message of "Tue, 10 Dec 2024 22:31:26 -0800") 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:296833 Archived-At: > Ah, this matches my idea of defining sexp in other languages as =E2=80=9C= repeatable > construct/list-like construct=E2=80=9D. We went with =E2=80=9Cevery synt= actic construct=E2=80=9D at > the time, which I didn=E2=80=99t object to, but I=E2=80=99m definitely ha= ppier with the > repeatable construct approach. Including Stefan and Theo since they were > part of the original sexp navigation discussion. 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`. Stefan