casouri / vundo

Visualize the undo tree.
413 stars 20 forks source link

Support undo/redo history across restarts #97

Open pablolagreca opened 5 months ago

pablolagreca commented 5 months ago

It would be great to keep undo/redo history after restarts. It has a cost, maybe it can be limited by time and or size of history.

casouri commented 4 months ago

I believe you can archive that with https://melpa.org/#/undo-fu-session

jdtsmith commented 4 months ago

Yes, I use undo-fu-session. One issue with it is that saving undo history tends to build up very long vundo lines of >5-20k, which emacs still doesn't like.

We fixed a bug (see #68) that speeds up draw 10x, but just having such long lines displayed in any buffer slows emacs down perceptibly (including vundo navigation). Long term, it would be nice to draw "only what's needed" in the buffer to avoid this. I'll open an issue.