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

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

Re: How to amalgamate changes across multiple buffers into a single undo


From: Michael Heerdegen
Subject: Re: How to amalgamate changes across multiple buffers into a single undo entry
Date: Fri, 24 Jul 2020 00:11:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> writes:

>  I guess buffer-undo-list also just doesn't support what you want.

I think what you want is not well-defined.  Say, after you inserted
something in A and something in B and make that operation a shared entry
in the undo history in both buffers, you change B and add something in
the middle of the inserted text so that it is split.  Or you do a
complicated query-replace in the inserted text in B.  You do other stuff
in A.  Now you undo in A until your special entry is reached.  What
would happen to B?  What would it mean to the undo history of A when
that corresponding change in B can't be undone so easily?


Michael.




reply via email to

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