help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A strange issue with buffer-undo-list


From: Michael Heerdegen
Subject: Re: A strange issue with buffer-undo-list
Date: Fri, 26 Feb 2021 01:53:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Marcin Borkowski <mbork@mbork.pl> writes:

> Still, these "change groups" seem a strange feature to me - they are
> hardly ever used in Emacs itself, right?

Seems so.  Where they are used - e.g. in the implementation of
`transpose-subr', they are important however.  You wouldn't want that
undoing a transposition would happen in multiple steps uncovering
implementation details.

Could be in other places they would also be appropriate but were
forgotten.  May also be that automatic undo amalgamation conceals cases
were change group applications are missing.

BTW, in master your code example now works without errors, the problem
has been fixed (by Stefan).  And your code also works as you intend.  I
have tried.  It doesn't work as intended however when using
`undo-tree-mode' (another minor bug I would say).


Regards,

Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]