From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: finding the face of a popup Date: Wed, 29 Aug 2007 18:55:51 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87hcmiiuso.fsf@lion.rapttech.com.au> References: <87lkbwhur5.fsf@lion.rapttech.com.au> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188380479 12065 80.91.229.10 (29 Aug 2007 09:41:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2007 09:41:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 29 11:45:50 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1IQK7N-0002T3-1R for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Aug 2007 11:45:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQK2x-0000Po-OC for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Aug 2007 05:41:11 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!news.glorb.com!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!news.highwinds-media.com!sn-xt-sjc-03!sn-xt-sjc-09!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:By1kRlR1aOVkuWlE24hMUe1htn0= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 58 Original-Xref: shelby.stanford.edu gnu.emacs.help:151387 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46909 Archived-At: Allan Gottlieb writes: > At Tue, 28 Aug 2007 19:29:50 +1000 Tim X wrote: > >> Allan Gottlieb writes: >> >>> At Mon, 27 Aug 2007 20:14:28 +0100 John Paul Wallington wrote: >>> >>>> Allan Gottlieb 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