Re: finding the face of a popup
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
Re: finding the face of a popup         


Author: Allan Gottlieb
Date: Aug 27, 2007 12:50

At Mon, 27 Aug 2007 20:14:28 +0100 John Paul Wallington pobox.com> wrote:
> Allan Gottlieb nyu.edu> writes:
>
>> Some popups have become invisible; I believe they have
>> foreground=background=white. Since I am using the color-theme
>> package, I do not claim this is an emacs bug and I am not asking for a
>> fix.
>>
>> My question is how do I find the name of this face.
>
> I'm not sure how to find that out, but the face's name is `tooltip'.
> That is the commonly used name for those small windows that popup to
> display information at the current mouse position.

Thank you. I was able to modify the color theme to fix that face.

But I do hope there is a better way to find out the face of a popup
than asking on the list.

Thanks again,
allan
14 Comments
Re: finding the face of a popup         


Author: Tim X
Date: Aug 28, 2007 02:29

Allan Gottlieb nyu.edu> writes:
Show full article (1.62Kb)
no comments
Re: finding the face of a popup         


Author: Allan Gottlieb
Date: Aug 28, 2007 07:25

At Tue, 28 Aug 2007 19:29:50 +1000 Tim X wrote:
> Allan Gottlieb nyu.edu> writes:
>
>> At Mon, 27 Aug 2007 20:14:28 +0100 John Paul Wallington pobox.com> wrote:
>>
>>> Allan Gottlieb nyu.edu> writes:
>>>
>>>> Some popups have...
Show full article (1.36Kb)
no comments
Re: finding the face of a popup         


Author: Eli Zaretskii
Date: Aug 28, 2007 12:40

> From: Allan Gottlieb nyu.edu>
> Date: Tue, 28 Aug 2007 10:25:19 -0400
>
>> ,----[ C-h f list-faces-display RET ]
>
> I don't see how either of these would help (I have used both before).
>
> I can't "put point on the face" since the popup goes away when I am
> not on the place that *triggers* the popup. That is the entire
> problem.

How about if you suggest a user interface for solving the problem you
had, and we then try to see if a similar interface is already part of
Emacs? Because, frankly, I have no idea what kind of feature you
expect to have at your disposal to point to something that disappears
into the void as soon as you move the mouse.

Fair enough?
no comments
Re: finding the face of a popup         


Author: Allan Gottlieb
Date: Aug 28, 2007 18:49

At Tue, 28 Aug 2007 22:40:51 +0300 Eli Zaretskii gnu.org> wrote:
>> From: Allan Gottlieb nyu.edu>
>> Date: Tue, 28 Aug 2007 10:25:19 -0400
>>
>>> ,----[ C-h f list-faces-display RET ]
>>
>> I don't see how either of these would help (I have used both before).
>>
>> I can't "put point on the face" since the popup goes away when I am
>> not on the place that *triggers* the popup. That is the entire
>> problem.
>
> How about if you suggest a user interface for solving the problem you
> had, and we then try to see if a similar interface is already part of
> Emacs? Because, frankly, I have no idea what kind of feature you
> expect to have at your disposal to point to something that disappears
> into the void as soon as you move the mouse.
>
> Fair enough?
Show full article (1.11Kb)
no comments
Re: finding the face of a popup         


Author: Tim X
Date: Aug 29, 2007 01:55

Allan Gottlieb nyu.edu> writes:
> At Tue, 28 Aug 2007 19:29:50 +1000 Tim X wrote:
>
>> Allan Gottlieb nyu.edu> writes:
>>
>>> At Mon, 27 Aug 2007 20:14:28 +0100 John Paul Wallington pobox.com> wrote...
Show full article (2.24Kb)
no comments
Re: finding the face of a popup         


Author: Allan Gottlieb
Date: Aug 29, 2007 07:22

At Wed, 29 Aug 2007 18:55:51 +1000 Tim X wrote:
> Allan Gottlieb nyu.edu> writes:
>
>> I can't "put point on the face" since the popup goes away when I am
>> not on the place that *triggers* the popup. That is the entire
>> problem.
>
> and...
Show full article (1.49Kb)
no comments
Re: finding the face of a popup         


Author: Peter Dyballa
Date: Aug 29, 2007 08:26

Am 29.08.2007 um 16:22 schrieb Allan Gottlieb:
> I believe that the description of a face given by placing point
> over a field and typing C-u C-x = should tell you
> the face of a popup that is triggered when the mouse is over that
> field.

The tooltips exist inside their own frames. Typing C-u C-x = on some
thing that can make a tooltip appear could additionally display
information about the tooltip, but: there is only one kind of
tooltips. So it would mostly be useless information.

I think the proper way is to invoke apropos and enter the simple
symbol ``tooltip´´. Then see what *Help* is returned – I think it's
sufficient.

There are also X resources:

Emacs.tooltip.attributeBackground: cyan
Emacs.tooltip.attributeForeground: darkorange

Looks terrible!

--
Greetings

Pete
Show full article (0.87Kb)
no comments
Re: finding the face of a popup         


Author: Allan Gottlieb
Date: Aug 29, 2007 09:30

At Wed, 29 Aug 2007 17:26:40 +0200 Peter Dyballa wrote:
> Am 29.08.2007 um 16:22 schrieb Allan Gottlieb:
>
>> I believe that the description of a face given by placing point
>> over a field and typing C-u C-x = should tell you
>> the face of a popup that is triggered when the mouse is over that
>> field.
>
> The tooltips exist inside their own frames. Typing C-u C-x = on some
> thing that can make a tooltip appear could additionally display
> information about the tooltip, but: there is only one kind of
> tooltips. So it would mostly be useless information.

Sure. But you knew that the name of the face was tooltip; that is
exactly the information I didn't know (actually, forgot). I guess I
am not expressing this very clearly.

Case 1. *Every* time emacs pops up something in this manner, the popup
has face `tooltip'.
Show full article (1.46Kb)
no comments
Re: finding the face of a popup         


Author: Peter Dyballa
Date: Aug 29, 2007 11:29

Am 29.08.2007 um 18:30 schrieb Allan Gottlieb:
> But you knew that the name of the face was tooltip; that is
> exactly the information I didn't know (actually, forgot).

The term ``tooltip´´ is in common use and it is not only GNU Emacs
that uses them. Apple had before Mac OS X the balloon help, M$ is
using screen tips. It is also obvious that a pop-up menu needs an
action to happen before it can pop up, while the tooltip appears when
the cursor comes close to some "magical" area.

When you don't know what a tooltip is, then a *Help* window with
character properties, including those of the tooltip, won't help you
either. It could give a hint, at least ...

I haven't read the tutorial for 25 years or so – could you check it
and send a bug report (from Help menu), asking for an enhancement to
describe tooltips? The Frames section of the Emacs info node has the
tooltips:

Tooltips (or "Balloon Help")
============================
Show full article (2.47Kb)
no comments
1 2