From: Drew Adams <drew.adams@oracle.com>
To: 52130@debbugs.gnu.org
Subject: bug#52130: 27.2; Wrong default key binding for `mouse-drag-set-region'
Date: Fri, 26 Nov 2021 22:09:32 +0000 [thread overview]
Message-ID: <SJ0PR10MB5488919D75BE330A2BFFE850F3639@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
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''
next reply other threads:[~2021-11-26 22:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-26 22:09 Drew Adams [this message]
2021-11-29 15:57 ` bug#52130: 27.2; Wrong default key binding for `mouse-drag-set-region' Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SJ0PR10MB5488919D75BE330A2BFFE850F3639@SJ0PR10MB5488.namprd10.prod.outlook.com \
--to=drew.adams@oracle.com \
--cc=52130@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).