From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Documentation for GUD tooltips Date: Thu, 10 Mar 2005 20:48:41 -0500 Message-ID: References: <16943.51590.58792.371431@farnswood.snap.net.nz> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1110507204 22033 80.91.229.2 (11 Mar 2005 02:13:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2005 02:13:24 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 11 03:13:23 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D9ZeH-0004J4-8O for ged-emacs-devel@m.gmane.org; Fri, 11 Mar 2005 03:13:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9ZtG-00013f-G8 for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2005 21:28:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D9ZlX-0004L1-In for emacs-devel@gnu.org; Thu, 10 Mar 2005 21:20:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D9ZlL-0004EU-Nn for emacs-devel@gnu.org; Thu, 10 Mar 2005 21:20:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9ZlJ-0004Au-9S for emacs-devel@gnu.org; Thu, 10 Mar 2005 21:20:25 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D9ZGb-0000XE-W0 for emacs-devel@gnu.org; Thu, 10 Mar 2005 20:48:42 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1D9ZGb-0004F9-LD; Thu, 10 Mar 2005 20:48:41 -0500 Original-To: Nick Roberts In-reply-to: <16943.51590.58792.371431@farnswood.snap.net.nz> (message from Nick Roberts on Thu, 10 Mar 2005 17:13:58 +1300) 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:34456 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34456 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? If it is so hard to document, it will strike the user as a bug.