all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Martyn Jago <martyn.jago@btinternet.com>
To: help-gnu-emacs@gnu.org
Subject: Re: org-agenda todo list at startup
Date: Sun, 20 Feb 2011 12:41:53 +0000	[thread overview]
Message-ID: <87wrku3mjy.fsf@btinternet.com> (raw)
In-Reply-To: AANLkTimRjNU=_66-2WoAqjOCbCPCQv4+cNzPm-p56JRr@mail.gmail.com

Ben Key <bkey76@gmail.com> writes:

> Martyn Jago writes:
>> Use the window-setup-hook. This hook shouldn't be used within a library
>> apparently, but is fine for your stuff.
>
> Could you please explain this comment.  I ask because I do make use of the
> window-setup-hook in a library I am writing.
>
> Thanks.

It was based on vaguely remember reading something to this effect. I
found it, and on re-reading perhaps I shouldn't have recommended its
use. I've never had any problems with it personally...

http://www.gnu.org/software/emacs/elisp/html_node/Window-Systems.html

/
| Variable: window-setup-hook
| 
|     This variable is a normal hook which Emacs runs after handling the
|     initialization files. Emacs runs this hook after it has completed
|     loading your init file, the default initialization file (if any),
|     and the terminal-specific Lisp code, and running the hook
|     term-setup-hook.
| 
|     This hook is used for internal purposes: setting up communication
|     with the window system, and creating the initial window. Users
|     should not interfere with it. 
\

Martyn




  reply	other threads:[~2011-02-20 12:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-20  4:32 org-agenda todo list at startup Ben Key
2011-02-20 12:41 ` Martyn Jago [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-02-20  4:30 Ben Key
2011-02-17  4:03 trebol55555
2011-02-19  9:57 ` Bastien
2011-02-19 23:13   ` trebol55555
2011-02-20  2:06     ` Martyn Jago
2011-02-20 15:09       ` trebol55555

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=87wrku3mjy.fsf@btinternet.com \
    --to=martyn.jago@btinternet.com \
    --cc=help-gnu-emacs@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.