GNU bug report logs - #78503
30.0.92; tree-sitter elixir-ts-mode structural movement broken

Previous Next

Package: emacs;

Reported by: Bart Otten <bart.otten85 <at> gmail.com>

Date: Tue, 20 May 2025 04:30:03 UTC

Severity: normal

Found in version 30.0.92

Full log


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

From: Wilhelm Kirschbaum <wkirschbaum <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: Bart Otten <bart.otten85 <at> gmail.com>, 78503 <at> debbugs.gnu.org
Subject: Re: bug#78503: 30.0.92; tree-sitter elixir-ts-mode structural
 movement broken
Date: Fri, 23 May 2025 14:50:06 +0200
[Message part 1 (text/plain, inline)]
On Thu, May 22, 2025 at 8:46 AM Juri Linkov <juri <at> linkov.net> wrote:

> >>> ```
> >>> def foo(arg) do
> >>>    IO.inspect("some")
> >>> end
> >>> ```
> >>>
> >>> Expected:
> >>> - into args
> >>> - nice to have: into do block (after do)
> >>> - into argument list
> >>> - into quoted string
> >>
> >> This is exactly how 'C-M-d' already works when you toggle
> >> 'M-x treesit-cycle-sexp-type RET'.
> >
> > It does jump to into args (inside the parens), but after that it does
> nothing but show a
> > message indicating it is at the bottom level. Which afaik it is not.
> >
> > To be clear:
> > - on a of arg
> > - nice to have: into do block (after do)
> > - on " of "some"
> > - nice to have: on s of "some"
>
> 'down-list' can't go out of a position inside "(arg)"
> because it is at the bottom level of parenthesis.
> This is what 'up-list' intended to do.  So you need
> to type 'M-)' or anything that is bound to 'up-list'.
>
> >> This is what 'C-M-d' already does after 'M-x treesit-cycle-sexp-type
> RET'.
> >
> > Confirmed
> >
> >> So let's enable 'treesit-cycle-sexp-type' by default, but only for
> >> 'down-list'.
> >
> > Would be great.
>
> Thanks, done.
>

Hi, sorry for the delay.

I had a look at the latest changes and it makes sense to me. Thanks again
Juri :).

Kind regards,
Wilhelm
[Message part 2 (text/html, inline)]

This bug report was last modified 11 days ago.

Previous Next


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