all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Romain Francoise <romain@orebokech.com>
Cc: emacs-devel@gnu.org
Subject: Re: Daemon mode wishlist
Date: Thu, 02 Oct 2008 14:59:30 -0400	[thread overview]
Message-ID: <jwvmyhmome9.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87iqsadga4.fsf@elegiac.orebokech.com> (Romain Francoise's message of "Thu, 02 Oct 2008 20:05:07 +0200")

>> 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	other threads:[~2008-10-02 18:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-26 19:40 Daemon mode wishlist Romain Francoise
2008-09-26 20:27 ` Dan Nicolaescu
2008-09-26 21:24   ` Stefan Monnier
2008-09-27 15:53     ` Dan Nicolaescu
2008-09-28  1:09       ` Stefan Monnier
2008-09-28  1:39         ` Dan Nicolaescu
2008-09-28  2:08           ` Stefan Monnier
2008-09-28  9:37             ` Romain Francoise
2008-09-28  7:41           ` Paul R
2008-09-28 22:47             ` Stefan Monnier
2008-09-27  9:55   ` Romain Francoise
2008-09-27 12:27     ` Stefan Monnier
2008-10-02 18:05       ` Romain Francoise
2008-10-02 18:59         ` Stefan Monnier [this message]
2010-06-02 18:32           ` emacs-dwim
2010-06-03  1:07             ` Chong Yidong
2008-09-27 16:09     ` Dan Nicolaescu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvmyhmome9.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=romain@orebokech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.