From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: How to amalgamate changes across multiple buffers into a single undo entry
Date: Fri, 24 Jul 2020 00:11:10 +0200 [thread overview]
Message-ID: <87blk5swzl.fsf@web.de> (raw)
In-Reply-To: 87h7txsxpc.fsf@web.de
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.
next prev parent reply other threads:[~2020-07-23 22:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-23 4:14 How to amalgamate changes across multiple buffers into a single undo entry Brian Leung
2020-07-23 21:55 ` Michael Heerdegen
2020-07-23 22:11 ` Michael Heerdegen [this message]
2020-07-24 1:44 ` Emanuel Berg via Users list for the GNU Emacs text editor
[not found] ` <mailman.353.1595490028.24492.help-gnu-emacs@gnu.org>
2020-07-26 10:30 ` Ihor Radchenko
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=87blk5swzl.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=help-gnu-emacs@gnu.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.
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).