unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: "Stephen J. Turnbull" <stephen@xemacs.org>, emacs-devel@gnu.org
Subject: Re: unclear
Date: Wed, 5 Nov 2008 18:57:23 +0100	[thread overview]
Message-ID: <18705.56963.812825.531042@a1ihome1.kph.uni-mainz.de> (raw)
In-Reply-To: 87skq7fn2o.fsf@cyd.mit.edu

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

> "Stephen J. Turnbull" <stephen@xemacs.org> 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) "--")))




      reply	other threads:[~2008-11-05 17:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-04  5:48 annoying behavior of emacs --daemon Miles Bader
2008-11-04  6:34 ` Dan Nicolaescu
2008-11-04  7:28   ` Miles Bader
2008-11-04  8:55     ` Dan Nicolaescu
2008-11-04  9:47       ` Miles Bader
2008-11-04 13:03         ` Liang Wang
2008-11-04 13:49           ` Miles Bader
2008-11-04 16:48             ` Chong Yidong
2008-11-04 15:12         ` Dan Nicolaescu
2008-11-04 15:51           ` Miles Bader
2008-11-04  9:24     ` unclear [was: annoying] " Stephen J. Turnbull
2008-11-04 16:55       ` unclear Chong Yidong
2008-11-05 17:57         ` Ulrich Mueller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18705.56963.812825.531042@a1ihome1.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=stephen@xemacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).