[Top][All Lists]

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

Re: "whether the global keymap C-x 4 will be replaced by a command,"

From: Stefan Monnier
Subject: Re: "whether the global keymap C-x 4 will be replaced by a command,"
Date: Tue, 14 Jul 2020 10:48:59 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> > This means that after binding the current ctl-x-4-map in Emacs core
>> > to the other-window command, 'C-h k C-x 4' will display the help for
>> > that command, not for the whole sequence 'C-h k C-x 4 C-f'.
>> I don't think we can/should make `C-h k` read all of `C-x 4 C-f`,
>> indeed.  But maybe we could make the following work:
>> `C-x 4 C-h k C-f`.
> Quelle horreur !
> Farther & farther from Occam - more & more complex.

I don't see what's more or less complex about it.
With other-frame-window `C-x 4` is a (prefix) command.
So just like `C-h k C-u` gives you help about the `C-u` binding,
`C-h k C-x 4` naturally gives you help about the `C-x 4` binding.

So if you're interested in the `C-f` binding available after you hit
`C-x 4`, it's only natural to use `C-x 4 C-h k C-f` (and not only it's
natural, but it's the only sane option unless we break the `C-h k C-x 4`

> We already have `C-x 4 C-h', which shows you
> every `C-x 4' key sequence and its command, with
> a link to its doc.  Que demande le peuple ?

You're talking about the current `C-x 4` which is a keymap.
I'm talking about the case when we've change `C-x 4` to be a prefix
command, as provided by other-frame-window.


reply via email to

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