help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Bind two commands to one key to toggle between them for the same loc


From: Hongyi Zhao
Subject: Re: Bind two commands to one key to toggle between them for the same local keymap.
Date: Fri, 22 Oct 2021 17:40:56 +0800

On Fri, Oct 22, 2021 at 5:33 PM Emanuel Berg via Users list for the
GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
> company-active-map ... that's yet another one!
>
> Use 'C-h k' to see what happens ...

If the corresponding keymap is not activated, 'C-h k <tab>' or 'C-h k
<f1>' won't give the relevant info at all. I'm really stuck here. See
the following:

'C-h k <tab>':

TAB (translated from <tab>) runs the command indent-for-tab-command
(found in global-map), which is an interactive compiled Lisp function
in ‘indent.el’.

It is bound to TAB.

(indent-for-tab-command &optional ARG)


'C-h k <f1>': nothing is given.



reply via email to

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