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: Thu, 30 Aug 2007 18:26:48 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <878x7tig1j.fsf@lion.rapttech.com.au> 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 1188463411 1053 80.91.229.12 (30 Aug 2007 08:43:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2007 08:43:31 +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 10:43:30 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 1IQfcb-00053F-2G for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Aug 2007 10:43:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQfca-0001aW-Kv for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Aug 2007 04:43:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!sn-xt-sjc-03!sn-xt-sjc-11!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:z0HQjf+jodJ9KI6WCC5hKBHF1T8= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 41 Original-Xref: shelby.stanford.edu gnu.emacs.help:151453 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:46975 Archived-At: 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). 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. Personally, I'd rather see effort put into extending/improving things that are more frequently an issue, such as support for better fonts or development environments that can provide more of the features we see in more modern systems, such as the stuff being done with semantic and cedet etc. 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. Unlike other closed systems, we don't have to endlessly winge about missing features hoping someone hears us and does what we want - instead we can just go off and do it. Tim -- tcross (at) rapttech dot com dot au