Skip to content
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

Motions don’t behave as expected #1935

Open
Mango0x45 opened this issue Sep 10, 2024 · 1 comment
Open

Motions don’t behave as expected #1935

Mango0x45 opened this issue Sep 10, 2024 · 1 comment

Comments

@Mango0x45
Copy link

Issue type

  • Question

Environment

Emacs version: GNU Emacs 30.0.90
Operating System: Arch Linux
Evil version: Evil version 1.15.0
Evil installation type: MELPA
Graphical/Terminal: Graphical

Reproduction steps

  • Start Emacs
  • Have the following buffer contents (⋆ is the cursor):
aa⋆aa
bbbbb
ccccc
  • Enter dj in normal mode

Expected behavior

The motion should delete both the current and next lines, leaving only ccccc left.

Actual behavior

The motion deletes downwards as expected, but does so as if it was performed in visual mode (not visual line mode which the motion should be emulating). This leaves me with the following buffer contents:

aabbb
ccccc

Further notes

I assume this is intended behaviour on the part of this library, but I find this borderline unusable. Is there a means to configure or fix this behaviour?

@axelf4
Copy link
Collaborator

axelf4 commented Dec 14, 2024

Are you using visual-line-mode (see #1890)? Otherwise I am unable to reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants