unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 35393@debbugs.gnu.org
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)	[thread overview]
Message-ID: <123777d9-e748-4744-9db1-72889a1dcc8a@default> (raw)

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=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''





             reply	other threads:[~2019-04-23 13:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-23 13:10 Drew Adams [this message]
2019-04-23 13:33 ` bug#35393: 26.2; `help-echo' text propertized with `face' is not shown in that face Drew Adams
2021-06-22 14:38 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=123777d9-e748-4744-9db1-72889a1dcc8a@default \
    --to=drew.adams@oracle.com \
    --cc=35393@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).