emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs making questions while starting in daemon mode


From: Óscar Fuentes
Subject: Re: Emacs making questions while starting in daemon mode
Date: Tue, 06 Jul 2010 06:04:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Óscar Fuentes <address@hidden> writes:

> IMO, an acceptable "answer" on those cases is to act as if the user
> pressed C-g to abort the question, leave some notice on *Messages* and
> keep going with the initialization.
>
> Is there a predicate that tells if emacs is initializing?

Nevermind, after-init-time provides that info.

It doesn't sound right to limit the time where questions are disregarded
to initialization time, though. Something like this pseudocode seems
more correct:

(when (and (daemonp) (no frames) (no console))
      (message "aborting question %s" question-text)
      (signal 'quit nil))

Does that look like an improvement over the current behavior?




reply via email to

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