GNU bug report logs -
#77580
[PATCH] New command ediff-undo
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
I'd like to propose a command 'ediff-undo' that compares the current
buffer with how it would look after undo. It supports a prefix arg (to
specify multiple undo steps) and respects the active region (to restrict
undo operations to that region).
Some less obvious situations where I've found this helpful:
- When a buffer has been modified by an external program or a
complicated Emacs command.
- After replacing part of a buffer with text obtained externally (e.g.,
copied from an external email client).
- For a quick recap of recent edits to a buffer or region, via something
like C-u C-u C-u M-x ediff-undo.
The implementation is a straightforward combination of parts of
'ediff-current-file' and 'undo'. Any feedback would be welcome.
[0001-Add-ediff-undo-command.patch (text/x-patch, attachment)]
This bug report was last modified 54 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.