Questions tagged [undo-tree-mode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
16
votes
2answers
505 views

Collapsing undo history

I'm working on an Emacs mode that lets you control Emacs with speech recognition. One of the problems I've ran into is that the way Emacs handles undo doesn't match how you would expect it to work ...
6
votes
1answer
300 views

undo-tree — history file without text-properties

Q:  How can I modify undo-tree-save-history to remove the text-properties from all entries that make their way into the saved history file? In a related thread, @PythonNut was on a very similar quest ...
10
votes
2answers
1k views

How to make undo-tree linear — undo-tree-undo/redo

When running the command undo-tree-undo/redo successively, things are undone/redone based upon the current active branch. Although the user receives a branch point message along the way, the previous ...
11
votes
2answers
2k views

Possible not to use undo-tree in evil mode?

Every so often I run into bugs in undo-tree, where I can't redo, with the following known bug, another report & reddit thread. primitive-undo: Unrecognized entry in undo list undo-tree-canary ...
2
votes
1answer
87 views

text-properties bloat persistent undo files

I'm using undo-tree with AUCTeX, and I am persisting my undo files like so: (setq undo-tree-auto-save-history t) Unfortunately, this regularly results in large (~1MB) undo save files which cause my ...
2
votes
1answer
276 views

disable undo-tree on a region of text

I use undo-tree mode in my emacs setup. Every once in a while, after writing a lot of text, I accidentally undo changes while I have some region selected. I am not 100% sure what undo-tree is doing ...
1
vote
1answer
56 views

undo-tree: How to map through all nodes programmatically

I am working on my own new feature request for undo-tree linear undo/redo: How to make undo-tree linear -- undo-tree-undo/redo I have successfully added two additional gizmos (?) to cl-defstruct ... ...
1
vote
1answer
42 views

Cleaning the buffer-undo-list of unwanted entries

When multiple-cursors is deactivated, I would like to remove from the buffer-undo-list all entries that look like this: (apply activate-cursor-for-undo 40) (apply deactivate-cursor-after-undo 38) ...