Commit graph

16 commits

Author SHA1 Message Date
Henrik Lissner
8e1f5509ea
fix(undo): add emacs version check for vundo 2023-09-16 05:30:06 +02:00
Daniel Levy Moreno
9350b44dc0
feat(undo): add vundo
Close: #6263
2023-03-22 00:26:10 -04:00
Henrik Lissner
81268cc5cf
bump: :emacs
emacs-straight/undo-tree@e326c6135e -> emacs-straight/undo-tree@16f4121032
emacsmirror/git-timemachine@ca09684e94 -> emacsmirror/git-timemachine@d8ffd0d7cc
ideasman42/emacs-undo-fu-session@3e810c7c9a -> ideasman42/emacs-undo-fu-session@7b3fd0647d
ideasman42/emacs-undo-fu@ab8bc10e42 -> ideasman42/emacs-undo-fu@0e22308de8
purcell/ibuffer-vc@5fa6aea09b -> purcell/ibuffer-vc@9204001d1c
rmuslimov/browse-at-remote@cef26f2c06 -> rmuslimov/browse-at-remote@c020975a89

:emacs dired was omitted from this bug because of #6760.
2023-02-20 19:00:44 -05:00
Henrik Lissner
ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
Henrik Lissner
cdbd39ba26 emacs/undo: increase undo-outer-limit
Was missing a 0 (a typo), which meant it was less than its default
value, thus having the opposite effect and making data loss *more*
likely.

Also got rid of outdated comments; I think those have been around since
the sub-v2.0 days of Doom.
2021-07-12 21:59:52 -04:00
Henrik Lissner
69beabe287 Fix #5060: don't hash relative backup file paths
Also refactors undo-fu-session's make-hashed-file-path advise to use
make-backup-file-name-1.
2021-05-16 14:02:34 -04:00
Henrik Lissner
b12a0c02b3 Bump :emacs undo
ideasman42/emacs-undo-fu@f4db4c9 -> ideasman42/emacs-undo-fu@e0ad06b
ideasman42/emacs-undo-fu-session@a038914 -> ideasman42/emacs-undo-fu-session@243d93b

Also refactors module to conform to conventions.
2021-05-06 18:36:32 -04:00
Henrik Lissner
9831642a02 Fix #4993: shorten long file names for caches
Emacs generates long file names for auto-save and backup files.
undo-fu-session and tramp are two more big offenders. This fix SHA1s
their file names so they never exceed 40 characters.

Will also affect any package that uses make-backup-file-name-1
directly (like undo-tree).
2021-05-06 18:36:32 -04:00
Henrik Lissner
1757dd1700
Bump :editor evil
emacs-evil/evil@1e7aa5b -> emacs-evil/evil@373a57e
redguardtoo/evil-nerd-commenter@87734b9 -> redguardtoo/evil-nerd-commenter@b670f69
emacs-evil/evil-collection@c136589 -> emacs-evil/evil-collection@a21725f
2020-10-09 04:41:45 -04:00
Tyler Ware
d25da7185c Making gpg files incompatible with undo-fu session 2020-07-16 08:43:21 -06:00
Henrik Lissner
c4a1cc0493
emacs/undo: use doom-first-buffer-hook 2020-05-18 15:38:11 -04:00
Henrik Lissner
5c493541a9
Fix #3089: load unfo-fu a little sooner 2020-05-13 14:05:58 -04:00
Henrik Lissner
5e7d684927
Fix #3089: undo-fu-mode not enabled early enough 2020-05-11 15:31:16 -04:00
Henrik Lissner
094d74c1c0
Fix undo-fu-session not loading
TIL a minor mode with a non-nil :init-value doesn't trigger its hooks.
2020-04-13 22:37:43 -04:00
Henrik Lissner
1d6f0b3e44
Move undo-fu keybinds to :emacs undo module 2020-04-13 18:50:29 -04:00
Henrik Lissner
3e340ab415
Add :emacs undo module
Moves undo-fu/undo-tree out of core and allows uses to choose one or the
other.

Relevant to #2339
2020-04-13 18:45:40 -04:00