emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs making questions while starting in daemon mode


From: Jan Djärv
Subject: Re: Emacs making questions while starting in daemon mode
Date: Tue, 06 Jul 2010 20:13:22 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1



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 via email to

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