bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: martin rudalics
Subject: bug#23246: 25.0.92; Local face-remapping-alist doesn't affect tooltips
Date: Tue, 12 Apr 2016 09:30:17 +0200

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

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.

Obviously, GTK+ (and probably OS X) tooltips override such attributes
anyway, so changing this might probably never given high priority.
Still, Emacs tooltip frames provide the possibility so why not use it?

martin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]