[Top][All Lists]

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

Re: finding the face of a popup

From: Tim X
Subject: Re: finding the face of a popup
Date: Tue, 28 Aug 2007 19:29:50 +1000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Allan Gottlieb <address@hidden> writes:

> At Mon, 27 Aug 2007 20:14:28 +0100 John Paul Wallington <address@hidden> 
> wrote:
>> Allan Gottlieb <address@hidden> 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.

In emacs 22 and higher, if you put point on the face, M-x customize-face
will default to that face under point. 

However, a useful an more general approach is to use 

,----[ C-h f list-faces-display RET ]
| list-faces-display is an interactive compiled Lisp function in `faces.el'.
| It is bound to  <control down-mouse-2> <df> ,  <menu-bar> <edit> <props> <df> 
| (list-faces-display &optional REGEXP)
| List all faces, using the same sample text in each.
| The sample text is a string that comes from the variable
| `list-faces-sample-text'.
| If REGEXP is non-nil, list only those faces with names matching
| this regular expression.  When called interactively with a prefix
| arg, prompt for a regular expression.
| [back]


tcross (at) rapttech dot com dot au

reply via email to

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