From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: Documentation for GUD tooltips Date: Fri, 11 Mar 2005 21:30:12 +1300 Message-ID: <16945.22292.587023.301222@farnswood.snap.net.nz> References: <16943.51590.58792.371431@farnswood.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1110530166 14946 80.91.229.2 (11 Mar 2005 08:36:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2005 08:36:06 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 11 09:36:05 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D9fce-00021W-Rf for ged-emacs-devel@m.gmane.org; Fri, 11 Mar 2005 09:35:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9frh-0003bq-DE for ged-emacs-devel@m.gmane.org; Fri, 11 Mar 2005 03:51:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D9fqO-0003I2-5E for emacs-devel@gnu.org; Fri, 11 Mar 2005 03:50:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D9fqD-0003Dc-PF for emacs-devel@gnu.org; Fri, 11 Mar 2005 03:49:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9fqD-0003Bp-I9 for emacs-devel@gnu.org; Fri, 11 Mar 2005 03:49:53 -0500 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D9fXc-000849-Dw; Fri, 11 Mar 2005 03:30:40 -0500 Original-Received: from farnswood.snap.net.nz (p231-tnt1.snap.net.nz [202.124.110.231]) by viper.snap.net.nz (Postfix) with ESMTP id CF84E48F56E; Fri, 11 Mar 2005 21:30:38 +1300 (NZDT) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 4BDA662FBE; Fri, 11 Mar 2005 08:30:13 +0000 (GMT) Original-To: rms@gnu.org In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34461 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34461 > Its a bit more subtle than that. GUD tooltips use track-mouse (ordinary > tooltips work at a lower level and don't rely on events in lisp). For > a GUD tooltip to work, the lisp-level mouse-movement event must be > generated in the buffer with the overlay arrow and the mode of the > selected buffer must belong to tooltip-gud-modes. Note that the > mouse-movement need not occur in the selected buffer. The list > `tooltip-gud-modes' includes gud-mode so that the user may move the > mouse over a variable in the buffer of the source while the GUD buffer > remains selected. > > Why was it made to depend on the selected buffer? Why implement such > bizarre behavior? I think that counts as a bug; can we fix it? Maybe it is a bug but no-one has complained about it, probably because not many people use GUD tooltips. The comments in tooltip.el suggest that this is a kludge to avoid display problems (Gerd Moellmann?), so I'm not sure that there is an easy fix. There are other problems that I would like to fix such as the fact that if GUD tooltips display in the echo area then so must ordinary tooltips, but these are not showstoppers. Surely solving these problems should wait till after the release? Nick