GNU bug report logs -
#60652
30.0.50; tree-sitter: `treesit-inspect-mode' seems to break the undo ring... sometimes?
Previous Next
To reply to this bug, email your comments to 60652 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#60652
; Package
emacs
.
(Sun, 08 Jan 2023 10:41:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mickey Petersen <mickey <at> masteringemacs.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 08 Jan 2023 10:41:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
In GNU Emacs 30.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version
3.24.20, cairo version 1.16.0) of 2023-01-02 built on mickey-work
Repository revision: c209802f7b3721a1b95113290934a23fee88f678
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: Ubuntu 20.04.3 LTS
Configured using:
'configure --with-native-compilation --with-json --with-mailutils
--without-compress-install --with-imagemagick CC=gcc-10'
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#60652
; Package
emacs
.
(Mon, 09 Jan 2023 03:28:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 60652 <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#60652
; Package
emacs
.
(Mon, 09 Jan 2023 09:03:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 60652 <at> debbugs.gnu.org (full text, mbox):
Yuan Fu <casouri <at> gmail.com> writes:
> 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.
>
Yes, sorry for the vague report. But I figured I'd at least throw it
out there in case someone else encounters it. It's possible something
else is interfering, but given the simplicity of the mode, as you say,
it is indeed odd. I will let you know if I can reproduce it reliably.
> Yuan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#60652
; Package
emacs
.
(Tue, 05 Sep 2023 23:34:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 60652 <at> debbugs.gnu.org (full text, mbox):
Mickey Petersen <mickey <at> masteringemacs.org> writes:
> Yuan Fu <casouri <at> gmail.com> writes:
>
>> 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.
>>
>
> Yes, sorry for the vague report. But I figured I'd at least throw it
> out there in case someone else encounters it. It's possible something
> else is interfering, but given the simplicity of the mode, as you say,
> it is indeed odd. I will let you know if I can reproduce it reliably.
Have you had any success reproducing this?
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.