GNU bug report logs - #23246
25.0.92; Local face-remapping-alist doesn't affect tooltips

Previous Next

Package: emacs;

Reported by: Artur Malabarba <bruce.connor.am <at> gmail.com>

Date: Fri, 8 Apr 2016 19:23:01 UTC

Severity: wishlist

Found in version 25.0.92

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#23246: closed (25.0.92; Local face-remapping-alist doesn't
 affect tooltips)
Date: Mon, 11 Apr 2016 15:42:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 11 Apr 2016 18:40:49 +0300
with message-id <831t6cgnlq.fsf <at> gnu.org>
and subject line Re: bug#23246: 25.0.92; Local face-remapping-alist doesn't affect tooltips
has caused the debbugs.gnu.org bug report #23246,
regarding 25.0.92; Local face-remapping-alist doesn't affect tooltips
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
23246: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23246
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Artur Malabarba <bruce.connor.am <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.92; Local face-remapping-alist doesn't affect tooltips
Date: Fri, 08 Apr 2016 16:22:11 -0300
1. Start emacs -q

2. Create a buffer in fundamental-mode and type some text.

3. Evaluate this:

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

5. If, instead, I add an entry to face-remapping-alist without making it
buffer-local, the tooltip does indeed display blue.


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Artur Malabarba <bruce.connor.am <at> gmail.com>
Cc: 23246-done <at> debbugs.gnu.org
Subject: Re: bug#23246: 25.0.92;
 Local face-remapping-alist doesn't affect tooltips
Date: Mon, 11 Apr 2016 18:40:49 +0300
> From: Artur Malabarba <bruce.connor.am <at> gmail.com>
> Date: Mon, 11 Apr 2016 03:15:20 +0000
> Cc: 23246 <at> debbugs.gnu.org
> 
>  I think you can achieve that by putting your own hook function on the
>  tooltip-functions list.
> 
>  Let me know if there's anything else to do about this bug report.
> 
> No, I think we can close this. Thanks for the help. 

Done.

> And thanks to martin too. `x-show-tip' just might work.

You mean, tooltip-functions doesn't?


This bug report was last modified 9 years and 98 days ago.

Previous Next


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