I often did undo too much, then redo it. I noticed I have default undo position in my mind. I think C-x C-s
is helpful but not enough, because it just indicate modified or not, so the buffer is still possible to undo.
So I want to reset undo history when I think this is certainly my default undo position. If I can do so, I think I can come back default undo position easily like this C-u 1000000000 C-_
.
For example, I need to find or create command like below xxx
.
If I type below text in the current buffer,
...So Emacs is the excellent editor.
then I use M-x xxx
. And then, I continue to type like this.
...So Emacs is the excellent editor.
But there are more excellent editor like...
But to pass through the reviewers, I need to correct second one. So I have to do C-u 1000000000 C-_
and the result will be
...So Emacs is the excellent editor.
Is there any command like xxx
above?