[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding missing C-x 5 C-j and C-x t C-j commands
From: |
Eli Zaretskii |
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 |
User-agent: |
K-9 Mail for Android |
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?
- Adding missing C-x 5 C-j and C-x t C-j commands, Sean Whitton, 2022/05/22
- Re: Adding missing C-x 5 C-j and C-x t C-j commands, Eli Zaretskii, 2022/05/22
- Re: Adding missing C-x 5 C-j and C-x t C-j commands, Sean Whitton, 2022/05/23
- Re: Adding missing C-x 5 C-j and C-x t C-j commands, Sean Whitton, 2022/05/23
- Re: Adding missing C-x 5 C-j and C-x t C-j commands, Juri Linkov, 2022/05/23
- Re: Adding missing C-x 5 C-j and C-x t C-j commands,
Eli Zaretskii <=
- Re: Adding missing C-x 5 C-j and C-x t C-j commands, Sean Whitton, 2022/05/23
- Re: Adding missing C-x 5 C-j and C-x t C-j commands, Eli Zaretskii, 2022/05/23
- Re: Adding missing C-x 5 C-j and C-x t C-j commands, Sean Whitton, 2022/05/23
- Re: Adding missing C-x 5 C-j and C-x t C-j commands, Sean Whitton, 2022/05/23
- Re: Adding missing C-x 5 C-j and C-x t C-j commands, Stefan Monnier, 2022/05/23
- Re: Adding missing C-x 5 C-j and C-x t C-j commands, Juri Linkov, 2022/05/23