-
Notifications
You must be signed in to change notification settings - Fork 37
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
Change motion adds one letter on the active cursor #63
Comments
I wasn't able to reproduce this issue. I've added more tests that cover this scenario though in this commit 93ba565. I wonder if there's some interference from other plugin or maybe it's your Emacs version (the tests run against 25.1). In your example it seems that the fake cursors are misbehaving by removing the entire word. The real cursor has the correct behavior. |
I am using the same version of Emacs 25.1 . I do wonder why is this happening. Realistically if I want it to do, what it needs to do, reliably, I need to use the visual state. I'll try to switch off some other packages. Rerun the tests on Win as well. I'll get back to you asap. |
Also, do you get any errors in the messages buffer? |
Oh, so you're on Windows. That could be the reason. Let me know how the tests behave there. |
I'll check the error messages. I am on Arch Linux, but I have the same Emacs setup on Win 7,which I haven't checked for this problem. I'll try to run the tests tonight, otherwise it'll have to be tomorrow then. |
Ok! It seems that I have found the problem. I use |
Oh, I see. Interesting. I'm not sure if there's an easy way to fix that. I'll think about it. |
That's great! Thanks! I just thought that there must a bit of code that makes the "clone cursors" enter and exit the insert state at the beginning of the change motion, this might be the cause of the disturbance. Just food for thought. I would love to help, but my knowledge of elisp is very basic :-( |
I thought that I do not mind the standard evil behaviour while the multiple cursors are active, so I thought of just switching the
EDIT: |
Let it be that I have 4 cursors active as follows:
set[q]
set[q]
set[q]
set[q] <- active cursor
After running
cb
I get:[]
[]
[]
[q]
The q gets left behind on the active cursor. This behavior occurs about 99% of the time, sometimes it just works, most of the time it fails. It is the same case with other motions: e, E, b, B, w, W, f, F, t, T. However, any command, be it: change,delete or even surround command work absolutely perfectly when used from visual state.
Is this a problem for anyone else?
Apart from this little issue the package is excellent!
The text was updated successfully, but these errors were encountered: