-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Abort repeat with evil-undo #1405
Conversation
Actually, the same needs to apply to evil-redo |
2099377
to
4aa3c5a
Compare
Updated |
I should mention, that, at least on my machine, some very bad things (like emacs 100% cpu spins) happen in some situations without this change when undoing/redoing and repeating things. |
Ran into this on spacemacs. Someone please merge. |
I'm not the maintainer (he's a bit busy right now) but I do have merge permissions. Happy to do so, but feel I need some explanation first:
|
The Furthermore, from
Undoing changes the current buffer. It would be odd if one was in the middle of typing in a buffer in insert mode, issued an undo with something like
Yes. It was introduced when the configurable undo system was introduced, i.e. when #1360 was merged.
When using
Someone possibly could, but I don't have the time to get into it. Doing the research to answer your other questions was more time than I had to spend on this at the moment, unfortunately. |
By the way, as an undo-fu user, you may want to try out binding
Then leave insert mode and press |
@aaronjensen thanks for taking the time to explain. I had a feeling it would have been a regression from the recent introduction of the configurable undo system. I'm satisfied this should be merged. Please keep an eye out for any unexpected behaviour. |
Sure thing, thank you for merging! |
Without this,
.
will repeat undo, at least when using undo-tree.