unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Mickey Petersen <mickey@masteringemacs.org>
Cc: Yuan Fu <casouri@gmail.com>, 60652@debbugs.gnu.org
Subject: bug#60652: 30.0.50; tree-sitter: `treesit-inspect-mode' seems to break the undo ring... sometimes?
Date: Tue, 5 Sep 2023 16:32:53 -0700	[thread overview]
Message-ID: <CADwFkmmmNQ-jOe8QZ=vG026D1BzizchoG8vcTNBm_CLL-dLtEw@mail.gmail.com> (raw)
In-Reply-To: <87r0w4hyio.fsf@masteringemacs.org> (Mickey Petersen's message of "Mon, 09 Jan 2023 09:01:11 +0000")

Mickey Petersen <mickey@masteringemacs.org> writes:

> 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.

Have you had any success reproducing this?





      reply	other threads:[~2023-09-05 23:32 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
2023-09-05 23:32     ` Stefan Kangas [this message]

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='CADwFkmmmNQ-jOe8QZ=vG026D1BzizchoG8vcTNBm_CLL-dLtEw@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=60652@debbugs.gnu.org \
    --cc=casouri@gmail.com \
    --cc=mickey@masteringemacs.org \
    /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).