mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
alexluigit/dirvish@4fe9c00894 -> alexluigit/dirvish@119f9f59a6 emacs-straight/dired-git-info@9461476a28 -> emacs-straight/dired-git-info@6b6f2a5d71 emacs-straight/vundo@24271862a2 -> emacs-straight/vundo@10d011fb05 emacsmirror/git-timemachine@d8ffd0d7cc -> emacsmirror/git-timemachine@ac933e5cd2 ideasman42/emacs-undo-fu-session@a6c4f73bc2 -> ideasman42/emacs-undo-fu-session@2b355c9d39 ideasman42/emacs-undo-fu@0e74116fd5 -> ideasman42/emacs-undo-fu@04961ba775 magit/git-modes@f0a0154bf4 -> magit/git-modes@4a61a9b86d magit/magit@4881835572 -> magit/magit@54d37dc14c purcell/diredfl@f9140b2c42 -> purcell/diredfl@f6d599c308 purcell/ibuffer-vc@1388d2ea18 -> purcell/ibuffer-vc@66d0226733 rainstormstudio/nerd-icons-dired@4a068884bf -> rainstormstudio/nerd-icons-dired@c1c7348863 rmuslimov/browse-at-remote@c020975a89 -> rmuslimov/browse-at-remote@76aa27dfd4 stsquad/dired-rsync@7940d9154d -> stsquad/dired-rsync@5bcb851f3b
: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?