GNU bug report logs - #51557
27.2; `mouse-1' with `cua-rectangle-mark-mode'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Mon, 1 Nov 2021 19:15:02 UTC

Severity: minor

Tags: moreinfo

Found in version 27.2

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: 51557 <at> debbugs.gnu.org
Subject: bug#51557: 27.2; `mouse-1' with `cua-rectangle-mark-mode'
Date: Mon, 1 Nov 2021 19:14:04 +0000
I don't use `cua-rectangle-mark-mode'.  I just happened upon this
behavior, and found it odd (bugged?).  Feel free to close if you
think this isn't problematic.

emacs -Q

M-x cua-rectangle-mark-mode ; (after selecting a region or not)

Click `mouse-1' somewhere.  No effect, it seems.  The mode remains in
effect (same key help is displayed).

Click `mouse-1' again (anywhere).  It seems that that exits
`cua-rectangle-mode'.

Should `mouse-1' do something for this mode?  (`mouse-3' apparently
extends the rectangle.)  Should it exit on first click?  Should you get
some feedback of whatever it does?

`rectangle-mark-mode' also lets `mouse-3' extend the rectangle.  But for
it, `mouse-1' apparently exits the mode.

That seems more reasonable.  But perhaps the mode should be continued
and `mouse-1' should just reinitialize it (set its starting point).
(The normal behavior of `mouse-1' is, after all, to set point.)

In GNU Emacs 27.2 (build 1, x86_64-w64-mingw32)
 of 2021-03-26 built on CIRROCUMULUS
Repository revision: deef5efafb70f4b171265b896505b92b6eef24e6
Repository branch: HEAD
Windowing system distributor 'Microsoft Corp.', version 10.0.19042
System Description: Microsoft Windows 10 Pro (v10.0.2009.19042.1288)




This bug report was last modified 3 years and 172 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.