From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#35393: 26.2; `help-echo' text propertized with `face' is not shown in that face Date: Tue, 23 Apr 2019 06:10:24 -0700 (PDT) Message-ID: <123777d9-e748-4744-9db1-72889a1dcc8a@default> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="17152"; mail-complaints-to="usenet@blaine.gmane.org" To: 35393@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 23 15:24:29 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIvPP-0004LX-J4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Apr 2019 15:24:27 +0200 Original-Received: from localhost ([127.0.0.1]:53829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIvPO-00012n-FO for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Apr 2019 09:24:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIvJD-0004gu-30 for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 09:18:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIvJC-0002iL-35 for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 09:18:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39186) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hIvJB-0002i6-V4 for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 09:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hIvJB-0006y6-Om for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 09:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Apr 2019 13:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35393 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.155602543126613 (code B ref -1); Tue, 23 Apr 2019 13:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Apr 2019 13:17:11 +0000 Original-Received: from localhost ([127.0.0.1]:52727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIvIN-0006vB-F0 for submit@debbugs.gnu.org; Tue, 23 Apr 2019 09:17:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIvIL-0006uu-2U for submit@debbugs.gnu.org; Tue, 23 Apr 2019 09:17:09 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39746) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIvIF-0001hR-VH for submit@debbugs.gnu.org; Tue, 23 Apr 2019 09:17:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIvIE-0003pH-Ra for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 09:17:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIvBz-0001YX-DO for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 09:10:36 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:35964) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIvBz-0001Ta-3l for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 09:10:35 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x3ND8bHI055714 for ; Tue, 23 Apr 2019 13:10:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=3pej55Nv2dGgYsrO7erxhfnFVb1urDgE05JquTupS8c=; b=Hqu87hD443TTi2iMnKH+WIoPXETrNadgFewWDULeWmXOSEeyLH40osr+uSWoUb9j2hN8 Sd4wTv+1saxPnS9fRk1OhIxKzVzMIDq2QAZNL3PRtKjr4OPWcjkrSDEP+7Q+31x81iOq Uds5dbNIB+e9VAjg6jG346xR1GenW1/pXsAzlJHPAkIz77/D1jv4n1pyrSStMEjYKzPK OFLCONPg73aIR2Asij6FN4bkAgcwRcfGzN6Aj3F8McDiaiu4aG5HT7HZtO9D3lF/57Ix nbjarz30Cpc7SbTAMpNp5Kw+wJAB6aELGLa/UiOvpneEN1kWQRKIkfdiX5T0UXAfLmfV PA== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2ryv2q3y76-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 23 Apr 2019 13:10:26 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x3ND8ghA111772 for ; Tue, 23 Apr 2019 13:10:26 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 2s0dwe8fpp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 23 Apr 2019 13:10:25 +0000 Original-Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x3NDAOIt027435 for ; Tue, 23 Apr 2019 13:10:25 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4834.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9235 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904230091 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9235 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904230091 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158132 Archived-At: emacs -Q C-x b foo ; buffer in fundamental mode Type a line of arbitrary text. Type this and evaluate it: (put-text-property 1 10 'help-echo "ABCDEFG") No problem. The tooltip appears as expected, using face `tooltip'. Now try this instead: (put-text-property 1 10 'help-echo (propertize "rstuvwxyz" 'face 'custom-changed)) The propertized string is not used. The text property `face' is set correctly, but the tooltip displayed ignores it. If this is not considered a bug then please consider it an enhancement request to be able to use a propertized string. Consider the use case of a tooltip that shows a tiny bit of code, but with more than one line, so that alignment etc. is important. You might well want that code to be shown in a fixed-width font. You should be able to do this by passing a string propertized with the appropriate face. In GNU Emacs 26.2 (build 1, x86_64-w64-mingw32) of 2019-04-13 Repository revision: fd1b34bfba8f3f6298df47c8e10b61530426f749 Windowing system distributor `Microsoft Corp.', version 10.0.17134 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3''