emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] loading all agenda files at startup


From: Eric Abrahamsen
Subject: Re: [O] loading all agenda files at startup
Date: Wed, 30 Apr 2014 16:44:49 +0800
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3 (gnu/linux)

Daimrod <address@hidden> writes:

> Eric Abrahamsen <address@hidden> writes:
>
> Hi Eric,
>
>> I've got a few top-level user commands, related to org, that load at
>> startup. Specifically org-agenda and org-ido-switchb are bound to keys
>> that are available after emacs starts up. Before Org loads properly,
>> however, things like the agenda file list and the list of valid tags and
>> TODO keywords are unavailable. That makes it hard to boot emacs and go
>> directly into a call to `org-todo-list': the TODO keywords aren't loaded
>> yet.
>>
>> I've looked into this before but couldn't find a single function that
>> would "boot" my local data. `org-agenda-files' reads the file list, but
>> it doesn't actually parse the files and do all the setup routines.
>>
>> Is there a single-function entry point that I could put in my init
>> files, that would get me where I want to be? ie, in a state as though
>> `org-agenda' had already been called, though it hasn't yet?
>
> I call `org-agenda-list' in my `after-init-hook' but it is not "silent",
> that is, it displays the agenda list.
>
> Best,

Right, just calling the agenda directly will certainly solve the issue,
and I suppose as a member of the Org faithful I should be booting to the
agenda! But it would be nice to get the same effect, but be left in
*scratch*...




reply via email to

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