[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs making questions while starting in daemon mode
From: |
Dan Nicolaescu |
Subject: |
Re: Emacs making questions while starting in daemon mode |
Date: |
Tue, 06 Jul 2010 14:28:28 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Jan Djärv <address@hidden> writes:
> 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?
It does that, but only after processing .emacs.
The original implementation was closing all descriptors from the
start, it was changed to the current one after some discussion on the list.
- Re: Emacs making questions while starting in daemon mode, (continued)
- Re: Emacs making questions while starting in daemon mode, Dan Nicolaescu, 2010/07/05
- Re: Emacs making questions while starting in daemon mode, Óscar Fuentes, 2010/07/06
- Re: Emacs making questions while starting in daemon mode, Dan Nicolaescu, 2010/07/06
- Re: Emacs making questions while starting in daemon mode, Óscar Fuentes, 2010/07/06
- Re: Emacs making questions while starting in daemon mode, Dan Nicolaescu, 2010/07/06
- Re: Emacs making questions while starting in daemon mode, Óscar Fuentes, 2010/07/06
- Re: Emacs making questions while starting in daemon mode, Chad Brown, 2010/07/06
- Re: Emacs making questions while starting in daemon mode, Stephen J. Turnbull, 2010/07/06
- Re: Emacs making questions while starting in daemon mode, Dan Nicolaescu, 2010/07/06
- Re: Emacs making questions while starting in daemon mode, Jan Djärv, 2010/07/06
- Re: Emacs making questions while starting in daemon mode,
Dan Nicolaescu <=
- Re: Emacs making questions while starting in daemon mode, Chad Brown, 2010/07/06
- Re: Emacs making questions while starting in daemon mode, Jan Djärv, 2010/07/06
- Re: Emacs making questions while starting in daemon mode, Chong Yidong, 2010/07/06
- Re: Emacs making questions while starting in daemon mode, Jan Djärv, 2010/07/06
- Re: Emacs making questions while starting in daemon mode, Dan Nicolaescu, 2010/07/06
- Re: Emacs making questions while starting in daemon mode, Óscar Fuentes, 2010/07/06