From: Eli Zaretskii <eliz@gnu.org>
To: Artur Malabarba <bruce.connor.am@gmail.com>
Cc: 23246@debbugs.gnu.org
Subject: bug#23246: 25.0.92; Local face-remapping-alist doesn't affect tooltips
Date: Fri, 08 Apr 2016 22:34:50 +0300 [thread overview]
Message-ID: <831t6fki79.fsf@gnu.org> (raw)
In-Reply-To: <878u0ngb30.fsf@gmail.com> (message from Artur Malabarba on Fri, 08 Apr 2016 16:22:11 -0300)
> From: Artur Malabarba <bruce.connor.am@gmail.com>
> Date: Fri, 08 Apr 2016 16:22:11 -0300
>
> (setq x-gtk-use-system-tooltips nil)
> (add-text-properties (point-min) (point-max) '(help-echo "OKOK"))
> (face-remap-add-relative 'tooltip '((:foreground "blue")))
>
> 4. Tooltips displayed are NOT blue.
Why did you expect them to be blue? Tooltips are special frames that
don't display any buffer, whereas face-remap-add-relative is
documented as affecting only the buffer that was current at the time
it was called.
More generally, face remapping is designed to allow buffer-local
changes to faces. If you want to affect the way tooltips are
displayed, you should instead customize the 'tooltip' face or the
parameters in 'tooltip-frame-parameters'.
IOW, I don't see any bug here.
next prev parent reply other threads:[~2016-04-08 19:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-08 19:22 bug#23246: 25.0.92; Local face-remapping-alist doesn't affect tooltips Artur Malabarba
2016-04-08 19:34 ` Eli Zaretskii [this message]
2016-04-08 20:06 ` Artur Malabarba
2016-04-09 9:04 ` martin rudalics
2016-04-09 9:35 ` Eli Zaretskii
2016-04-09 12:50 ` martin rudalics
2016-04-09 13:18 ` Eli Zaretskii
2016-04-11 3:15 ` Artur Malabarba
2016-04-11 15:40 ` Eli Zaretskii
2016-04-12 7:30 ` martin rudalics
2016-04-12 14:26 ` Drew Adams
2016-04-12 15:14 ` Eli Zaretskii
2016-04-09 9:04 ` martin rudalics
2016-04-09 9:39 ` Eli Zaretskii
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=831t6fki79.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=23246@debbugs.gnu.org \
--cc=bruce.connor.am@gmail.com \
/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).