* load calendar on startup
@ 2009-06-09 2:31 knubee
2009-06-09 21:53 ` m
0 siblings, 1 reply; 5+ messages in thread
From: knubee @ 2009-06-09 2:31 UTC (permalink / raw
To: help-gnu-emacs
this is probably very easy, but i haven't been able to find the
answer.
how would one load the weekly/daily agenda view of org-mode when
starting up an emacs session?
thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: load calendar on startup
2009-06-09 2:31 load calendar on startup knubee
@ 2009-06-09 21:53 ` m
2009-06-10 3:35 ` knubee
0 siblings, 1 reply; 5+ messages in thread
From: m @ 2009-06-09 21:53 UTC (permalink / raw
To: help-gnu-emacs
knubee <knubee@gmail.com> writes:
> this is probably very easy, but i haven't been able to find the
> answer.
>
> how would one load the weekly/daily agenda view of org-mode when
> starting up an emacs session?
Have you tried
(org-agenda-list)
near the bottom of your .emacs file?
hth
--
Marco
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: load calendar on startup
2009-06-09 21:53 ` m
@ 2009-06-10 3:35 ` knubee
2009-06-10 7:50 ` Teemu Likonen
0 siblings, 1 reply; 5+ messages in thread
From: knubee @ 2009-06-10 3:35 UTC (permalink / raw
To: help-gnu-emacs
> Have you tried
>
> (org-agenda-list)
>
> near the bottom of your .emacs file?
that did it. thanks.
(so i guess the way to have something load on startup is to invoke the
appropriate function somewhere in the .emacs file. make sense.)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: load calendar on startup
2009-06-10 3:35 ` knubee
@ 2009-06-10 7:50 ` Teemu Likonen
2009-06-11 1:49 ` knubee
0 siblings, 1 reply; 5+ messages in thread
From: Teemu Likonen @ 2009-06-10 7:50 UTC (permalink / raw
To: help-gnu-emacs
On 2009-06-09 20:35 (-0700), knubee wrote:
>> Have you tried
>>
>> (org-agenda-list)
>>
>> near the bottom of your .emacs file?
>
> that did it. thanks.
>
> (so i guess the way to have something load on startup is to invoke the
> appropriate function somewhere in the .emacs file. make sense.)
Yes, .emacs file is evaluated at Emacs startup. :-)
There is also variable after-init-hook which contains a list of
functions to run after loading all initialization files. So, you could
also add a command like
(add-hook 'after-init-hook 'org-agenda-list)
to your .emacs file. Now function org-agenda-list is not run immediately
but after all initilization. For more info, see the info node "(elisp)
Init File":
C-h i d m elisp RET i init file RET
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: load calendar on startup
2009-06-10 7:50 ` Teemu Likonen
@ 2009-06-11 1:49 ` knubee
0 siblings, 0 replies; 5+ messages in thread
From: knubee @ 2009-06-11 1:49 UTC (permalink / raw
To: help-gnu-emacs
> There is also variable after-init-hook which contains a list of
> functions to run after loading all initialization files. So, you could
> also add a command like
>
> (add-hook 'after-init-hook 'org-agenda-list)
>
> to your .emacs file. Now function org-agenda-list is not run immediately
> but after all initilization. For more info, see the info node "(elisp)
> Init File":
>
> C-h i d m elisp RET i init file RET
ah, good to know. thanks!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-06-11 1:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-09 2:31 load calendar on startup knubee
2009-06-09 21:53 ` m
2009-06-10 3:35 ` knubee
2009-06-10 7:50 ` Teemu Likonen
2009-06-11 1:49 ` knubee
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.