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: Mon, 30 Dec 2024 21:36:55 +0200 Message-ID: <861pxpneso.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> <864j2lp9vd.fsf@gnu.org> <87seq52e8g.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40644"; 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 Mon Dec 30 20:38:15 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 1tSLag-000AO3-9P for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Dec 2024 20:38:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSLaV-0001Fe-V8; Mon, 30 Dec 2024 14:38: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 1tSLaU-0001FV-9V for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 14:38: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 1tSLaT-0003M9-QM for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 14:38:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=vL9MaPVk396BmGn02SaoGznlHm0AHWmWqRLQyfa/qXY=; b=Lg9g8+ZyrQBZWGkeWlkArO1J7IGYFlEAg9z0I51Epc8mDnA5vN/fs46WcjfE6DZLKa8rkOk4Kf30NEXXHyNKbIEk56psQRMFRRlWeT5vR3Vy3E67SsNQjolhCSPzPXmUU/OGU0m1wI4x8OOqbO0zfjt2Kon9pDNh+LMOLFxJ8XY3Zd+Fezj8wVqG69V6xEHke+w894HPVJn5RGeUtPJ3ij91ysA+aETmTxdgKd9uFpNqtsn/I/3OdY0N0xSHJ4bLlhhphEwZjbr8VnGp3MJuKnAYmzWz1OqBt4xjdQETK79C9zAQjeMU1buLMWB3UDZhWf0TKNOtHln7UVU25sPWxg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSLaT-0003HE-Ku for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 14:38: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: Mon, 30 Dec 2024 19:38: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.173558743112507 (code B ref 73404); Mon, 30 Dec 2024 19:38:01 +0000 Original-Received: (at 73404) by debbugs.gnu.org; 30 Dec 2024 19:37:11 +0000 Original-Received: from localhost ([127.0.0.1]:60043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSLZf-0003Fe-20 for submit@debbugs.gnu.org; Mon, 30 Dec 2024 14:37:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSLZb-0003FQ-TT for 73404@debbugs.gnu.org; Mon, 30 Dec 2024 14:37:08 -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 1tSLZS-0003FQ-VZ; Mon, 30 Dec 2024 14:36:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=vL9MaPVk396BmGn02SaoGznlHm0AHWmWqRLQyfa/qXY=; b=AfGJWqMHN48x eh0GO/OXCA2pQDD2WJd1smh8o2puzVocZlbzaHo9RZhshAxTPLtyGonms/qrBeFyVthSbjC9zQP7m XlkNSFuKHkIKwp3pc5SkUXzmxdVcku4ZXNqLulaJx99t918bqe0edW2glNRcVSQ5qAIouAQQIls8o 6A/zvzhXbq4UXIcxL4KMtKzCdyIHhU53ka/0rskhkfq5Vbfu61tFRsfQQ8NhKYIk/5pEPD7bcCczN jYvurPidmllIaLPZTYUezb2vIjE8kiK5I03DQ0TOM44hBKfriduDWcMN0h3KgkA2koPhJnSTQxTVF xdJW0V/Fxr0zXjw4jhy/Sw==; In-Reply-To: <87seq52e8g.fsf@mail.linkov.net> (message from Juri Linkov on Mon, 30 Dec 2024 20:54:39 +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:298024 Archived-At: > From: Juri Linkov > Cc: casouri@gmail.com, theo@thornhill.no, mickey@masteringemacs.org, > 73404@debbugs.gnu.org, monnier@iro.umontreal.ca > Date: Mon, 30 Dec 2024 20:54:39 +0200 > > > "Group" is too abstract and too removed from the actual thing. I'm > > quite sure we can do better. > > The proper name is "list". Since it can't be used directly, > the second best variant is "group". Let's delay this part of the discussion until we see enough examples of those "lists" or "groups". > > What are the possible kinds of "groups", which are not balanced > > parenthetical expressions? > > All groups should be balanced. Even in languages that don't use > parens and brackets, e.g. "def" and "end" are balanced > while these are not parenthetical expressions. > > > Can you show a more-or-less exhaustive list of them? > > A exhaustive list is not yet finished. But basically most > groups are parenthetical expressions while some don't use parens. OK, maybe "exhaustive" is too much. Can you post a list that you have now?