unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mickey Petersen <mickey@masteringemacs.org>
To: Yuan Fu <casouri@gmail.com>
Cc: 60652@debbugs.gnu.org
Subject: bug#60652: 30.0.50; tree-sitter: `treesit-inspect-mode' seems to break the undo ring... sometimes?
Date: Mon, 09 Jan 2023 09:01:11 +0000	[thread overview]
Message-ID: <87r0w4hyio.fsf@masteringemacs.org> (raw)
In-Reply-To: <547545D3-D9AE-46E3-A022-FDF51836855A@gmail.com>


Yuan Fu <casouri@gmail.com> writes:

> Mickey Petersen <mickey@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






  reply	other threads:[~2023-01-09  9:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-08 10:40 bug#60652: 30.0.50; tree-sitter: `treesit-inspect-mode' seems to break the undo ring... sometimes? Mickey Petersen
2023-01-09  3:27 ` Yuan Fu
2023-01-09  9:01   ` Mickey Petersen [this message]
2023-09-05 23:32     ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r0w4hyio.fsf@masteringemacs.org \
    --to=mickey@masteringemacs.org \
    --cc=60652@debbugs.gnu.org \
    --cc=casouri@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).