emacs-evil / evil

The extensible vi layer for Emacs.
GNU General Public License v3.0
3.35k stars 283 forks source link

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

Open unhammer opened 4 months ago

unhammer commented 4 months ago

Issue type

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 a8b28f57f78255378c37c6d5ef1f2c7a45bc499b 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

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