mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
akermu/emacs-libvterm@99c1f5e76a -> akermu/emacs-libvterm@056ad74653 alexluigit/dirvish@1d8de07f4e -> alexluigit/dirvish@2d63995d32 emacs-straight/vundo@791211a89f -> emacs-straight/vundo@c32481ab48 emacsmirror/git-timemachine@3780835fcd -> emacsmirror/git-timemachine@d1346a7612 emacsmirror/undo-fu-session@beb0e285d0 -> emacsmirror/undo-fu-session@d90d42ddba emacsmirror/undo-fu@dbb3e4b699 -> emacsmirror/undo-fu@399cc12f90 https://git.notmuchmail.org/git/notmuch@2f0320c5f24a -> https://git.notmuchmail.org/git/notmuch@dfc800c26e7b https://git.savannah.gnu.org/git/emms.git@5e9922f2a45f -> https://git.savannah.gnu.org/git/emms.git@8713a0ee985c jao/consult-notmuch@d8022e2ddc -> jao/consult-notmuch@17d2a4ea8c karthink/elfeed-tube@ce2b5071d1 -> karthink/elfeed-tube@79d5a08d76 org-mime/org-mime@9d4584651d -> org-mime/org-mime@9571c148ee remyhonig/elfeed-org@1197cf29f6 -> remyhonig/elfeed-org@34c0b4d758 tarsius/ol-notmuch@881991d94a -> tarsius/ol-notmuch@9a69506a3f tecosaur/emacs-everywhere@0b731ca6da -> tecosaur/emacs-everywhere@caeab3948f
:emacs undo
Description unfold
This module augments Emacs' built-in undo system to be more intuitive and to persist across Emacs sessions.
Maintainers
Module flags
- +tree
- Uses doom-package:undo-tree instead of doom-package:undo-fu, which is a little less stable, but offers branching undo history and a visualizer for navigating it.
Packages
Hacks
- Both undo-fu and undo-tree have been modified to use
zstd
to compress undo history if it is available. -
undo-tree only
- Text properties are stripped from undo history to shrink it.
- Undo-tree is too chatty about saving its history files. This has be "silenced". i.e. It's visible in \*Messages\*, but won't appear in your minibuffer.
-
undo-fu only
- Doom defines
undo-fu-mode
to make it easier to add hooks/mode-local keybinds.
- Doom defines
TODO Changelog
This module does not have a changelog yet.
Installation
Enable this module in your doom!
block.
This module has no external requirements.
TODO Usage
This module has no usage documentation yet. Write some?
TODO Configuration
This module's configuration documentation is incomplete. Complete it?
Disabling persistent undo history
-
If you are using doom-module:+tree:
(after! undo-tree (setq undo-tree-auto-save-history nil))
-
If you aren't:
(remove-hook 'undo-fu-mode-hook #'global-undo-fu-session-mode)
Troubleshooting
undo-tree
- Has been known to truncate undo history unpredictably, due to Emacs' undo
cleanup imposing linear undo limits on non-linear undo tree data. Doom already
sets
undo-limit
,undo-strong-limit
, andundo-outer-limit
absurdly high to mitigate this somewhat.
Frequently asked questions
This module has no FAQs yet. Ask one?
TODO Appendix
This module has no appendix yet. Write one?