GNU bug report logs - #73404
30.0.50; [forward/kill/etc]-sexp commands do not behave as expected in tree-sitter modes

Previous Next

Package: emacs;

Reported by: Mickey Petersen <mickey <at> masteringemacs.org>

Date: Sat, 21 Sep 2024 05:13:01 UTC

Severity: normal

Merged with 74366

Found in version 30.0.50

Fixed in version 31.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #163 received at 73404 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: mickey <at> masteringemacs.org, casouri <at> gmail.com, theo <at> thornhill.no,
 73404 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: 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
> From: Juri Linkov <juri <at> linkov.net>
> Cc: casouri <at> gmail.com,  theo <at> thornhill.no,  mickey <at> masteringemacs.org,
>   73404 <at> debbugs.gnu.org,  monnier <at> 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?




This bug report was last modified 131 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.