emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "C-x 5 5" vs "C-x 4 1" inconsistency


From: Eli Zaretskii
Subject: Re: "C-x 5 5" vs "C-x 4 1" inconsistency
Date: Sun, 10 Oct 2021 21:07:16 +0300

> From: Juri Linkov <juri@linkov.net>
> Cc: emacs-devel@gnu.org
> Date: Sun, 10 Oct 2021 20:15:14 +0300
> 
> >> >> I think this inconsistency is unfortunate and unjustified.  Can we
> >> >> please move same-window-prefix to "C-x 4 5" for consistency with the
> >> >> equivalent frame command?
> >> >
> >> > Sorry, I meant "C-x 4 4" and other-window-prefix.
> >>
> >> Please explain where do you think is inconsistency.
> >> 'C-x 4 4' is already bound to 'other-window-prefix'.
> >
> > But other-frame-prefix is "C-x 5 5".  This is inconsistent with other
> > uses of these prefixes, specifically "C-x 5 2", "C-x 5 b", C-x 5 f",
> > which have their "C-x 4" counterparts.
> 
> The prefix 'C-x 5' is for frames, so 'C-x 5 5' creates a new frame.
> The prefix 'C-x 4' is for windows, so 'C-x 4 4' creates a new window.
> Also like 'C-x 1' keeps the selected window, 'C-x 4 1' shows the next
> buffer in the same window while keeping it selected.

And what do you say about the other examples I gave above?

It was always the rule with these commands that similar operations
have the same "final" keys.  Now you've broken this.  I think this is
not a good situation.  It will definitely get in the way of my
remembering which one is which.

> Recently Drew mentioned that there is the command 'tear-off-window'.
> It would perfectly fit into the keybinding 'C-x 4 5' with mnemonics
> that '4' (window) is detached to '5' (frame):

I don't see how this weak mnemonics would help with the broken
mnemonics of "C-x 4 4" vs "C-x 5 5".  The prefixes should start with
"C-x 4/5" and continue with the same character.  If you don't want to
use 4 or 5 for both, let's find a different letter, but make it
identical for both "C-x 4" and "C-x 5".



reply via email to

[Prev in Thread] Current Thread [Next in Thread]