emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Dynamically generating todo entries
@ 2011-11-02 21:27 Daniel Schoepe
  2011-11-02 23:11 ` Nick Dokos
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Schoepe @ 2011-11-02 21:27 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 886 bytes --]

Hello,

I'm trying to dynamically generate a list of TODO entries (specifically,
a list of notmuch[1] threads that have a "todo" tag) that I'd like to
see in the TODO agenda, but not in the normal daily agenda (just like a
ordinary TODO entry without a date). A simple try like

(defun foo ()
  "Test function"
  "TODO foo")
--
in something.org:
%%(foo)

ends up generating an entry for every day in the weekly/daily agenda,
but this entry is not recognized as a TODO entry. Is %%(foo) (I don't
know the actual name of this feature) the wrong mechanism for my goal?
If so, is there an alternative for accomplishing what I had in mind?

By the way: Is there a resource describing what special variables are
available to such functions (I only know about date) and how their
output should look like? I couldn't find anything in the org manual.

[1] http://notmuchmail.org

Cheers,
Daniel

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-11-23 17:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-02 21:27 Dynamically generating todo entries Daniel Schoepe
2011-11-02 23:11 ` Nick Dokos
2011-11-02 23:35   ` Daniel Schoepe
2011-11-03 10:49     ` Jonas Hörsch
2011-11-23 16:41     ` suvayu ali
2011-11-23 17:17       ` Daniel Schoepe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).