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
incorrect behaviour of visual block paste #1894
Comments
I am unable to reproduce using |
Yeah I also can't repro. And the test in the above commit passes on all emacs versions we test for. Also, for posterity, the keypresses seem wrong (i.e. they don't result in that output in vim either). Should be, with cursor on first a:
but as I said, this also works in evil for me. |
|
I get that same result if I press |
Interestingly, if I undo that, then paste with |
Vim doesn't need the |
Fixes an issue noticed while triaging emacs-evil#1894
Fixes an issue noticed while triaging #1894
@p00f I can't really see why it would, but do you want to pull master and see if my latest change makes any difference? Otherwise, any clue as to why your setup would be any different from mine would be helpful. I'm running the same version of Emacs with the same version of evil on the same OS, so it does sound more likely a repro steps difference. |
Nope |
OK, I can't promise I'll look any further into this until you can supply repro steps that work on my machine, but I'll leave it open in case you do. |
Is |
|
@p00f do you have any clipboard manager that may be interfering? One way to eliminate that would be to yank into a register and paste from it. E.g.
As commented, I've realised that choosing a register breaks the end-of-line selection. That's a bug that needs fixing. But ignoring that, let me know if the above gets you the correct result. If it does, it implies that something (probably outside of emacs) is clobbering the copied text. |
It does get the correct result, but I use the same clipboard manager with neovim (clipman) and it behaves correctly |
It works correctly after reinstalling emacs (or maybe because some package got upgraded), sorry for wasting your time |
Issue type
Environment
Emacs version:
GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0)
Operating System: Arch Linux
Evil version: Evil version 1.15.0
Evil installation type: MELPA
Graphical/Terminal: Graphical
Tested in a
make emacs
session (see CONTRIBUTING.md): YesReproduction steps
C-x C-k C-e
)Expected behavior
Tested in neovim:
Actual behavior
Further notes
The text was updated successfully, but these errors were encountered: