[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Get a command by its keybinding and also respecting keytranslation
From: |
Stefan Monnier |
Subject: |
Re: Get a command by its keybinding and also respecting keytranslation |
Date: |
Sat, 18 Dec 2010 11:27:19 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> Another really cool feature with Stefan's approach is that `C-h k' in
> some special context matched by one of the predicates will show the docs
> of the command in that context. With a wrapper, you have to write your
> own docstring explaining all possible contexts and actions.
It's an OK feature, but it has the disadvantage that it doesn't tell you
that the binding you see might be different in a different context. in
many cases you'd rather have a docstring that tells you "in this context
does foo, elsewhere does bar", or at least "here does foo because it's
in a context that happens to have such and such property".
Stefan
- Re: Get a command by its keybinding and also respecting key translation, (continued)
Re: Get a command by its keybinding and also respecting key translation, Tassilo Horn, 2010/12/15
RE: Get a command by its keybinding and also respecting keytranslation, Drew Adams, 2010/12/15
Re: Get a command by its keybinding and also respecting keytranslation, Tassilo Horn, 2010/12/15
RE: Get a command by its keybinding and also respecting keytranslation, Drew Adams, 2010/12/15
Re: Get a command by its keybinding and also respecting keytranslation,
Stefan Monnier <=
Re: Get a command by its keybinding and also respecting key translation, Stefan Monnier, 2010/12/18