From: Eli Zaretskii <eliz@gnu.org>
To: emacs-devel@gnu.org, Juri Linkov <juri@linkov.net>,
Sean Whitton <spwhitton@spwhitton.name>
Subject: Re: Adding missing C-x 5 C-j and C-x t C-j commands
Date: Mon, 23 May 2022 12:16:02 +0300 [thread overview]
Message-ID: <791EABD2-57A9-4C71-9BB3-88F691CE13DF@gnu.org> (raw)
In-Reply-To: <86h75g1xuc.fsf@mail.linkov.net>
On May 23, 2022 10:56:47 AM GMT+03:00, Juri Linkov <juri@linkov.net> wrote:
> >> 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
>
>
I don't think we agreed to have full symmetry between C-x 4 and C-x 5. I see no special reason for 100% consistency here. Simple key sequences are at a premium, and we shouldn't usurp them just because we can.
Any user who wants a C-x 5 binding for dired-jump can have such a binding for him or herself. But why do this by default for everyone?
next prev parent reply other threads:[~2022-05-23 9:16 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-22 19:53 Adding missing C-x 5 C-j and C-x t C-j commands Sean Whitton
2022-05-23 2:24 ` Eli Zaretskii
2022-05-23 4:57 ` Sean Whitton
2022-05-23 4:59 ` Sean Whitton
2022-05-23 7:56 ` Juri Linkov
2022-05-23 9:16 ` Eli Zaretskii [this message]
2022-05-23 13:54 ` Sean Whitton
2022-05-23 14:07 ` Eli Zaretskii
2022-05-23 20:52 ` Sean Whitton
2022-05-23 13:35 ` Sean Whitton
2022-05-23 12:26 ` Stefan Monnier
2022-05-23 16:52 ` Juri Linkov
2022-06-07 20:17 ` Howard Melman
2022-06-08 2:29 ` Eli Zaretskii
2022-06-08 6:40 ` Juri Linkov
2022-06-08 12:27 ` Howard Melman
2022-06-08 16:08 ` Juri Linkov
2022-06-08 19:17 ` Howard Melman
2022-06-09 2:41 ` Howard Melman
2022-06-09 6:44 ` Juri Linkov
2022-06-09 5:02 ` Eli Zaretskii
2022-06-09 6:42 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=791EABD2-57A9-4C71-9BB3-88F691CE13DF@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=juri@linkov.net \
--cc=spwhitton@spwhitton.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).