unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Several proposals, that I think will be helpful(or i dont know about).
@ 2013-11-25 10:18 Constantin Kulikov
  2013-11-25 12:41 ` Michael Heerdegen
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Constantin Kulikov @ 2013-11-25 10:18 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 808 bytes --]

The first one let you know if you are at the 'loading' stage while emacs is
starting. It could be useful in case when you start emacs --daemon from
startup script and your elisp code intended to ask yes-or-no -- then emacs
--daemon will stuck, but if you have some function like `loadingp' then you
can defer some questions on after-make-frame-functions for example.

Like:
(if (and (daemonp) (loadingp))
  (add-hook 'after-make-frame-functions ask-my-question)
 (ask-my-question))

This could be achieved by setting variable like `emacs-loading' to `t' in
the beginning of .emacs and setting it to `nil' in the end. But I think
there must be standard way for this.


Second I want some standard way to filter out emacs daemon's
'frame'(usually it's frame with ('name . "F1") parameter) from
`(frame-list)'.

[-- Attachment #2: Type: text/html, Size: 1024 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2013-11-26 20:13 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-25 10:18 Several proposals, that I think will be helpful(or i dont know about) Constantin Kulikov
2013-11-25 12:41 ` Michael Heerdegen
2013-11-25 14:40 ` Stefan Monnier
     [not found]   ` <CAFkz2yowhPEMjbdxCKuTkPwEwpN5uop4Uni472EpScSbcR8jWw@mail.gmail.com>
2013-11-25 18:14     ` Constantin Kulikov
     [not found]     ` <jwvbo18s5k9.fsf-monnier+emacs@gnu.org>
2013-11-25 18:42       ` Constantin Kulikov
2013-11-26 10:23         ` Constantin Kulikov
2013-11-26 13:14           ` Stefan Monnier
2013-11-26 13:35             ` Constantin Kulikov
2013-11-26 13:39               ` Constantin Kulikov
2013-11-26 14:19                 ` Constantin Kulikov
2013-11-26 19:19                   ` Stefan Monnier
2013-11-26 19:22                   ` Stefan Monnier
2013-11-26 19:34             ` Johan Bockgård
2013-11-26 19:33 ` Glenn Morris
2013-11-26 19:45   ` Constantin Kulikov
2013-11-26 19:47     ` Glenn Morris
2013-11-26 20:02       ` Constantin Kulikov
2013-11-26 20:07         ` Glenn Morris
2013-11-26 20:13           ` Constantin Kulikov

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).