unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: finding the face of a popup
Date: Wed, 29 Aug 2007 18:55:51 +1000	[thread overview]
Message-ID: <87hcmiiuso.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.5457.1188311130.32220.help-gnu-emacs@gnu.org

Allan Gottlieb <gottlieb@nyu.edu> writes:

> At Tue, 28 Aug 2007 19:29:50 +1000 Tim X <timx@nospam.dev.null> wrote:
>
>> Allan Gottlieb <gottlieb@nyu.edu> writes:
>>
>>> At Mon, 27 Aug 2007 20:14:28 +0100 John Paul Wallington <jpw@pobox.com> wrote:
>>>
>>>> Allan Gottlieb <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.
>>>
>>
>> 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 ]
>
> 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.

and I gave you the solution. With list-faces-display you don't need to put
point anywhere to find the name of the face you are interested in.

If you do a list-faces-display you get a buffer that on one side lists the
name of all the defined faces (including tooltip) and on the other side a
sample of what that face looks like.

All you have to do to find the name of the face is scroll through the
buffer until you see a sample which matches the face your looking for (in
your case, a face with the same foreground and background colours, then you
either hit enter with point on the face name or use the mouse (instructions
at the top of the buffer) and you get a customize-face buffer where you can
set the foreground/background (and many other things. 

Tim

-- 
tcross (at) rapttech dot com dot au

  parent reply	other threads:[~2007-08-29  8:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-27 18:53 finding the face of a popup Allan Gottlieb
2007-08-27 19:14 ` John Paul Wallington
2007-08-27 19:50   ` Allan Gottlieb
     [not found]   ` <mailman.5416.1188244253.32220.help-gnu-emacs@gnu.org>
     [not found]     ` <87lkbwhur5.fsf@lion.rapttech.com.au>
     [not found]       ` <mailman.5457.1188311130.32220.help-gnu-emacs@gnu.org>
2007-08-29  8:55         ` Tim X [this message]
2007-08-29 14:22           ` Allan Gottlieb
2007-08-29 15:26             ` Peter Dyballa
2007-08-29 16:30               ` Allan Gottlieb
2007-08-29 18:29                 ` Peter Dyballa
2007-08-29 21:28                   ` Allan Gottlieb
     [not found]           ` <mailman.5504.1188397377.32220.help-gnu-emacs@gnu.org>
2007-08-30  8:26             ` Tim X
2007-08-30 11:57               ` Allan Gottlieb
2007-08-30 15:26               ` Drew Adams
     [not found]               ` <mailman.61.1188475058.18990.help-gnu-emacs@gnu.org>
2007-08-31  5:04                 ` Tim X
2007-08-31 22:38                   ` Allan Gottlieb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hcmiiuso.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).