From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Is tooltip-mode STANDARD on or off? Date: Sun, 24 Jul 2005 19:22:00 -0500 (CDT) Message-ID: <200507250022.j6P0M0111618@raven.dms.auburn.edu> References: <42E419BE.4090407@student.lu.se> <42E42871.5000609@student.lu.se> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1122251679 18043 80.91.229.2 (25 Jul 2005 00:34:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Jul 2005 00:34:39 +0000 (UTC) Cc: emacs-devel@gnu.org, jasonr@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 25 02:34:29 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DwqvH-0005P0-Sd for ged-emacs-devel@m.gmane.org; Mon, 25 Jul 2005 02:34:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DwqxY-0004xF-AB for ged-emacs-devel@m.gmane.org; Sun, 24 Jul 2005 20:36:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DwquA-0003Zh-U5 for emacs-devel@gnu.org; Sun, 24 Jul 2005 20:33:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dwqtz-0003SK-Cd for emacs-devel@gnu.org; Sun, 24 Jul 2005 20:33:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dwqtx-0003Q6-CY for emacs-devel@gnu.org; Sun, 24 Jul 2005 20:33:01 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DwquK-0004GE-Nj; Sun, 24 Jul 2005 20:33:24 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j6P0MWCK010796; Sun, 24 Jul 2005 19:22:33 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j6P0M0111618; Sun, 24 Jul 2005 19:22:00 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: lennart.borgman.073@student.lu.se In-reply-to: <42E42871.5000609@student.lu.se> (message from Lennart Borgman on Mon, 25 Jul 2005 01:46:57 +0200) 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:41198 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41198 Lennart Borgman wrote: There are three variants: 1) emacs --help 2) Info 3) how it actually behaves I believe that the Emacs manual (which is probably what you mean by "Info") describes the intended behavior, whereas `emacs --help' slightly oversimplifies it, which might be deliberate since the disabling of the startup screen can be considered a minor detail and `emacs --help' needs to be reasonably concise. I believe that the fact that Tooltip Mode is disabled after emacs -Q, whereas it is enabled after emacs -q -D is due to an oversight when the original emacs -Q got split into the new emacs -Q and emacs -D. I believe that the intended behavior is exactly opposite and that the patch below, which implements the opposite behavior should be installed. (I can do this if desired.) Note that emacs-quick-startup is set by -Q, whereas emacs-basic-display is set by -D. ===File ~/tooltip.el-diff=================================== *** tooltip.el 13 Jul 2005 19:24:28 -0500 1.63 --- tooltip.el 24 Jul 2005 18:30:52 -0500 *************** *** 159,165 **** With ARG, turn tooltip mode on if and only if ARG is positive." :global t :init-value (not (or noninteractive ! emacs-quick-startup (not (display-graphic-p)) (not (fboundp 'x-show-tip)))) :initialize 'custom-initialize-safe-default --- 159,165 ---- With ARG, turn tooltip mode on if and only if ARG is positive." :global t :init-value (not (or noninteractive ! emacs-basic-display (not (display-graphic-p)) (not (fboundp 'x-show-tip)))) :initialize 'custom-initialize-safe-default ============================================================