GNU bug report logs - #74366
31.0.50; tree-sitter

Previous Next

Package: emacs;

Reported by: me Latpaw <jiangyuezhang <at> outlook.com>

Date: Fri, 15 Nov 2024 11:15:01 UTC

Severity: normal

Merged with 73404

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

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Yuan Fu <casouri <at> gmail.com>, 74366 <at> debbugs.gnu.org,
 Theodor Thornhill <theo <at> thornhill.no>, me Latpaw <jiangyuezhang <at> outlook.com>
Subject: Re: bug#74366: 31.0.50; tree-sitter
Date: Sun, 22 Dec 2024 21:15:41 +0200
>>> 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.

Now 'sexp-list' was added to 'treesit-thing-settings' of
'typescript-ts-mode', so the case above works correctly.




This bug report was last modified 190 days ago.

Previous Next


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