unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Dan Nicolaescu <dann@gnu.org>
Cc: Fuentes <ofv@wanadoo.es>,
	"Stephen J. Turnbull" <stephen@xemacs.org>,
	"Chad Brown" <yandros@MIT.EDU>,
	emacs-devel@gnu.org
Subject: Re: Emacs making questions while starting in daemon mode
Date: Tue, 06 Jul 2010 20:13:22 +0200	[thread overview]
Message-ID: <4C337242.6070405@swipnet.se> (raw)
In-Reply-To: <yxq8w5o8qnu.fsf@fencepost.gnu.org>



Dan Nicolaescu skrev 2010-07-06 19.29:
>
> That happens already:
>
> $ cat .emacs
> (yes-or-no-p "Question?")
> $ emacs --daemon<  /dev/null
>   emacs --daemon<  /dev/null
> ("emacs")
> Question?(yes or no) Warning (initialization): An error occurred while loading `/home/dann/.emacs':
>
> error: Error reading from stdin
>
> To ensure normal operation, you should investigate and remove the
> cause of the error in your initialization file.  Start Emacs with
> the `--debug-init' option to view a complete error backtrace.
> Starting Emacs daemon.
>
> I suspect that the tool he uses to start emacs provides some bogus
> stdin and emacs dutifully waits for input from there.

So emacs --daemon should behave more like a "proper" daemon, i.e. close 
stdin/out/err and setsid and the whole works?

	Jan D.



  reply	other threads:[~2010-07-06 18:13 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-05 16:27 Emacs making questions while starting in daemon mode Óscar Fuentes
2010-07-06  2:39 ` Dan Nicolaescu
2010-07-06  3:31   ` Óscar Fuentes
2010-07-06  3:59     ` Dan Nicolaescu
2010-07-06  4:17       ` Óscar Fuentes
2010-07-06  4:42         ` Dan Nicolaescu
2010-07-06 14:44           ` Óscar Fuentes
2010-07-06 15:29             ` Dan Nicolaescu
2010-07-06 15:55               ` Óscar Fuentes
2010-07-06 16:27                 ` Chad Brown
2010-07-06 16:53                   ` Stephen J. Turnbull
2010-07-06 17:29                     ` Dan Nicolaescu
2010-07-06 18:13                       ` Jan Djärv [this message]
2010-07-06 18:28                         ` Dan Nicolaescu
2010-07-06 19:11                     ` Chad Brown
2010-07-06 17:07                   ` Jan Djärv
2010-07-06 17:26                     ` Chong Yidong
2010-07-06 18:11                       ` Jan Djärv
2010-07-06 16:44                 ` Dan Nicolaescu
2010-07-06  4:04     ` Óscar Fuentes

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=4C337242.6070405@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=dann@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=ofv@wanadoo.es \
    --cc=stephen@xemacs.org \
    --cc=yandros@MIT.EDU \
    /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).