all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Constantin Kulikov <zxnotdead@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Several proposals, that I think will be helpful(or i dont know about).
Date: Mon, 25 Nov 2013 14:18:06 +0400	[thread overview]
Message-ID: <CAFkz2ypHSwR7ujg0-vEdU=4YrZG2X7c6dEgxsBBscdtRuB4dtQ@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2013-11-25 10:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-25 10:18 Constantin Kulikov [this message]
2013-11-25 12:41 ` Several proposals, that I think will be helpful(or i dont know about) 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

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='CAFkz2ypHSwR7ujg0-vEdU=4YrZG2X7c6dEgxsBBscdtRuB4dtQ@mail.gmail.com' \
    --to=zxnotdead@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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.