From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: tooltip-use-echo-area disappeared Date: Mon, 13 Jun 2005 22:54:39 +0100 Message-ID: References: <429EBEBF.4080005@gnu.org> <17054.53387.737275.879063@farnswood.snap.net.nz> <1117715090.429efa926ded0@webmail.freedom2surf.net> <17055.728.887711.842945@farnswood.snap.net.nz> <42AD7E51.4000506@gnu.org> <17069.62614.145616.263552@farnswood.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118700174 16910 80.91.229.2 (13 Jun 2005 22:02:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2005 22:02:54 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 14 00:02:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dhx0h-0006kM-Iw for ged-emacs-devel@m.gmane.org; Tue, 14 Jun 2005 00:02:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dhx5Z-0004wM-Tl for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2005 18:07:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DhwuI-0001tc-Mp for emacs-devel@gnu.org; Mon, 13 Jun 2005 17:55:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dhwu6-0001nN-Cj for emacs-devel@gnu.org; Mon, 13 Jun 2005 17:55:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dhwu4-0001in-Sf for emacs-devel@gnu.org; Mon, 13 Jun 2005 17:55:32 -0400 Original-Received: from [194.106.33.237] (helo=outmail.freedom2surf.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dhwv2-0008Oj-NB for emacs-devel@gnu.org; Mon, 13 Jun 2005 17:56:33 -0400 Original-Received: from wanchan.jasonrumney.net (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail.freedom2surf.net (8.12.10/8.12.10) with ESMTP id j5DLtIch029653; Mon, 13 Jun 2005 22:55:19 +0100 Original-Received: from TONKOTSU-RAMEN (tonkotsu-ramen.jasonrumney.net [10.0.0.28]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 7B037DDD3F; Mon, 13 Jun 2005 22:55:42 +0100 (BST) Original-To: Nick Roberts In-Reply-To: <17069.62614.145616.263552@farnswood.snap.net.nz> (Nick Roberts's message of "Tue, 14 Jun 2005 09:03:18 +1200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) 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 Xref: news.gmane.org gmane.emacs.devel:38753 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38753 Nick Roberts writes: > > >Setting tooltip-use-echo-area to t meant that normal (and GUD) tooltip > > >strings were displayed in the echo area i.e not really as tooltips. > > >They can now be displayed there independently. For GUD tooltips set > > >gud-tooltip-echo-area to t. For normal (help) tooltips, just turn > > >tooltip-mode off. > > > > > > > > Meanwhile, tooltip-use-echo-area has been abducted by gud for use as an > > alias, breaking existing code that assumed it was a general user option > > for controlling the display of tooltips. > > Or even kidnapped by gud. Rather than use dramatic language to heighten > your case, it would be more helpful if described what code it breaks, and > how it breaks it. We could then decide what to do. It's been reported twice before, it breaks semantic, which uses tooltip-use-echo-area in a test to determine whether to enable a certain feature which would be excessively annoying if displayed in a resizing echo area. > > Shouldn't turning tooltip-mode off disable tooltips completely, whether > > they are displayed in frames or the echo area? > > Having tooltip-mode on and tooltip-use-echo-area set to t wasn't > exactly the same as having tooltip-mode off. Even more reason not to remove tooltip-use-echo-area. > With the former, messages were displayed in the echo area in the > manner of a tooltip i.e they required the mouse to pause over the > text etc. With the latter, help messages appear instantly like > mouse-face. They shouldn't appear at all. > It is not a tooltip and might even predate them, which > might explain the apparent anomaly. AFAIK, this is how it has > always been, and no-one has found a problem with it. So why the need to remove tooltip-use-echo-area then, and why is gud so special that it still needs this variable (or a specialized version of it), while other code apparently doesn't?