GNU bug report logs - #37628
Inconsistent display of help-echo between minibuffer and tooltips

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Clément Pit-Claudel <cpitclaudel@HIDDEN>; dated Sat, 5 Oct 2019 08:15:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Oct 2019 08:14:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 05 04:14:33 2019
Received: from localhost ([127.0.0.1]:43657 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iGfCy-0004QL-OC
	for submit <at> debbugs.gnu.org; Sat, 05 Oct 2019 04:14:32 -0400
Received: from lists.gnu.org ([209.51.188.17]:51804)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cpitclaudel@HIDDEN>) id 1iGfCw-0004QD-W9
 for submit <at> debbugs.gnu.org; Sat, 05 Oct 2019 04:14:31 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57843)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <cpitclaudel@HIDDEN>) id 1iGfCv-0000Rp-Ra
 for bug-gnu-emacs@HIDDEN; Sat, 05 Oct 2019 04:14:30 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cpitclaudel@HIDDEN>) id 1iGfCu-0004JC-QV
 for bug-gnu-emacs@HIDDEN; Sat, 05 Oct 2019 04:14:29 -0400
Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:42124)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <cpitclaudel@HIDDEN>)
 id 1iGfCu-0004J3-NM
 for bug-gnu-emacs@HIDDEN; Sat, 05 Oct 2019 04:14:28 -0400
Received: by mail-qt1-x82c.google.com with SMTP id w14so11992235qto.9
 for <bug-gnu-emacs@HIDDEN>; Sat, 05 Oct 2019 01:14:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:subject:message-id:date:user-agent:mime-version
 :content-language:content-transfer-encoding;
 bh=yoi0jbyVoSddTWhkXWEXIJOHBMX8/QW8NWeOQiOfgQc=;
 b=M7on0MWoNE2GW9Mm6rbjYmeaU/u3AWHnOXbNMFRjNFjV7D6eCAbq17YESs3amvibhx
 Fr5dJOx6xKW2q7Lj+9SxvMdCv2sCeTmB9qGHIyDzblROlpI4F1fWAjJx45n+5wZPf92I
 cfASLCKZX+H1uh69ODnLBdKOmIZ8jWUxU94kn6CPHFi6jE+MX0ojwpnR3GN3zKmepeT2
 0/58ngSmRWniKcQZL0RosG6lUG2NXjgfcgL3qJEEi/238qEVv/yS6znLixLa3MMvAY9R
 Ub2mqUfMMVCAHaQn+955RT7NG/FaBszjBM+xduaS/lifpmnNssbI8mDzSBzzMW3+ZFKG
 7+fg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:message-id:date:user-agent
 :mime-version:content-language:content-transfer-encoding;
 bh=yoi0jbyVoSddTWhkXWEXIJOHBMX8/QW8NWeOQiOfgQc=;
 b=jaAyoeZ5tTr6aHKcbVmYNHMpR2CMKX4HYfWA5vLpFQo2HH7Bu7OsSoTaK1PMBKf5zv
 QuQmgcWUtPC7TmZ+Rp1GevE40gm4Q0l1fd0u+Ra0xBiEsPftW05lT5DMDGT/VJrTErtw
 aHWgCi1SKgw7GmM6txY7taPvIv3W48xjIlfc4BvTQejARZ1S3kF4tfxz5GY9Mk4ntKXF
 mfAWFUFuXc7nnjhALzM3meWsYSs2NDbeqwHA1fevu62cY9QrXeqgDqJPZxY8JJ7/+PKy
 jt90FzY5l9yEqR0bfDU6ysx7IhAzQ3thcRQok40aFm1pX92AbhFsKkJH/KRW9yJc0bZe
 38tg==
X-Gm-Message-State: APjAAAWSmAPvqmklIgXeDkSDxZZe5+ccG1abFNJtYo7P7yYVTFXQQxlA
 fyYlv7WMP6+Zr+RRUVp+HkcQ2pVf
X-Google-Smtp-Source: APXvYqwEQzH+exYgImCD2gkHleIkiF+Y2uc46vjucBvyd0SBHNHq1JC/E185A5O88jijDphWESWYKw==
X-Received: by 2002:ac8:33d3:: with SMTP id d19mr20054903qtb.60.1570263267801; 
 Sat, 05 Oct 2019 01:14:27 -0700 (PDT)
Received: from ?IPv6:2601:184:4180:66e7:656c:d996:de5:9bda?
 ([2601:184:4180:66e7:656c:d996:de5:9bda])
 by smtp.googlemail.com with ESMTPSA id n17sm4881252qke.103.2019.10.05.01.14.27
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 05 Oct 2019 01:14:27 -0700 (PDT)
To: bug-gnu-emacs <bug-gnu-emacs@HIDDEN>
From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= <cpitclaudel@HIDDEN>
Subject: Inconsistent display of help-echo between minibuffer and tooltips
Message-ID: <2d64b60d-b495-583e-fd7c-1b86d237a50a@HIDDEN>
Date: Sat, 5 Oct 2019 04:14:26 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2607:f8b0:4864:20::82c
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

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.




Acknowledgement sent to Clément Pit-Claudel <cpitclaudel@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#37628; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.