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

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

Re: finding the face of a popup


From: Allan Gottlieb
Subject: Re: finding the face of a popup
Date: Thu, 30 Aug 2007 07:57:23 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

At Thu, 30 Aug 2007 18:26:48 +1000 Tim X <timx@nospam.dev.null> wrote:

> Allan Gottlieb <gottlieb@nyu.edu> writes:
>
>>
>> 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.
>>
>
> I think the problem with that is that you are mixing up two different
> levels of the application. The popup/tooltip is a function of the mouse
> location. The  C-u C-x = describes what is around point and the tool tip is
> not really around point - in fact, technically, you could define a tool tip
> that pops up whenever the mouse enters the (buffer - its not done because
> that would be annoying, but it could be done).

In that case info about the popup could be given whenever you execute
C-u C-x = in that buffer.  I agree with you that such behavior would
be annoying, but it could be done.  That is you could keep the rule
that C-u C-x = gives info about the current face and any popups that
are triggered.

> With respect to your other point of list-faces-display not being good
> enough because you might have more than one face with the same color -  I
> think thats a non-issue. There are only a couple of faces you cannot put
> point on - tooltip and modeline are two obvious ones. For the others, you
> can use the C-u C-x =.  However, the main reason I think its a non-issue is
> that its not a common or frequent problem and when it is, you do have a
> solution - even if its not what you would want in your ideal
> world.

I agree with you but would say "(very) unimportant issue"

> Regardless of different opinions, the really good thing is that if you feel
> its important enough that C-u C-x = displays information about a tooltip
> which may be triggered nearby, then you can go and implement it.

Agreed.  I should point out that I mentioned the specific interface in
reply to Eli who asked for it.

allan




reply via email to

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