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: tooltip-use-echo-area disappeared Date: Wed, 15 Jun 2005 09:33:38 +1200 Message-ID: <17071.19762.509791.894078@farnswood.snap.net.nz> 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> <17070.23884.564148.959259@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 1118784928 908 80.91.229.2 (14 Jun 2005 21:35:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2005 21:35:28 +0000 (UTC) Cc: jasonr@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 14 23:35:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DiJ3w-00061t-7X for ged-emacs-devel@m.gmane.org; Tue, 14 Jun 2005 23:35:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DiJ91-0005IM-9T for ged-emacs-devel@m.gmane.org; Tue, 14 Jun 2005 17:40:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DiJ82-0004x1-GF for emacs-devel@gnu.org; Tue, 14 Jun 2005 17:39:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DiJ7s-0004pZ-Jm for emacs-devel@gnu.org; Tue, 14 Jun 2005 17:39:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DiJ7p-0004n7-QR for emacs-devel@gnu.org; Tue, 14 Jun 2005 17:39:13 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DiJ2y-0000wQ-TG; Tue, 14 Jun 2005 17:34:13 -0400 Original-Received: from farnswood.snap.net.nz (p173-tnt1.snap.net.nz [202.124.110.173]) by viper.snap.net.nz (Postfix) with ESMTP id F1F7554B867; Wed, 15 Jun 2005 09:32:45 +1200 (NZST) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 3D22862A99; Tue, 14 Jun 2005 22:33:39 +0100 (BST) Original-To: Eli Zaretskii In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.70 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:38836 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38836 > > Resurrecting tooltip-use-echo-area is unrelated to making the tty version > > support tooltips. > > IMO, it is related. OK. I've just installed changes that try to restore the behaviour of tooltip-use-echo-area. I guess I should try to give people what they want rather than what I think they should have. I have made it an obsolete variable because its ugly to turn tooltip-mode on and then set a flag so that it behaves like its turned off. Jason, can please you tell me if this change actually gives you the behaviour that you want. > > It was just a flag that re-directed the output of tooltip-show-help > > to the echo area i.e. in the case of normal tooltips back to where > > it was displayed before tooltips were turned on. > > If you mean to say that turning tooltips off would still display the > tooltip text in the echo area, then I agree with Jason: that's a bug > that should be fixed. It should be possible to have 1 of 3 situations > wrt tooltips: I don't think it is "tooltip text" but "help text". tooltips come later and can choose to display "help text". > (1) no tooltips and no messages in echo area > (2) tooltip text is displayed in the echo area > (3) tooltips are displayed as small floating windows I think that (1) isn't possible but this is a separate issue to Jason's point. Perhaps there could be another mode, help-text-mode say, that turns messages on and off in the echo area, but IMHO this should wait till after the release. > > Normal tooltips and GUD tooltips have quite different internals and > > putting their associated code in separate files was much more modular. > > Previously if tooltip-use-echo-area was set to t so that normal tooltips > > displayed there, then GUD tooltips would display there. > > Internals aside, from the user's point of view, if I want tooltip text > to be displayed in the echo area, I want ALL tooltips to behave like > that. Why in the world would I like these two variants of tips to > behave differently? GUD tooltips are more distracting and easier to activate inadvertantly. Emacs is generally about choice, they don't have to behave differently if you don't want them to. Nick