* RE: Built-In Keybindingr associated with functions keys F2, F3, etc
[not found] ` <<83y2jwghr0.fsf@gnu.org>
@ 2020-10-24 16:49 ` Drew Adams
2020-10-24 17:28 ` Christopher Dimech
0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2020-10-24 16:49 UTC (permalink / raw)
To: Eli Zaretskii, help-gnu-emacs
> > > You can usually get that information for any prefix key by typing
> > > `<prefix> C-h'. So for example `<f2> C-h' shows:...
> >
> > (But <f1>, <f3>, <f4>, <f10>, <f11> are not,
> > by default, prefix keys.)
>
> Why does that matter, for the issue at hand? This is a kind of rigor
> that should have no place in this discussion. Tassilo is factually
> correct: the way he pointed out _is_ the way of asking Emacs about key
> sequences that start with a given key.
(FWIW, your hostility is what "has no place in
the discussion." Lighten up a little, please.)
I simply pointed out that what the OP asked about
isn't completely answered by the (otherwise fine)
answer that you can use C-h after a prefix key.
If Tassilo hadn't mentioned using C-h after a
prefix key, then I would have. That's a general,
if partial, answer to the OP's question, and a
very good one.
My post tried to respond directly to the question
about F2, F3, etc.:
There are 48 bindings starting with <f1>.
Is there a list somewhere on Built-In Emacs
Keybindings associated with the other functions
keys (F2, F3, etc)?
> > <f1> is bound to `help-command', which is a
> > prefix command, and `C-h f help-command' tells
> > you its definition is a keymap. But `<f1> C-h'
> > doesn't tell you about keys with prefix <f1>.
>
> It does here.
I should have said that it doesn't tell you about
ALL of the keys with prefix <f1>. And it doesn't
tell you the same thing that C-h following a
prefix key tells you: the _commands_ that are
bound to the keys.
(That's not its purpose. It tells you what kinds
of things you can do with C-h, which is fine.)
For example, `<f1> C-h' doesn't tell you about
these six keys following <f1>: C-h, C-\, ?, <f1>,
q, and `4 i'.
To be clear, I'm not saying it should or needs to.
But if someone is asking for a _list of all_ the
keys you can use after <f1>, `<f1> C-h' doesn't do
that.
[4 of the 6 unlisted keys are bound to commands
that are also bound to other keys that `<f1> C-h'
_does_ tell you about. So it tells you how to do
those things. But it doesn't tell you all of the
keys that let you do them. And it doesn't tell
you which commands are involved and provide links
to their `C-h f' help. And it misses the keys
for `help-quit' and `info-other-window'.]
Another difference: The help you see from `<f1>
C-h' is hard-coded. If someone or some library
adds key bindings to keymap `help-map' then you
won't see them listed by `<f1> C-h'. (If the
usual behavior of C-h following a prefix key
were followed, then you would see them listed.)
___
To add a bit to my answer: if you use library
help-fns+.el then you can use `C-h M-k help-map'
to see all of that keymap's key bindings (in the
same format used by `C-h b', or C-h following a
prefix key).
https://www.emacswiki.org/emacs/download/help-fns%2b.el
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: RE: Built-In Keybindingr associated with functions keys F2, F3, etc
2020-10-24 16:49 ` Built-In Keybindingr associated with functions keys F2, F3, etc Drew Adams
@ 2020-10-24 17:28 ` Christopher Dimech
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Dimech @ 2020-10-24 17:28 UTC (permalink / raw)
To: Drew Adams; +Cc: help-gnu-emacs
The most useful one I found was "C-h b".
> Sent: Saturday, October 24, 2020 at 6:49 PM
> From: "Drew Adams" <drew.adams@oracle.com>
> To: "Eli Zaretskii" <eliz@gnu.org>, help-gnu-emacs@gnu.org
> Subject: RE: Built-In Keybindingr associated with functions keys F2, F3, etc
>
> > > > You can usually get that information for any prefix key by typing
> > > > `<prefix> C-h'. So for example `<f2> C-h' shows:...
> > >
> > > (But <f1>, <f3>, <f4>, <f10>, <f11> are not,
> > > by default, prefix keys.)
> >
> > Why does that matter, for the issue at hand? This is a kind of rigor
> > that should have no place in this discussion. Tassilo is factually
> > correct: the way he pointed out _is_ the way of asking Emacs about key
> > sequences that start with a given key.
>
> (FWIW, your hostility is what "has no place in
> the discussion." Lighten up a little, please.)
>
> I simply pointed out that what the OP asked about
> isn't completely answered by the (otherwise fine)
> answer that you can use C-h after a prefix key.
>
> If Tassilo hadn't mentioned using C-h after a
> prefix key, then I would have. That's a general,
> if partial, answer to the OP's question, and a
> very good one.
>
> My post tried to respond directly to the question
> about F2, F3, etc.:
>
> There are 48 bindings starting with <f1>.
> Is there a list somewhere on Built-In Emacs
> Keybindings associated with the other functions
> keys (F2, F3, etc)?
>
> > > <f1> is bound to `help-command', which is a
> > > prefix command, and `C-h f help-command' tells
> > > you its definition is a keymap. But `<f1> C-h'
> > > doesn't tell you about keys with prefix <f1>.
> >
> > It does here.
>
> I should have said that it doesn't tell you about
> ALL of the keys with prefix <f1>. And it doesn't
> tell you the same thing that C-h following a
> prefix key tells you: the _commands_ that are
> bound to the keys.
>
> (That's not its purpose. It tells you what kinds
> of things you can do with C-h, which is fine.)
>
> For example, `<f1> C-h' doesn't tell you about
> these six keys following <f1>: C-h, C-\, ?, <f1>,
> q, and `4 i'.
>
> To be clear, I'm not saying it should or needs to.
> But if someone is asking for a _list of all_ the
> keys you can use after <f1>, `<f1> C-h' doesn't do
> that.
>
> [4 of the 6 unlisted keys are bound to commands
> that are also bound to other keys that `<f1> C-h'
> _does_ tell you about. So it tells you how to do
> those things. But it doesn't tell you all of the
> keys that let you do them. And it doesn't tell
> you which commands are involved and provide links
> to their `C-h f' help. And it misses the keys
> for `help-quit' and `info-other-window'.]
>
> Another difference: The help you see from `<f1>
> C-h' is hard-coded. If someone or some library
> adds key bindings to keymap `help-map' then you
> won't see them listed by `<f1> C-h'. (If the
> usual behavior of C-h following a prefix key
> were followed, then you would see them listed.)
> ___
>
> To add a bit to my answer: if you use library
> help-fns+.el then you can use `C-h M-k help-map'
> to see all of that keymap's key bindings (in the
> same format used by `C-h b', or C-h following a
> prefix key).
>
> https://www.emacswiki.org/emacs/download/help-fns%2b.el
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-24 17:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <<trinity-92d3fa12-3682-47fd-9f07-718fb0aecdad-1603482123573@3c-app-mailcom-bs08>
[not found] ` <<877drga8wf.fsf@gnu.org>
[not found] ` <<54bdb735-681a-4429-b6f8-0ab9f1c366b0@default>
[not found] ` <<83y2jwghr0.fsf@gnu.org>
2020-10-24 16:49 ` Built-In Keybindingr associated with functions keys F2, F3, etc Drew Adams
2020-10-24 17:28 ` Christopher Dimech
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.