From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: unclear Date: Wed, 5 Nov 2008 18:57:23 +0100 Message-ID: <18705.56963.812825.531042@a1ihome1.kph.uni-mainz.de> References: <87k5bju9m0.fsf@uwakimon.sk.tsukuba.ac.jp> <87skq7fn2o.fsf@cyd.mit.edu> 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 1225907878 10226 80.91.229.12 (5 Nov 2008 17:57:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2008 17:57:58 +0000 (UTC) Cc: "Stephen J. Turnbull" , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 05 18:59:00 2008 connect(): Connection refused 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 1KxmeY-0003sY-0S for ged-emacs-devel@m.gmane.org; Wed, 05 Nov 2008 18:58:50 +0100 Original-Received: from localhost ([127.0.0.1]:52007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxmdQ-0007Qz-Vc for ged-emacs-devel@m.gmane.org; Wed, 05 Nov 2008 12:57:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxmdM-0007Qu-Ia for emacs-devel@gnu.org; Wed, 05 Nov 2008 12:57:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxmdJ-0007QP-Sh for emacs-devel@gnu.org; Wed, 05 Nov 2008 12:57:35 -0500 Original-Received: from [199.232.76.173] (port=49187 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxmdJ-0007QM-NP for emacs-devel@gnu.org; Wed, 05 Nov 2008 12:57:33 -0500 Original-Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:36867) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KxmdJ-0008Af-2I for emacs-devel@gnu.org; Wed, 05 Nov 2008 12:57:33 -0500 Original-Received: from a1ihome1.kph.uni-mainz.de (a1ihome1.kph.uni-mainz.de [134.93.134.75]) by a1iwww1.kph.uni-mainz.de (8.14.0/8.13.4) with ESMTP id mA5HvOpw000306; Wed, 5 Nov 2008 18:57:24 +0100 Original-Received: from a1ihome1.kph.uni-mainz.de (localhost [127.0.0.1]) by a1ihome1.kph.uni-mainz.de (8.14.0/8.14.1) with ESMTP id mA5HvOlo027826; Wed, 5 Nov 2008 18:57:24 +0100 Original-Received: (from ulm@localhost) by a1ihome1.kph.uni-mainz.de (8.14.0/8.14.0/Submit) id mA5HvNx7027821; Wed, 5 Nov 2008 18:57:23 +0100 X-Mailer: VM 8.0.2-487 under Emacs 22.2.1 (i686-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 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:105404 Archived-At: >>>>> On Mon, 20 Oct 2008, Chong Yidong wrote: > "Stephen J. Turnbull" writes: >> > $ emacs --daemon -Q >> > ("emacs" "-Q") >> > For information about GNU Emacs and the GNU system, type C-h C-a. >> >> Now that seems like bad advice in daemon mode. Even bash is unlikely >> to do the right thing here. :-) > Good point. I changed the message, in daemon mode, to just say > "Starting Emacs daemon." Hm, for me it still says: ,---- | $ emacs --daemon -Q | ("emacs" "-Q") | Starting Emacs daemon. `---- I wonder if the first line of output, i.e. the (incomplete) list of command line arguments, would be useful for anybody? If not, then it should be suppressed, too. Ulrich --- lisp/startup.el~ +++ lisp/startup.el @@ -626,5 +626,6 @@ (defun tty-handle-args (args) (let (rest) - (message "%S" args) + (or (daemonp) + (message "%S" args)) (while (and args (not (equal (car args) "--")))