From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 18@debbugs.gnu.org
Subject: bug#18: Fine-grained revert-buffer
Date: Tue, 17 Dec 2013 08:32:56 -0500 [thread overview]
Message-ID: <jwvzjnzmwos.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <878uvki2u9.fsf@yandex.ru> (Dmitry Gutov's message of "Tue, 17 Dec 2013 05:16:46 +0200")
>> Write a revert-buffer that uses something like `diff' and then applies
>> the patch to the buffer, so as to better preserve markers and undo
>> info.
> `revert-buffer' now preserves undo history.
It's still significantly coarser than using diff: revert-buffer is
treated as a single delete+insert, so only the markers before the first
modification or after the last modification are preserved.
Stefan
next prev parent reply other threads:[~2013-12-17 13:32 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <jwvpruii0xr.fsf@iro.umontreal.ca>
2013-12-17 3:16 ` bug#18: Fine-grained revert-buffer Dmitry Gutov
2013-12-17 13:32 ` Stefan Monnier [this message]
2018-04-12 6:21 ` Toon Claes
2018-04-12 12:18 ` Stefan Monnier
2018-04-14 7:00 ` Toon Claes
2018-04-14 14:14 ` Stefan Monnier
2019-04-26 22:42 ` Mauro Aranda
2019-04-27 7:34 ` Eli Zaretskii
2019-04-27 15:10 ` Mauro Aranda
2019-04-27 16:30 ` Eli Zaretskii
2019-04-27 17:46 ` Mauro Aranda
2019-04-29 12:49 ` martin rudalics
2019-05-02 15:54 ` Basil L. Contovounesios
2019-05-02 16:20 ` Glenn Morris
2019-05-02 16:23 ` Basil L. Contovounesios
2019-05-02 21:27 ` Richard Stallman
2019-05-03 14:05 ` Basil L. Contovounesios
2019-05-05 22:41 ` Richard Stallman
2019-04-27 8:31 ` martin rudalics
2019-04-28 2:47 ` Richard Stallman
2019-04-29 23:32 ` Mauro Aranda
2019-04-30 0:17 ` Mauro Aranda
2019-05-15 23:10 ` Mauro Aranda
2020-09-19 23:08 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvzjnzmwos.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=18@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.