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 #214 received at 73404 <at> debbugs.gnu.org (full text, mbox):

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





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.