From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nickrob@snap.net.nz (Nick Roberts) Newsgroups: gmane.emacs.devel Subject: tooltip-mode shouldn't be enabled in the Linux console by default Date: Sun, 26 Apr 2009 23:04:05 +1200 Message-ID: <18932.16293.813561.158162@totara.tehura.co.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1240829463 20809 80.91.229.12 (27 Apr 2009 10:51:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2009 10:51:03 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 27 12:50:55 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 1Ly2Zc-0005UY-Tk for ged-emacs-devel@m.gmane.org; Sun, 26 Apr 2009 13:31:05 +0200 Original-Received: from localhost ([127.0.0.1]:59890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ly2YD-0003Cj-Ie for ged-emacs-devel@m.gmane.org; Sun, 26 Apr 2009 07:29:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ly2Y7-0003CU-71 for emacs-devel@gnu.org; Sun, 26 Apr 2009 07:29:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ly2Y2-0003Br-PJ for emacs-devel@gnu.org; Sun, 26 Apr 2009 07:29:30 -0400 Original-Received: from [199.232.76.173] (port=56932 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ly2Y2-0003Bo-Lw for emacs-devel@gnu.org; Sun, 26 Apr 2009 07:29:26 -0400 Original-Received: from mx.southnet.co.nz ([202.37.101.20]:49230 helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ly2Y2-0000cF-8k for emacs-devel@gnu.org; Sun, 26 Apr 2009 07:29:26 -0400 Original-Received: from totara (57.62.255.123.dynamic.snap.net.nz [123.255.62.57]) by viper.snap.net.nz (Postfix) with ESMTP id 93F7A3D9F72 for ; Sun, 26 Apr 2009 23:04:07 +1200 (NZST) Original-Received: by totara (Postfix, from userid 1000) id CDB35C12E; Sun, 26 Apr 2009 23:04:05 +1200 (NZST) X-Mailer: VM 7.19 under Emacs 22.2.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:110482 Archived-At: For Emacs in CVS, tooltip-mode is enabled by default for text-only terminals. The file tooltip.el says this: ;; 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. 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. -- Nick http://www.inet.net.nz/~nickrob