[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 13:29:41 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
"Stephen J. Turnbull" <address@hidden> writes:
> Chad Brown writes:
>
> > There are probably roughly as many annoying corner cases in the
> > `bull ahead' strategy as there are in the `wait for input'
> > strategy. Rather than trying to weigh and balance exceptional
> > cases, why don't we look into having emacs open a window to ask
> > those questions (or at least ask about bull-ahead-or-hang) if it's
> > run --daemon?
>
> Because in many cases you won't find. At least one of the systems I
> run Emacsen on is headless.
>
> I think Dan is right -- this is basically a user error. And I think
> that Óscar is also right ... anything that tries to access a
> non-existent console should signal an error.
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.
- 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/05
- 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 <=
- 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, 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