GNU bug report logs - #73376
Treesitter does not rescan after indentation

Previous Next

Package: emacs;

Reported by: pranshu sharma <pranshusharma366 <at> gmail.com>

Date: Fri, 20 Sep 2024 07:02:01 UTC

Severity: normal

Done: Yuan Fu <casouri <at> gmail.com>

Full log


View this message in rfc822 format

From: Yuan Fu <casouri <at> gmail.com>
To: pranshu sharma <pranshusharma366 <at> gmail.com>
Cc: 73376 <at> debbugs.gnu.org
Subject: bug#73376: Treesitter does not rescan after indentation
Date: Sun, 25 May 2025 21:00:19 -0700

> On Sep 23, 2024, at 6:08 AM, pranshu sharma <pranshusharma366 <at> gmail.com> wrote:
> 
> 
> Ok, keep us updated if any progress is made

I later reported the bug to tree-sitter repo. There tree-sitter devs explained that it’s because Emacs wasn’t reporting line & column positions to tree-sitter. Since then I added line & column tracking and reporting for tree-sitter, and enabled it by default in Emacs. The bug doesn’t happen on mater now. Please see if this is fixed for you too.

Yuan



This bug report was last modified 27 days ago.

Previous Next


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