emacs-evil / evil

The extensible vi layer for Emacs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Vkko` does nothing under cua-selection-mode

unhammer opened this issue · comments

Issue type

  • Bug report

Environment

Emacs version: commit a9b28224af0f73d1fe0f422e9b318c5b91af889b (tag: emacs-29.1)
Operating System: xubuntu 22.04
Evil version: commit a7ffa73 (HEAD -> master, origin/master, origin/HEAD)
Evil installation type: git
Graphical/Terminal: buggy in both
Tested in a make emacs session (see CONTRIBUTING.md): Yes

Reproduction steps

  • make emacs or make terminal
  • n (skip tests)
  • M-x cua-selection-mode
  • Vkkko

that is, enter visual line mode, select some lines and hit o for (cua-)exchange-point-and-mark

Expected behavior

o should exchange point and mark

Actual behavior

o has no effect

Further notes

Strangely, if I first enter visual block C-v and from there V for visual-line, o works again. But then if I ESC and Vkko directly it doesn't.

Possibly related to #1462 ?

From #86 it seems we should be able to use evil with cua-selection-mode