[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Why does show_help_echo call substitute_command_keys?
From: |
Drew Adams |
Subject: |
RE: Why does show_help_echo call substitute_command_keys? |
Date: |
Fri, 21 Jul 2017 07:54:45 -0700 (PDT) |
> > Because the help-echo property is the Emacs API to tooltips, and
> > tooltips are expected to be able to display keyboard equivalents to
> > clicking the thing that is pointed?
>
> Ok. So we don't expect callers to explicitly use
> substitute-command-keys on their help-echo properties?
We should, if/when they want the effect of `substitute-command-keys'.
Emacs should not assume that `substitute-command-keys' is appropriate
for a tooltip. Code that wants that behavior should ask for it.
RE: Why does show_help_echo call substitute_command_keys?, Drew Adams, 2017/07/21