[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: new default bindings for winner and windmove
From: |
Daniel Colascione |
Subject: |
Re: Proposal: new default bindings for winner and windmove |
Date: |
Sun, 23 Jun 2024 10:06:08 -0400 |
User-agent: |
K-9 Mail for Android |
On June 23, 2024 9:59:05 AM EDT, Alan Mackenzie <acm@muc.de> wrote:
>Hello, Daniel.
>
>On Sun, Jun 23, 2024 at 08:57:36 -0400, Daniel Colascione wrote:
>
>
>> On June 23, 2024 8:05:22 AM EDT, Alan Mackenzie <acm@muc.de> wrote:
>> >On Sun, Jun 23, 2024 at 07:14:25 -0400, Daniel Colascione wrote:
>> >> On June 23, 2024 6:05:13 AM EDT, Alan Mackenzie <acm@muc.de> wrote:
>
>> >> >On Fri, Jun 21, 2024 at 15:39:09 -0500, Stefan Kangas wrote:
>> >> >> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>> >> >> > A few years ago, Daniel suggested:
>> >> >> >> Likewise, for windmove, we can bind C-x 4 {left, right, up, down}
>> >> >> >> and DWIM
>> >> >> >> for people automatically, enabled by default.
>
>> >> >> > AFAICT we still don't actually provide any keybindings for the
>> >> >> > windmove
>> >> >> > commands by default. Did I miss a controversy about that, or did it
>> >> >> > just fall through the cracks?
>
>> >> >> FWIW, I don't remember any controversy either, so my guess is that it
>> >> >> just fell through the cracks.
>
>> >> >I would be against using C-x 4 <arrow keys> or C-x 5 <arrow-keys> for
>> >> >windmove (or anything else) by default. Key sequences with arrow keys
>> >> >are too few, and too precious, to use for anything not critically
>> >> >important.
>
>> >> >windmove is not critically important. Either it isn't used at all by a
>> >> >user (likely most users), or it is used all the time (by a small number
>> >> >of users). In the latter case, the user will already have bound the
>> >> >commands to key sequences, since they are not useful called from M-x.
>
>> >> >It wasn't so long ago that we were removing default key bindings so as
>> >> >to free them up for other uses. I don't think there's any reason to
>> >> >reverse that policy for windmove. It just isn't important enough.
>
>> >> >There will be users who've bound these key bindings for their own uses.
>> >> >Let's not mess these users around.
>
>> >> The arrow keys don't have any meaning after C-x 4 today, and the
>> >> meaning I've been wanting to give them is useful and logical.
>
>> >It's useful to you, personally. It wouldn't be useful to me.
>
>> >> I've been using the arrow key setup for years locally and it works very
>> >> well. It really does make window management much less annoying, and
>> >> it's not like we're going to use the arrow keys for anything else under
>> >> C-x 4.
>
>> >You've been using C-x 4 <arrow key> for your purposes, and other users
>> >will be using them for their purposes, likely to be different from yours.
>
>> So? Nobody is preventing those users doing what they want with their
>> key bindings. You're making a general purpose argument against having
>> default key bindings at all. Why don't we just ship Emacs with an empty
>> global keymap so we're not imposing on anyone?
>
>That isn't a nuanced reasoned argument any more than it was the first
>time you made it (which I snipped). It's barely worth replying to.
Your position neverthelessboils down to a general argument against introducing
new default keybindings, because...
>What I'm saying is that IN THIS PARTICULAR CASE binding those particular
>keys to these commands is not a good idea.
...I haven't seen why in this case binding these keys is a particularly bad
idea. The original argument is that providing these bindings would somehow
override user customization. They won't. There's no deprivation of user
customization, so the "scarcity" of arrow key bindings is irrelevant. Now the
objection is over "clutter"? Does an arrow key binding somehow create more
clutter than some other binding? There's nothing special about these bindings.
>
>[ .... ]
>
>> >> But that aside, even if windmove is sparsely used today, might that be
>> >> because it's inconvenient to use without bindings?
>
>> >It might, but it's unlikely. Even C-x 4 <up> would be inconvenient for
>> >me. I have other-window bound to <f12> and rarely have more than three
>> >or four windows in a frame. I'd hit <f12> two or three times rather
>> >going through the rigmarole of C-x 4 <up>.
>
>> So? How does providing default windmove bindings make your life worse?
>
>It clutters up the keymap with rarely[*] used commands, leaving fewer
>bindings available to the user.
>[*] That's "rarely" as in "very few users" even though each of these no
>doubt uses the commands a lot.
That a command without a binding might (or might not --- no metrics) rarely
used and therefore doesn't merit a binding is kind of tautological.
- Re: Telemetry, opt-in,opt-out [was: Proposal: new default bindings for winner and windmove], (continued)
- Re: Telemetry, opt-in,opt-out [was: Proposal: new default bindings for winner and windmove], tomas, 2024/06/23
- Re: Telemetry, opt-in,opt-out [was: Proposal: new default bindings for winner and windmove], Stefan Monnier, 2024/06/23
- RE: [External] : Re: Telemetry, opt-in,opt-out [was: Proposal: new default bindings for winner and windmove], Drew Adams, 2024/06/23
- Re: Proposal: new default bindings for winner and windmove, Po Lu, 2024/06/23
- Re: Proposal: new default bindings for winner and windmove, Daniel Colascione, 2024/06/23
- Re: Proposal: new default bindings for winner and windmove, Stefan Kangas, 2024/06/23
- Re: Proposal: new default bindings for winner and windmove, Eli Zaretskii, 2024/06/23
- RE: [External] : Re: Proposal: new default bindings for winner and windmove, Drew Adams, 2024/06/23
- Re: Proposal: new default bindings for winner and windmove, Gregor Zattler, 2024/06/23
- Re: Proposal: new default bindings for winner and windmove, Alan Mackenzie, 2024/06/23
- Re: Proposal: new default bindings for winner and windmove,
Daniel Colascione <=
- RE: [External] : Re: Proposal: new default bindings for winner and windmove, Drew Adams, 2024/06/23
- Re: Proposal: new default bindings for winner and windmove, Eli Zaretskii, 2024/06/23
- Re: Proposal: new default bindings for winner and windmove, Daniel Colascione, 2024/06/23
- Re: Proposal: new default bindings for winner and windmove, Eli Zaretskii, 2024/06/23
- Re: Proposal: new default bindings for winner and windmove, Eli Zaretskii, 2024/06/23
- Re: Proposal: new default bindings for winner and windmove, Stefan Monnier, 2024/06/23
- RE: [External] : Re: Proposal: new default bindings for winner and windmove, Drew Adams, 2024/06/23
- Re: Proposal: new default bindings for winner and windmove, Dmitry Gutov, 2024/06/23
- RE: [External] : Re: Proposal: new default bindings for winner and windmove, Drew Adams, 2024/06/23
- RE: [External] : Re: Proposal: new default bindings for winner and windmove, Drew Adams, 2024/06/23