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#73404: 30.0.50; [forward/kill/etc]-sexp commands do not behave as expected in tree-sitter modes Date: Sat, 04 Jan 2025 21:05:22 +0200 Message-ID: <86ikqubdsd.fsf@gnu.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> <87wmfwqg7e.fsf@mail.linkov.net> <8734i5fyv1.fsf@mail.linkov.net> <875xmumpzv.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4787"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mickey@masteringemacs.org, casouri@gmail.com, theo@thornhill.no, 73404@debbugs.gnu.org, monnier@iro.umontreal.ca To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 04 20:06:18 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 1tU9TW-00016c-0S for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Jan 2025 20:06:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tU9TH-0005L6-IQ; Sat, 04 Jan 2025 14:06:03 -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 1tU9TG-0005Kx-L0 for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 14:06:02 -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 1tU9TG-0003Ry-Bc for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 14:06: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:References:In-Reply-To:From:Date:To:Subject; bh=Nrpw0aCwVZEIBxUW7c5WeLcM0NQX5hb3hFbpDNLZmjw=; b=uX3cQEiqmpSDKgmc5G79CXQqqsxomkyTbDegILRHUro6uHdrYqvp9bWFWKpfTXUdgzGEbzoWJdFm9DlPcwnVFPhRxvdy5nawr5ImOcD18RUfksNbaM5pBC49lBtVmwpOtZHwHWsLXA8jiwqh+wbaUCG7OCOP3I2KqYrKiN77WQt2vBctGPCvOEgYJMCKURn6ALWinNkyqEbCN0Jd5UkTRO+fJa2QJe9SHvyFKGfGEsQNRVb4OILt+H/hP51T3AaTJF0x0EXH1esyPIeTxjFW1xHNERhqP/jBXfhwsTANZ1S99wl6Jj3IRlXIp4AZ0y1cly12xEgX08KtM/5laHuKMg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tU9TF-0007rx-Uj for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 14:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jan 2025 19:06: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.173601754530226 (code B ref 73404); Sat, 04 Jan 2025 19:06:01 +0000 Original-Received: (at 73404) by debbugs.gnu.org; 4 Jan 2025 19:05:45 +0000 Original-Received: from localhost ([127.0.0.1]:57387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tU9Sz-0007rS-2P for submit@debbugs.gnu.org; Sat, 04 Jan 2025 14:05:45 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47222) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tU9Sw-0007rB-6d for 73404@debbugs.gnu.org; Sat, 04 Jan 2025 14:05:43 -0500 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 1tU9Sn-0002Pv-Q9; Sat, 04 Jan 2025 14:05:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Nrpw0aCwVZEIBxUW7c5WeLcM0NQX5hb3hFbpDNLZmjw=; b=XZj2iukZfHBfqlM+gGJx c8gRsJFoKZqWWSeMbJkod1Ek4DxCX/r+adQMnWM02lgY4GKq6m9i1uMJ2meTAPjbNgbrJVxmw3wiF P6BgJEc+xME1Af79k5NIX4UpjB8GpiiSB5uaFavBuGab5ctq4A7nYiZJ0a8ReRRIfaG7xrrYsOS5m SaJNKloS45fxtX3b0kJNbF6FQ9ogR57eRjywUKp10KcWNIHulqeQV2acX0q2Il3c8404h9zWeO1Jb jZrzdW/lWIslTUzgeuhcmQCeoGL+jN2al/S8hTVsfDPWfqhcQHavvAULrO7b9gmOXwYgCCoD4Cw7T vmmgQNENb/EirQ==; In-Reply-To: <875xmumpzv.fsf@mail.linkov.net> (message from Juri Linkov on Sat, 04 Jan 2025 19:46:12 +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:298451 Archived-At: > From: Juri Linkov > Cc: Theodor Thornhill , Eli Zaretskii , > Mickey Petersen , 73404@debbugs.gnu.org, > Stefan Monnier > Date: Sat, 04 Jan 2025 19:46:12 +0200 > > >> BTW, my initial intention was to add the thing 'list'. > >> But then I discovered that (treesit-thing-next (point) 'list) > >> uses the function 'list' instead of the thing 'list'. > >> > >> However, the current 'sexp-list' as a two-word composite is too ugly. > >> Now I found a better replacement: 'group'. This word is already used > >> in lisp.el such as in the docstring of 'forward-list': > > > > I don’t have an opinion on this. Groups sounds a bit abstract, but so > > does sexp-list. > > Indeed, the right name is 'list'. So let's use it. Please don't change the terminology yet. I'd like to try these commands with some tree-sitter modes and see what names we could use for them. I didn't yet have time for that, but OTOH there's no rush.