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: Thu, 30 Aug 2007 07:57:23 -0400 Message-ID: References: <87lkbwhur5.fsf@lion.rapttech.com.au> <87hcmiiuso.fsf@lion.rapttech.com.au> <878x7tig1j.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 1188475079 7206 80.91.229.12 (30 Aug 2007 11:57:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2007 11:57:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 30 13:57:58 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 1IQiek-0000rN-Q2 for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Aug 2007 13:57:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQiek-000529-8H for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Aug 2007 07:57:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IQieW-000520-2G for help-gnu-emacs@gnu.org; Thu, 30 Aug 2007 07:57:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IQieU-00050K-Hv for help-gnu-emacs@gnu.org; Thu, 30 Aug 2007 07:57:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQieU-00050C-En for help-gnu-emacs@gnu.org; Thu, 30 Aug 2007 07:57:34 -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 1IQieU-0000u9-30 for help-gnu-emacs@gnu.org; Thu, 30 Aug 2007 07:57:34 -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 l7UBvS5P014707 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 30 Aug 2007 07:57:29 -0400 (EDT) Original-Received: by ajglap.localdomain (Postfix, from userid 1502) id 9136919D971; Thu, 30 Aug 2007 07:57:23 -0400 (EDT) In-Reply-To: <878x7tig1j.fsf@lion.rapttech.com.au> (Tim X.'s message of "Thu\, 30 Aug 2007 18\:26\:48 +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:46980 Archived-At: At Thu, 30 Aug 2007 18:26:48 +1000 Tim X wrote: > Allan Gottlieb 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