[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: y-or-n-p and emacs --daemon
From: |
Thierry Volpiatto |
Subject: |
Re: y-or-n-p and emacs --daemon |
Date: |
Thu, 04 Dec 2008 12:28:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Ulrich Mueller <address@hidden> writes:
>>>>>> On Wed, 03 Dec 2008, Stefan Monnier wrote:
>
>> Ideally, either the question comes before detaching and it should then
>> behave as it does in -batch,
>
> I think that this is unaccaptable. A daemon shouldn't be interactive
> before detaching. Besides, there might not be any terminal associated
> with stdin, so this doesn't solve the problem for this case.
>
> Can't y-or-n-p signal an error if it's called before detaching?
Note:
y-or-n-p is not the only case of interactivity that can happen when
starting daemon:
if desktop save buffer that has been opened as /su:... or /sudo
it will prompt for password and will hang until user kill process.
--
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France
- Re: y-or-n-p and emacs --daemon, (continued)