GNU bug report logs -
#37628
Inconsistent display of help-echo between minibuffer and tooltips
Previous Next
Reported by: Clément Pit-Claudel <cpitclaudel <at> gmail.com>
Date: Sat, 5 Oct 2019 08:15:02 UTC
Severity: normal
Tags: fixed
Fixed in version 28.1
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37628 in the body.
You can then email your comments to 37628 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37628
; Package
emacs
.
(Sat, 05 Oct 2019 08:15:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Clément Pit-Claudel <cpitclaudel <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 05 Oct 2019 08:15:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi all,
This is a follow-up https://lists.gnu.org/archive/html/emacs-devel/2019-10/msg00090.html.
Help-echo strings are not displayed consistently by show_help_echo (in keyboard.c) and display-local-help (in help-at-pt.el): in tooltips, substitute-command-keys is called on the help-echo string before passing it to show-help-function, but help-at-pt doesn't perform any substitutions before calling the function.
To reproduce, (insert (propertize "test" 'help-echo "\\[forward-char]")), then press C-h . (which displays \[forward-char]) or hover over the inserted text with your mouse (which displays C-f).
Clément.
Added tag(s) fixed.
Request was from
Stefan Kangas <stefan <at> marxist.se>
to
control <at> debbugs.gnu.org
.
(Thu, 27 Aug 2020 12:06:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37628
; Package
emacs
.
(Thu, 27 Aug 2020 12:40:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 37628 <at> debbugs.gnu.org (full text, mbox):
close 37628 28.1
thanks
Clément Pit-Claudel <cpitclaudel <at> gmail.com> writes:
> This is a follow-up https://lists.gnu.org/archive/html/emacs-devel/2019-10/msg00090.html.
>
> Help-echo strings are not displayed consistently by show_help_echo (in keyboard.c) and display-local-help (in help-at-pt.el): in tooltips, substitute-command-keys is called on the help-echo string before passing it to show-help-function, but help-at-pt doesn't perform any substitutions before calling the function.
>
> To reproduce, (insert (propertize "test" 'help-echo "\\[forward-char]")), then press C-h . (which displays \[forward-char]) or hover over the inserted text with your mouse (which displays C-f).
I've fixed this on master in commit f3b85cd0cb.
I've also posted a followup bug here:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43070
I'm therefore closing this bug report.
Best regards,
Stefan Kangas
bug marked as fixed in version 28.1, send any further explanations to
37628 <at> debbugs.gnu.org and Clément Pit-Claudel <cpitclaudel <at> gmail.com>
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 27 Aug 2020 12:40:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 25 Sep 2020 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 206 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.