Subject: Re: bug#23246: 25.0.92; Local face-remapping-alist doesn't affect tooltips

From: Eli Zaretskii <[email-masked]>
Date: Tue, 12 Apr 2016 18:14:05 +0300

> Date: Tue, 12 Apr 2016 09:30:17 +0200
> From: martin rudalics <[email-masked]>
> 
>  >> `x-show-tip' just might work.
>  >
>  > You mean, tooltip-functions doesn't?
> 
> The doc-string of ‘x-show-tip’ advises that
> 
>    This is an internal function; Lisp code should call ‘tooltip-show’.

It doesn't really matter, IMO.

> but ‘tooltip-show’ overrides any face properties of TEXT via
> 
>    (propertize text 'face 'tooltip)
> 
> in a hardcoded fashion.  So if you want to display your own face
> attributes, you currently have to call ‘x-show-tip’ directly despite of
> its advice.

I agree, but I thought that the function which calls x-show-tip should
be put in tooltip-functions, to avoid the need to copycat the
machinery of popping up and popping down tooltips.