From: Daimrod <daimrod@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: loading all agenda files at startup
Date: Wed, 30 Apr 2014 17:23:33 +0900 [thread overview]
Message-ID: <87fvkvfcoq.fsf@tanger.home> (raw)
In-Reply-To: <87fvkvdycb.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 30 Apr 2014 16:18:44 +0800")
[-- Attachment #1: Type: text/plain, Size: 1092 bytes --]
Eric Abrahamsen <eric@ericabrahamsen.net> 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,
--
Daimrod/Greg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 835 bytes --]
next prev parent reply other threads:[~2014-04-30 8:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-30 8:18 loading all agenda files at startup Eric Abrahamsen
2014-04-30 8:23 ` Daimrod [this message]
2014-04-30 8:44 ` Eric Abrahamsen
2014-04-30 8:58 ` Alexander Baier
2014-04-30 9:11 ` Alexander Baier
2014-05-03 11:17 ` Eric Abrahamsen
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=87fvkvfcoq.fsf@tanger.home \
--to=daimrod@gmail.com \
--cc=emacs-orgmode@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.