emacs-devel
[Top][All Lists]
Advanced

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

Re: Daemon mode wishlist


From: Stefan Monnier
Subject: Re: Daemon mode wishlist
Date: Thu, 02 Oct 2008 14:59:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> All of these new features will have to wait.  The only thing we
>> should do at this stage is move the (server-start) to after
>> processing .emacs and --eval.

> Unfortunately this causes a problem if .emacs prompts the user for
> something, as `desktop-read' does if a stale lock exists for the
> desktop file.  It calls `y-or-n-p' but the user cannot see nor
> answer the question because there is no initial frame, and the
> server is not yet started. :(

> Any suggestions on how we should handle this?  Should desktop.el be
> changed to not prompt?

By fixing the other problem, the one where "emacs --daemon" returns
before the server is ready.  Basically, all the .emacs should be read as
if we're running with "--batch", and only at the end should we detach
from the terminal.

As for desktop-read, it will probably need to be reworked to do the
right thing with --daemon.


        Stefan




reply via email to

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