Emacs: Undo/Redo Saga

submited by
Style Pass
2021-07-07 17:30:15

The redo.el works ok, but occasionally it corrupts your undo, meaning that you know there's more undo/redo but wasn't able to get to it. This happens perhaps once a month.

The redo+.el is supposed to update/modernize the code. Unfortunately, i didn't have luck with it. These Kyle based redo modes are ~200 lines of elisp, each.

After using about 3 or 4 redo packages for 10 years, i gave them all up. They all have corruption problem. (i stopped using any undo/redo package since about 2015.)

When a corruption happens, it's really nasty. You undo but got a surprise that there's no undo (because the package bug). It's like losing your work. (e.g. When you move chucks of text between buffers, or, just did lots of experimental stuff, expecting you can go back by undo.)

in plain emacs, to redo, just press Ctrl+g first then undo. Further undo will be redo. Press Ctrl+g again to reverse direction. If you are careful, one can avoid the undo/redo roller-coaster confusion.

Leave a Comment