Skip to content

Motions don’t behave as expected #1935

@Mango0x45

Description

@Mango0x45

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions