[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unclear

From: Ulrich Mueller
Subject: Re: unclear
Date: Wed, 5 Nov 2008 18:57:23 +0100

>>>>> On Mon, 20 Oct 2008, Chong Yidong wrote:

> "Stephen J. Turnbull" <address@hidden> 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.


--- 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) "--")))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]