blob: 158775d82effe89d15d8b1c747dc532b79c7da1d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
[[!meta title="Local File History Possibilities in Emacs"]]
[[!meta copyright="Copyright © 2026 Wouter Groeneveld"]]
[[!inline pages="internal(2026/info/local-nav)" raw="yes"]]
<!-- Initially generated with emacsconf-publish-talk-page and then left alone for manual editing -->
<!-- You can manually edit this file to update the abstract, add links, etc. --->
# Local File History Possibilities in Emacs
Wouter Groeneveld - <https://brainbaking.com>, <mailto:wouter@brainbaking.com>
[[!inline pages="internal(2026/info/local-before)" raw="yes"]]
Emacs offers a myriad of ways to keep track of previous versions
of your document: through tilde-like backup files, auto-save
files, and of course the extensive built-in undo history
system. Navigating that can be a chore unless you install
something like vundo to visualize the undo tree. But with a huge
undo-limit, even vundo can become unwieldy. What if we can conjure
up a way to diff between the current document and the state it was
in ten or twenty minutes ago, not unlike IntelliJ's local history
system? Using a combination of Consult (preview) and diff-buff,
that can be easily done! In this lightning talk, we'll explore how
to quickly browse through diff history and roll back using
built-in Emacs tooling.
[[!inline pages="internal(2026/info/local-after)" raw="yes"]]
[[!inline pages="internal(2026/info/local-nav)" raw="yes"]]
|