From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: tooltip-mode shouldn't be enabled in the Linux console by default Date: Sun, 26 Apr 2009 20:43:21 +0300 Message-ID: <83ab63fgzq.fsf@gnu.org> References: <18932.16293.813561.158162@totara.tehura.co.nz> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1240825230 29175 80.91.229.12 (27 Apr 2009 09:40:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2009 09:40:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: nickrob@snap.net.nz (Nick Roberts) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 27 11:40:23 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ly8Pm-0000tY-1j for ged-emacs-devel@m.gmane.org; Sun, 26 Apr 2009 19:45:18 +0200 Original-Received: from localhost ([127.0.0.1]:40464 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ly8OM-0006Q6-Km for ged-emacs-devel@m.gmane.org; Sun, 26 Apr 2009 13:43:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ly8OI-0006Po-Iu for emacs-devel@gnu.org; Sun, 26 Apr 2009 13:43:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ly8OG-0006PF-9E for emacs-devel@gnu.org; Sun, 26 Apr 2009 13:43:45 -0400 Original-Received: from [199.232.76.173] (port=58736 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ly8OG-0006PA-3I for emacs-devel@gnu.org; Sun, 26 Apr 2009 13:43:44 -0400 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:55633) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ly8OF-0000wl-L2 for emacs-devel@gnu.org; Sun, 26 Apr 2009 13:43:43 -0400 Original-Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KIP00B00YJIMP00@i_mtaout5.012.net.il> for emacs-devel@gnu.org; Sun, 26 Apr 2009 20:43:19 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.175.232]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KIP002MYYK52VY0@i_mtaout5.012.net.il>; Sun, 26 Apr 2009 20:43:19 +0300 (IDT) In-reply-to: <18932.16293.813561.158162@totara.tehura.co.nz> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:110478 Archived-At: > Date: Sun, 26 Apr 2009 23:04:05 +1200 > From: nickrob@snap.net.nz (Nick Roberts) > > ;; Even if we start on a text-only terminal, make this non-nil by > ;; default because we can open a graphical frame later (multi-tty). > > I think this is wrong because, in the Linux console with gpm, every time the > mouse moves over a region with a help-echo property, in the mini-buffer, you > get the error message: > > Error while displaying tooltip: (error Non-X frame used) > > before the help text appears. Yes, it's wrong. > Presumably if a multi-tty user chooses to open a graphical frame, he > can enable tooltip-mode if he wishes. Or maybe it is possible to distinguish > between the Linux console and a text-only terminal on a graphical terminal, > e.g xterm on X11 where gpm is not available. I think it should be possible to set this mode per frame, and then it should be off on text-only terminals. I suggest to file a bug report about this.