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: Sun, 05 Jan 2025 16:18:24 -0500 Message-ID: References: <87plox4mtp.fsf@masteringemacs.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> <87wmfwqg7e.fsf@mail.linkov.net> <8734i5fyv1.fsf@mail.linkov.net> <875xmumpzv.fsf@mail.linkov.net> <86ikqubdsd.fsf@gnu.org> <87wmf9912l.fsf@mail.linkov.net> <87a5c5v5z8.fsf@thornhill.no> <86cyh18nee.fsf@gnu.org> <874j2dv3x4.fsf@thornhill.no> <86r05h6vsl.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19245"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: mickey@masteringemacs.org, casouri@gmail.com, Theodor Thornhill , 73404@debbugs.gnu.org, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 05 22:19: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 1tUY1r-0004rC-2y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Jan 2025 22:19:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUY1e-0002DV-6o; Sun, 05 Jan 2025 16:19:10 -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 1tUY1b-00029l-Kd for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 16:19:07 -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 1tUY1W-0007Dn-It for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 16:19:05 -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=AjihWH+kJOB10/T/8XR5E+bA4ubdGNVxaES2b0G6pUw=; b=qOoMxZJtnh/28oCn2ZAhMPdlpy4U6Q/4RYVnRhWe/wqJrjgIURFuQpvY6nRXyyD/OIfIqwldg2ryblU83Lj5UOgJBKJq34XHZ0lygTov5Gwzg93trp3F+umfX4g6BzROHVob645KS2NyyNRW/gbjfwCgR5/cIZfgKzmByvyC6ekxGYCKf+aPnUQ2H1xxemZnS8effSrRgXVfMATk6QAm4Dp+Yeruk61wv154BxfqRAu5dYzSVVOeNq5RbgVHRlAf/2MXCj6AOS9HK4y9pNFFTC8cvTHr1ZptMoZauwN7hO9UENUMEtJRST28tE01xLc+/mOn8BTGlKAlxo8qj8oa3Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUY1W-0002zK-CP for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 16:19: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: Sun, 05 Jan 2025 21:19: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.173611191711434 (code B ref 73404); Sun, 05 Jan 2025 21:19:02 +0000 Original-Received: (at 73404) by debbugs.gnu.org; 5 Jan 2025 21:18:37 +0000 Original-Received: from localhost ([127.0.0.1]:35535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUY17-0002yM-Bh for submit@debbugs.gnu.org; Sun, 05 Jan 2025 16:18:37 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:43319) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUY15-0002y0-4t for 73404@debbugs.gnu.org; Sun, 05 Jan 2025 16:18:35 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2C157100055; Sun, 5 Jan 2025 16:18:28 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1736111907; bh=fDjxeE+U77Z+ML6qA2S4XT8nf0U10x0ogpwE3fSAb2A=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=CjKSgtd0lzrxxUBlaoRuIxC8gW6Whu0u01eWQ/CoLjPTU+vMfBzzMTb/780He7wyp gRbVrkQyvvpdUUQBb6oR3x1h25I+2oI+H4MMjhvOVjF7ui2TWq2comVCAaL7qT/6b3 C4P+WkuWWjtYozjqp0ozAhY5J6yHR92GTwaKmsFF1gGgVbQTRMOp50l4A0eKkdKM90 a+Lv+3/F9IMeXjQb6JC+JDu5XMNLKCRMEXu8cvAmmKzxhfKeQB/LtgpyZWKuCgsw42 KNcGWTa649VjKedKlGlBrjuG8ThSZuT0a9IOBeQvltkUqjSA7HJf05twhrm6dU2YaS C7ByDeM7bWATA== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 77A10100035; Sun, 5 Jan 2025 16:18:27 -0500 (EST) Original-Received: from alfajor (104-195-230-250.cpe.teksavvy.com [104.195.230.250]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 33709120588; Sun, 5 Jan 2025 16:18:27 -0500 (EST) In-Reply-To: <86r05h6vsl.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 05 Jan 2025 18:59:54 +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:298613 Archived-At: > For now, my conclusion was that (almost) every parenthetical grouping > supported by the language grammar can be moved across with these > commands. But I only tried Lisp and c-ts-mode. Agreed, "list" should probably be anything that makes up an AST node and is delimited by an opening and a closing "keyword": (...), [...], if...fi, begin...end, ... Stefan