GNU bug report logs -
#52130
27.2; Wrong default key binding for `mouse-drag-set-region'
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Fri, 26 Nov 2021 22:11:02 UTC
Severity: normal
Tags: notabug
Found in version 27.2
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52130 in the body.
You can then email your comments to 52130 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#52130
; Package
emacs
.
(Fri, 26 Nov 2021 22:11:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Drew Adams <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 26 Nov 2021 22:11:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
FWIW, I object to the default key binding of `C-M-down-mouse-1 to
`mouse-drag-region-rectangle'.
This prefix should never have been given to that command.
Why? Because:
1. There are no other rectangular-region commands on, or that will be
put on, the same prefix (`C-M-').
2. There are plenty of sets of related commands that it does make sense
to put on that prefix (`C-M-').
3. `rectangle-mark-mode' is on `C-x SPC'. This is the other rectangle
command that involves the active region.
And other rectangle commands that don't necessarily involve the
active region are also on prefix key `C-x'.
(Those other, non-active region rectangle commands are actually on
`C-x r', but using that prefix for both rectangles and completely
unrelated commands (e.g. bookmarks) is misguided, and I hope that mix
will be abandoned someday.)
I don't think that binding was well thought out. I'd like to see Emacs
instead use these default bindings, on `C-x', for such behavior:
(global-set-key [(control x) mouse-1] 'mouse-set-point)
(global-set-key [(control x) down-mouse-1] 'mouse-drag-region-rectangle)
Can we please remove the `C-M-' mouse-1 bindings default for mouse-1
rectangle definition, and replace them with `C-x' mouse-1 bindings?
In GNU Emacs 27.2 (build 1, x86_64-w64-mingw32)
of 2021-03-26
Repository revision: deef5efafb70f4b171265b896505b92b6eef24e6
Windowing system distributor `Microsoft Corp.', version 10.0.19042
Configured using:
`configure --without-dbus --host=x86_64-w64-mingw32
--without-compress-install 'CFLAGS=-O2 -static''
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#52130
; Package
emacs
.
(Mon, 29 Nov 2021 15:58:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 52130 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
> FWIW, I object to the default key binding of `C-M-down-mouse-1 to
> `mouse-drag-region-rectangle'.
Well, I think it makes sense. Closing.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) notabug.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 29 Nov 2021 15:58:01 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
52130 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 29 Nov 2021 15:58:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 28 Dec 2021 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 81 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.