From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Adding missing C-x 5 C-j and C-x t C-j commands Date: Mon, 23 May 2022 10:56:47 +0300 Organization: LINKOV.NET Message-ID: <86h75g1xuc.fsf@mail.linkov.net> References: <87a6b9xs22.fsf@athena.silentflame.com> <83fsl16l5l.fsf@gnu.org> <871qwkyhfx.fsf@athena.silentflame.com> <87y1ysx2sj.fsf@athena.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8851"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Sean Whitton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 23 10:26:46 2022 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 1nt3On-0002Aa-0T for ged-emacs-devel@m.gmane-mx.org; Mon, 23 May 2022 10:26:45 +0200 Original-Received: from localhost ([::1]:52238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nt3Ol-0006me-PF for ged-emacs-devel@m.gmane-mx.org; Mon, 23 May 2022 04:26:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt33r-000176-IR for emacs-devel@gnu.org; Mon, 23 May 2022 04:05:14 -0400 Original-Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:43973) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt33n-0001Kh-PP; Mon, 23 May 2022 04:05:06 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id A20A21C0004; Mon, 23 May 2022 08:04:47 +0000 (UTC) In-Reply-To: <87y1ysx2sj.fsf@athena.silentflame.com> (Sean Whitton's message of "Sun, 22 May 2022 21:59:08 -0700") Received-SPF: pass client-ip=2001:4b98:dc4:8::225; envelope-from=juri@linkov.net; helo=relay5-d.mail.gandi.net X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, GAPPY_SUBJECT=0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:290136 Archived-At: >> If we miss some of them out because we've since added C-x 5 5, >> we are asking the user to keep track of which things under C-x 4 have >> bindings under C-x 5 and which don't -- one has to remember that C-x 4 >> C-j exists but C-x 5 C-j doesn't. > > I meant: one has to remember that C-x 5 p and C-x 5 d exist but > C-x 5 C-j doesn't. For new commands that don't have a C-x 4 binding it makes sense to use C-x 5 5, but if a binding already exists in the C-x 4 keymap, it could be synced with the C-x 5 keymap for consistency. And indeed dired-jump-other-frame is missing among existing keys: C-x 4 C-f find-file-other-window C-x 5 C-f find-file-other-frame C-x 4 C-j dired-jump-other-window !!! C-x 4 C-o display-buffer C-x 5 C-o display-buffer-other-frame C-x 4 . xref-find-definitions-other-window C-x 5 . xref-find-definitions-other-frame C-x 4 0 kill-buffer-and-window C-x 5 0 delete-frame C-x 4 4 other-window-prefix C-x 5 5 other-frame-prefix C-x 4 a add-change-log-entry-other-window C-x 4 b switch-to-buffer-other-window C-x 5 b switch-to-buffer-other-frame C-x 4 c clone-indirect-buffer-other-window C-x 5 c clone-frame C-x 4 d dired-other-window C-x 5 d dired-other-frame C-x 4 f find-file-other-window C-x 5 f find-file-other-frame C-x 4 m compose-mail-other-window C-x 5 m compose-mail-other-frame C-x 4 p project-other-window-command C-x 5 p project-other-frame-command C-x 4 r find-file-read-only-other-window C-x 5 r find-file-read-only-other-frame