GNU bug report logs - #60652
30.0.50; tree-sitter: `treesit-inspect-mode' seems to break the undo ring... sometimes?

Previous Next

Package: emacs;

Reported by: Mickey Petersen <mickey <at> masteringemacs.org>

Date: Sun, 8 Jan 2023 10:41:02 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Yuan Fu <casouri <at> gmail.com>
To: Mickey Petersen <mickey <at> masteringemacs.org>
Cc: 60652 <at> debbugs.gnu.org
Subject: bug#60652: 30.0.50; tree-sitter: `treesit-inspect-mode' seems  to break the undo ring... sometimes?
Date: Sun, 8 Jan 2023 19:27:02 -0800
Mickey Petersen <mickey <at> masteringemacs.org> writes:

> Steps to somewhat reliably reproduce it:
>
> 1. Enable `treesit-inspect-mode' in a valid buffer.
> 2. Do some light editing, and sometimes the undo ring will reset
> itself to just the previous undone state and the current one. In
> effect turning what was a history of undo events into two.
>
> Sadly, I have little more than this to go on.

I am truly amazed :-) I don’t have any idea why, either. AFAIK
treesit-inspect-mode doesn’t do anything dangerous.

Yuan




This bug report was last modified 1 year and 286 days ago.

Previous Next


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