Fewer links means less confusion. - Merge doom-issue and doom-commit links into doom-ref (for auto-linking Issue/PR/commit references). - Merge doom-module-source and doom-docs-source links into doom-source. - Rename doom-report-issue to doom-report. - Use '!' as the icon for module issues link. - Remove doom-repo (replaced with "doom:*" in :lang org module). - Add doomdir and emacsdir links to :lang org module.
2.8 KiB
2.8 KiB
:emacs undo
← Back to module index ! Issues ↖ Github ± Suggest edits ? Help
Description unfold
This module augments Emacs' built-in undo system to be more intuitive and to persist across Emacs sessions.
Maintainers
Module flags
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.
-
unfo-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 +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?