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

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: casouri <at> gmail.com, 74366 <at> debbugs.gnu.org, theo <at> thornhill.no,
 jiangyuezhang <at> outlook.com
Subject: Re: bug#74366: 31.0.50; tree-sitter
Date: Sat, 30 Nov 2024 21:44:55 +0200
forcemerge 73404 74366
thanks

>> >> open ts file, and enable typescript-ts-mode.
>> >> just like
>> >> ```
>> >> function hello() {
>> >>    console.log('hello'),
>> >>     return 'hello';
>> >> }
>> >> ```
>> >> Jump to point before {, and try C-M-f (forward-sexp or treesitter-forward-sexp), it just jump to
>> >> end of ), not }. It was expected to end of }.
>> >
>> > Here it jumps to after "'hello';".
>> 
>> This should work with the fix from bug#73404.
>
> Should we merge this bug with bug#73404?

Ok, merging.  Sorry for not yet finishing the fix.




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.