From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mickey Petersen 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 16:50:12 +0000 Organization: Mastering Emacs Message-ID: <87h67aqi22.fsf@masteringemacs.org> 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 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="17760"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e @VERSION@; emacs 31.0.50 Cc: 73404@debbugs.gnu.org, Yuan Fu , Theodor Thornhill , Eli Zaretskii , 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 17:52:30 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 1tLPwr-0004Rr-Vv for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Dec 2024 17:52:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLPwT-000157-G4; Wed, 11 Dec 2024 11:52: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 1tLPwQ-0000zi-9z for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 11:52: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 1tLPwQ-00054X-1S for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 11:52: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:In-reply-to:Date:From:References:To:Subject; bh=/nslWIYnPSuNZ7CXxwVAqBax6IplmBkeHsPyQeNV9zU=; b=Q6iQAhku3Wq413Itlsv8JtTZdJB5BQuDBGu6Yv3TuBdrfWOHJFb1YJPLbHMMM0LY78BTtqUYud3cd7XbUQKTqkclZ/Mq0N2nsM/2b/M9YYX171h1FfGrzHFweVqBIZqjzeppmhpkqdZceHxsUjf37ggS6bsyqQfLsfbKjRwmvCO47St2lCsBcd6/cDTl/WvRBr0uXX9LtxNIqVFNNU3K5o1Xd5SEIg4wFHNDGnGyaukaA80YO4NReDJVt52aPm8yKGqyPbyK+Y1kOEVlpfcJxygMDXe5Yr7fb4+n7RGcuzmN4vtE7MZ4jaBzVwJJh/7Q86DxAKKgeIarEIM9B4jSWw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLPwP-0004m4-R6 for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 11:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mickey Petersen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Dec 2024 16:52: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.173393591018317 (code B ref 73404); Wed, 11 Dec 2024 16:52:01 +0000 Original-Received: (at 73404) by debbugs.gnu.org; 11 Dec 2024 16:51:50 +0000 Original-Received: from localhost ([127.0.0.1]:36040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLPwD-0004lN-Pa for submit@debbugs.gnu.org; Wed, 11 Dec 2024 11:51:50 -0500 Original-Received: from mail-uksouthazon11021105.outbound.protection.outlook.com ([52.101.95.105]:51795 helo=LO2P265CU024.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLPwB-0004l0-6x for 73404@debbugs.gnu.org; Wed, 11 Dec 2024 11:51:48 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=PezuJ1QdMycQk06l9fer7KTEA3NDAwI6YmeR9f2qdTp5bt36BXAe0sBxCnzMxxSbv9TEpgaBKIQ7LF6Oljife/JS5LO0j9Cko63su+4GORwkQab9H3+3UBCXqU/esCI2Kklvnao//84neLsFZbiN1p5U/36FvsU9DcOMXrchHGnTX+BU6wc/zWmlCmEHa9rfFZwR+J/SXnu25mZISmD6ZcLPodQGsluRDI7iH8OPQ1wnLHvTPhhIvf1yHOQ1y4rjht0FVN5fqeNnl/VgdvUyCoMUZPj7tWWIvJ5bnsMeoWm5K2uPpBWkYqpYrQ4szcWTjHfLxm4lf1cS9osv3K1T9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/nslWIYnPSuNZ7CXxwVAqBax6IplmBkeHsPyQeNV9zU=; b=JKaGLAdEgodWTfhSEaeZp74bY7S5GLA3x+l4NaTpnGsDuMaiY3PccT3D/SbF36flyS+RfOSoHTxZ0j1uG0hw9wyFxBxSdC+Uu773VWR/mRhhbjvPDwjxdoKbLnj6webnTCiYqIxauui8z9YUPNYvQ+bMyLXoKzyVlf278smzJOWLuEgQTDb5P8lzS1aR+eRHoNRGF+Lnht6u0HUP8TlXFf3/MNSpMeNxOWFU6bZRFe2hoDK/r+1JfaDppHab5zI0bUomHInDPxX7A3KtPdNcc52zp7Grk6mY4pgr6snAeTeqB+aDa8mVMrcDowPMItBPm0d/Qv3UU+3LIhOq3pw6Kg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 178.79.136.144) smtp.rcpttodomain=debbugs.gnu.org smtp.mailfrom=masteringemacs.org; dmarc=pass (p=none sp=none pct=100) action=none header.from=masteringemacs.org; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semantical.onmicrosoft.com; s=selector1-semantical-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/nslWIYnPSuNZ7CXxwVAqBax6IplmBkeHsPyQeNV9zU=; b=iJmdS13vwi8wE3N10CUBmwqlLhZ6Fr9Yjw5CDUzW0goCHOKCnufwlu1AW1KIRkWAgYt+9jznQs5BJIjjKcF9GsrYLTCqIf8dRdFG5ZCtMZFyUlR1uaOR2WAI4YH9hpcM0Z6CZ/KnzRqT5mjIYFahCtD7xatkLNp/BR8IibDkfV0= Original-Received: from LO4P123CA0552.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:319::14) by CWLP265MB6308.GBRP265.PROD.OUTLOOK.COM (2603:10a6:400:1c4::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.15; Wed, 11 Dec 2024 16:51:39 +0000 Original-Received: from LO1PEPF000022FF.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:319:cafe::df) by LO4P123CA0552.outlook.office365.com (2603:10a6:600:319::14) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8251.15 via Frontend Transport; Wed, 11 Dec 2024 16:51:39 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 178.79.136.144) smtp.mailfrom=masteringemacs.org; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=masteringemacs.org; Received-SPF: Pass (protection.outlook.com: domain of masteringemacs.org designates 178.79.136.144 as permitted sender) receiver=protection.outlook.com; client-ip=178.79.136.144; helo=semantical.co.uk; pr=C Original-Received: from semantical.co.uk (178.79.136.144) by LO1PEPF000022FF.mail.protection.outlook.com (10.167.240.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.15 via Frontend Transport; Wed, 11 Dec 2024 16:51:38 +0000 Original-Received: by semantical.co.uk (Postfix, from userid 5001) id A09C8114003; Wed, 11 Dec 2024 16:51:38 +0000 (GMT) In-reply-to: X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LO1PEPF000022FF:EE_|CWLP265MB6308:EE_ X-MS-Office365-Filtering-Correlation-Id: 235b15c1-54d7-4465-ff74-08dd1a0414d8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|61400799027|36860700013|376014|14776008|79816003; X-Microsoft-Antispam-Message-Info: EC+IW0vqRzNnMj50w1lj5TqbP6OTgSN/8QDI9RAPyo77kg8Xqf193frrbYeAWq4JRsJB7+YJpLMcVYUPPSRNUed2STkpzRltenltQadB9ctXwW6Dv4ny5jZEufmrD5pSyeObQ9zHONNaAcu8jlWunLVQvBCUfHyPOgqi209UQSQ51D/p8VJ+xcySF1k9DN4axdpg/YXXS9jSDr+30EgHRUqvLv2GSQ+zGPgBkL2Sf+PGFwAzEDX+Nzw8o8T2oKtULAOgpZ2rFaC93ld5BoxuoACc+OIzFVn/LZIVgpQ8mcyqfwRr5YoylGtAjxFRsu5iXsd6HNZehPbZbqKxbN1zEHhlhC0l7J1ukHCTqWmlFWHbfF5KLLTWpGMc/GiYdlBpiA5zsEOvjW2yQBzlZvaAHMh8pNT5xs2axtwE0RqqmCLz5klcH91K3So3GZe4TeJeBBlxEspgsMqxBLC1dgMZesfy2vLH5+fjB4sORuWx5NMzKah5636lkfkb+lqQ47W1Gu77ZC2EoSIhw9F9rXoVY8Bx4sTAPwF0cA+FZT5K3/AyFvydHkR2PX7zAlObpux8t1wzXdMRoktXgAmzs0UJp8s91VwGceKcSN9UNa3psxUSlOb8KuVSeK4BIfHkfKemAO9qEB7wwMYaMhaOrU+JdVSkHDJAudMY/C0aPWdy8SuXnEQrYORBphzvgSq1G/4Xg1FaWY+c1cBf5o+eMxTWGMb42zquOcKSOujB5S0GydQN2UWPmf+malDQiqnUy D9AUlqcUWw28B3875fWmV+ojMr+z+NoIYFJ4ZZL/zdesk6Q7Xk6BQo3++S2ozAFqfiFmMXx+MF23dA0xxYncarps4twED6uoo5 X-Forefront-Antispam-Report: CIP:178.79.136.144; CTRY:GB; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:semantical.co.uk; PTR:semantical.co.uk; CAT:NONE; SFS:(13230040)(82310400026)(61400799027)(36860700013)(376014)(14776008)(79816003); DIR:OUT; SFP:1102; X-OriginatorOrg: masteringemacs.org X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2024 16:51:38.7966 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 235b15c1-54d7-4465-ff74-08dd1a0414d8 X-MS-Exchange-CrossTenant-Id: a4e27e3d-bab0-45e8-8942-e64cf9fbd34f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a4e27e3d-bab0-45e8-8942-e64cf9fbd34f; Ip=[178.79.136.144]; Helo=[semantical.co.uk] X-MS-Exchange-CrossTenant-AuthSource: LO1PEPF000022FF.GBRP265.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CWLP265MB6308 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:296850 Archived-At: Stefan Monnier writes: >> 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 syn= tactic construct=E2=80=9D at >> the time, which I didn=E2=80=99t object to, but I=E2=80=99m definitely h= appier 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`. > Indeed, in Combobulate `-list' is explicitly used for sibling navigation, and `-sexp' instead does what it does in plain major modes, but tweaked ever so slightly.