NonGNU ELPA - undo-fu


Undo helper with redo
undo-fu-0.5.tar (.sig), 2024-Mar-31, 30.0 KiB
Campbell Barton <>
Atom feed
Browse ELPA's repository
CGit or Gitweb

To install this package from Emacs, use package-install or list-packages.

Full description

Undo/redo convenience wrappers to Emacs default undo commands.

The redo operation can be accessed from a key binding
and stops redoing once the initial undo action is reached.

If you want to cross the initial undo boundary to access
the full history, running [keyboard-quit] (typically C-g).
lets you continue redoing for functionality not typically
accessible with regular undo/redo.

If you prefer [keyboard-quit] not interfere with undo behavior
You may optionally set `undo-fu-ignore-keyboard-quit' & explicitly
call `undo-fu-disable-checkpoint'.

Old versions

undo-fu-0.4.tar.lz2022-Jul-075.99 KiB


Change Log

- Version 0.5 (2022-07-10)
  - Fix unconstrained undo when the user has ``undo-no-redo`` enabled.
  - Protect against ``aggressive-indent-mode``.

- Version 0.4 (2020-05-22)

  - Back-port ``undo-redo`` from Emacs-28,
    replace the redo logic with this function.
  - Fix continual redo in unconstrained mode trapping the user in a state
    where neither undo or redo can be performed.
  - Undo in *unconstrained* mode no longer uses ``undo-only``,
    matching redo behavior.
  - Raise an error when using undo commands when undo has been disabled for the buffer.
    *(was failing to set the checkpoint in this case).*

- Version 0.3 (2020-03-03)

  - Support non-destructive commands between undo/redo actions without breaking the chain.
    Internally ``last-command`` is no longer used to detect changes.
  - Add ``undo-fu-ignore-keyboard-quit`` option for explicit non-linear behavior.
  - Support using ``undo-fu-only-redo`` after regular ``undo`` / ``undo-only``.

- Version 0.2 (2020-01-12)

  - Linear redo support (which wont undo).
  - Evil-Mode attribute not to repeat these undo/redo actions.
  - Fix counting bug with ``undo-fu-only-redo-all``.
  - Add ``undo-fu-allow-undo-in-region`` option.

- Version 0.1 (2019-12-14)

  Initial release.