From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Allan Gottlieb Newsgroups: gmane.emacs.help Subject: Re: finding the face of a popup Date: Wed, 29 Aug 2007 10:22:43 -0400 Message-ID: References: <87lkbwhur5.fsf@lion.rapttech.com.au> <87hcmiiuso.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188397405 5967 80.91.229.12 (29 Aug 2007 14:23:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2007 14:23:25 +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 16:23:22 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IQORt-0000VC-Jb for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Aug 2007 16:23:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQORt-0001sB-GO for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Aug 2007 10:23:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IQORb-0001pE-2r for help-gnu-emacs@gnu.org; Wed, 29 Aug 2007 10:22:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IQORY-0001l1-PR for help-gnu-emacs@gnu.org; Wed, 29 Aug 2007 10:22:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQORY-0001kU-HA for help-gnu-emacs@gnu.org; Wed, 29 Aug 2007 10:22:52 -0400 Original-Received: from smtp.cs.nyu.edu ([128.122.140.230]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IQORY-000562-1W for help-gnu-emacs@gnu.org; Wed, 29 Aug 2007 10:22:52 -0400 Original-Received: from ajglap.localdomain (ool-4578d5e5.dyn.optonline.net [69.120.213.229]) (authenticated bits=0) by smtp.cs.nyu.edu (8.13.6/8.13.6) with ESMTP id l7TEMmw0014627 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 29 Aug 2007 10:22:48 -0400 (EDT) Original-Received: by ajglap.localdomain (Postfix, from userid 1502) id 217F819D971; Wed, 29 Aug 2007 10:22:43 -0400 (EDT) In-Reply-To: <87hcmiiuso.fsf@lion.rapttech.com.au> (Tim X.'s message of "Wed\, 29 Aug 2007 18\:55\:51 +1000") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Detected-Kernel: Solaris 9 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:46918 Archived-At: At Wed, 29 Aug 2007 18:55:51 +1000 Tim X wrote: > Allan Gottlieb 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 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. What if two or more faces have the same foreground and background? I don't consider that a real solution; it is the best I know of at the moment (other than having someone on the group tell me the name of the face in reply to a question :-) ). 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. allan