* bug#52130: 27.2; Wrong default key binding for `mouse-drag-set-region'
@ 2021-11-26 22:09 Drew Adams
2021-11-29 15:57 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2021-11-26 22:09 UTC (permalink / raw)
To: 52130
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''
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#52130: 27.2; Wrong default key binding for `mouse-drag-set-region'
2021-11-26 22:09 bug#52130: 27.2; Wrong default key binding for `mouse-drag-set-region' Drew Adams
@ 2021-11-29 15:57 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-11-29 15:57 UTC (permalink / raw)
To: Drew Adams; +Cc: 52130
Drew Adams <drew.adams@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-29 15:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-26 22:09 bug#52130: 27.2; Wrong default key binding for `mouse-drag-set-region' Drew Adams
2021-11-29 15:57 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.