emacs-devel
[Top][All Lists]
Advanced

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

Re: Escaping a string for substitute-command-keys


From: Basil L. Contovounesios
Subject: Re: Escaping a string for substitute-command-keys
Date: Sat, 05 Oct 2019 16:40:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> That makes sense.  There's an additional problem that I hadn't thought of at
>> first: if I change the help-echo property on my help-echo strings, even
>> though I'll get the right message when mousing over, now things will break
>> for other renderings that do not use substitute-command-keys (in fact, most
>> places that I see in lisp/ do not use substitute-command-keys on help-echo;
>> most importantly, help-at-pt doesn't). 
>
> That sounds like a bug, indeed: we need to pass the string
> through substitute-command-keys either always or never.

Another source of inconsistency is {forward,backward}-button, which
display help-echo values in the echo area when called interactively.
Currently, they perform no command name substitution.  Should they?

Thanks,

-- 
Basil



reply via email to

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