-
Notifications
You must be signed in to change notification settings - Fork 280
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
Can't run a macro a second time #1331
Comments
I don't understand your reproduction steps.
We have this question for a reason. |
My bad, I mean I ran
|
Sorry, I still can't reproduce. Is the hyphen supposed to be 'any' character? This is what I tried:
I'm not sure why the tests are failing for you, but when asked whether you want to run the tests you can safely answer no. The point is just to reproduce the error in a |
I tried tpo reproduce the error on the
|
I've run into something like this a few times but could never reproduce it intentionally so I never made an issue. |
This happens when you save a macro to registers between You can display the registers on Emacs with It's more difficult to reproduce with Vim, because of this:
So on Vim you need to delete at least one full line (e.g. with I think evil-mode saving small deletes in numbered registers ( I don't think it's a good idea to save macros in numbered registers, regardless. You should save them in named registers: |
Issue type
Environment
Emacs version: GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20) of 2020-05-19
Operating System: Arch Linux
Evil version: 1.14.0
Evil installation type: Melpa
Graphical/Terminal: Graphical
Tested in a
make emacs
session (see CONTRIBUTING.md): NoReproduction steps
-Play the macro again
Expected behavior
The macro is played again
Actual behavior
The macro isn't played and I get an error
After 0 kbd macro iterations: evil-execute-macro: Keyboard macro terminated by a command ringing the bell
The text was updated successfully, but these errors were encountered: