help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: org-agenda todo list at startup


From: Martyn Jago
Subject: Re: org-agenda todo list at startup
Date: Sun, 20 Feb 2011 12:41:53 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

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 via email to

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