unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 23246@debbugs.gnu.org
Subject: bug#23246: 25.0.92; Local face-remapping-alist doesn't affect tooltips
Date: Fri, 08 Apr 2016 17:06:01 -0300	[thread overview]
Message-ID: <87k2k7c1cm.fsf@gmail.com> (raw)
In-Reply-To: <831t6fki79.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 08 Apr 2016 22:34:50 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> 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.

Sorry, to me it wasn't obvious that tooltips are different frames.

> 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'.

I want to change the way tooltips are displayed in a major-mode I'm
writing. I don't want to change this face globally for the user, only
change it in the buffers where this major-mode is active.

I understand that might not be possible, in which case feel free to
close.


Artur





  reply	other threads:[~2016-04-08 20:06 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
2016-04-08 20:06   ` Artur Malabarba [this message]
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=87k2k7c1cm.fsf@gmail.com \
    --to=bruce.connor.am@gmail.com \
    --cc=23246@debbugs.gnu.org \
    --cc=eliz@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).