Comments (14)
It works correctly after reinstalling emacs (or maybe because some package got upgraded), sorry for wasting your time
from evil.
I am unable to reproduce using make emacs
with GNU Emacs 29.3 in terminal.
from evil.
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:
C-v
G
$
y
A
7*SPC
<escape>
p
but as I said, this also works in evil for me.
from evil.
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:
C-v G $ y A 7*SPC <escape> p
but as I said, this also works in evil for me.
I can reproduce your steps in make emacs
too
from evil.
I get that same result if I press C-r "
in insert mode rather than p
in normal mode, but that is consistent with vim anyway.
from evil.
Interestingly, if I undo that, then paste with p
, I do get the result you get. Which is inconsistent with vim... I feel like I'm getting close to a repro here.
from evil.
Also, for posterity, the keypresses seem wrong (i.e. they don't result in that output in vim either).
Vim doesn't need the k
after the G
because it doesn't actually go to the final newline
from evil.
@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.
from evil.
Nope
from evil.
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.
from evil.
Is make emacs
not clean enough, should I try installing evil on emacs -Q
?
from evil.
make emacs
is emacs -Q
(plus loading the necessary evil files), so I can't imagine that would make any difference.
from evil.
@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.
" ; <- do this before C-v because doing it after $ loses the eol-anchoring
x
C-v
G
$
y
A
7*SPC
<escape>
"
x
p
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.
from evil.
It does get the correct result, but I use the same clipboard manager with neovim (clipman) and it behaves correctly
from evil.
Related Issues (20)
- visual selection + prettify
- `vip` select wrong region in org-mode HOT 3
- Help overriding only certain postfixs to "m" HOT 2
- $ followed by g j moves point at the beginning of next line HOT 4
- Don't move cursor (and don't unhighlight) options in evil mode HOT 1
- Move `evil-test-helpers.el` to its own repo? HOT 6
- `evil-redo` won't redo `evil-undo`, unless the latter was called in "normal mode" HOT 6
- Can't exit Visual-Block Mode with keyboard-escape-quit HOT 1
- Copy/paste in + register doesn't work when evil is run in Emacs terminal HOT 3
- Backreferences in search fail to work with vim-style-regexp HOT 2
- Docstring slot busy for select-window in evil-core.el
- C-M-mouse-1 / mouse-drag-region-rectangle doesn't work in normal state
- 'f' (search forward) becomes ';' repeat search on second search HOT 2
- `C-w <count> +` and `C-w <count> -` will not work; you *have* to put the count in front HOT 1
- Compile Error: List contains a loop: (lower-right lower-left upper-left upper-right HOT 2
- (evil-goto-definition) somehow erases the last jump HOT 5
- search motions forget offset when repeated HOT 1
- evil-jump-item issue with #ifdef #endif in c-ts-mode HOT 1
- Emacs >= 29.1: "⛔ Warning (comp): evil-pkg.el:1:2: Warning: the function `define-package' is not known to be defined." HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evil.