From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: "C-x 5 5" vs "C-x 4 1" inconsistency Date: Sun, 10 Oct 2021 21:07:16 +0300 Message-ID: <83r1csrbxn.fsf@gnu.org> References: <83zgriwnv2.fsf@gnu.org> <83wnmmwnn3.fsf@gnu.org> <8735p9jo51.fsf@mail.linkov.net> <83bl3xrwl0.fsf@gnu.org> <871r4sby3h.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3033"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 10 20:08:22 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZdFG-0000cv-Os for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Oct 2021 20:08:22 +0200 Original-Received: from localhost ([::1]:60130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZdFE-000613-JY for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Oct 2021 14:08:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZdEP-0005KN-TC for emacs-devel@gnu.org; Sun, 10 Oct 2021 14:07:30 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57882) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZdEP-0001v0-9Y; Sun, 10 Oct 2021 14:07:29 -0400 Original-Received: from [87.69.77.57] (port=3455 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZdEO-0005Mt-Pm; Sun, 10 Oct 2021 14:07:29 -0400 In-Reply-To: <871r4sby3h.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 10 Oct 2021 20:15:14 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:276684 Archived-At: > From: Juri Linkov > 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".