Giter VIP home page Giter VIP logo

Comments (14)

p00f avatar p00f commented on June 21, 2024 1

It works correctly after reinstalling emacs (or maybe because some package got upgraded), sorry for wasting your time

from evil.

axelf4 avatar axelf4 commented on June 21, 2024

I am unable to reproduce using make emacs with GNU Emacs 29.3 in terminal.

from evil.

tomdl89 avatar tomdl89 commented on June 21, 2024

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.

p00f avatar p00f commented on June 21, 2024

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
Screenshot from 2024-04-30 at 14_41_49 465644725

from evil.

tomdl89 avatar tomdl89 commented on June 21, 2024

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.

tomdl89 avatar tomdl89 commented on June 21, 2024

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.

p00f avatar p00f commented on June 21, 2024

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.

tomdl89 avatar tomdl89 commented on June 21, 2024

@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.

p00f avatar p00f commented on June 21, 2024

Nope

from evil.

tomdl89 avatar tomdl89 commented on June 21, 2024

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.

p00f avatar p00f commented on June 21, 2024

Is make emacs not clean enough, should I try installing evil on emacs -Q?

from evil.

tomdl89 avatar tomdl89 commented on June 21, 2024

make emacs is emacs -Q (plus loading the necessary evil files), so I can't imagine that would make any difference.

from evil.

tomdl89 avatar tomdl89 commented on June 21, 2024

@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.

p00f avatar p00f commented on June 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.