emacs-evil / evil

The extensible vi layer for Emacs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C-M-mouse-1 / mouse-drag-region-rectangle doesn't work in normal state

unhammer opened this issue · comments

Issue type

  • Bug report

Environment

Emacs version: GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2024-03-25
Operating System: Ubuntu 22.04.4 LTS
Evil version: tried both a8b28f5 and 1.14.2 (melpa)
Evil installation type: tried both git and melpa stable
Graphical/Terminal: X
Tested in a make emacs session (see CONTRIBUTING.md): Yes

Reproduction steps

  • make emacs
  • say n to run tests
  • be in Normal state
  • hold ctrl+alt and try mouse-dragging a rectangle

Expected behavior

Should drag a rectangle (as it does when you're in emacs-state and use C-M-mouse-1)

Actual behavior

Drags a regular regions as if C and M were not held.

Further notes

A rectangular region can also be marked using the mouse: click and drag C-M-mouse-1 from one corner of the rectangle to the opposite.

https://www.gnu.org/software/emacs/manual/html_node/emacs/Rectangles.html