Re: [O] Dynamically generating todo entries

2011-11-23 Thread Daniel Schoepe
On Wed, 23 Nov 2011 17:41:49 +0100, suvayu ali wrote: > You can take pointers from here: > Yeah, I figured out a solution that works for me: (defadvice org-todo-list (before org-todo-gen-notmuch activate) (let ((buf (get-file-buffer "~/org/not

Re: [O] Dynamically generating todo entries

2011-11-23 Thread suvayu ali
On Thu, Nov 3, 2011 at 00:35, Daniel Schoepe wrote: >> Diary sexps is probably the wrong thing to use for what you want: I >> don't know how far you want to take it, but iiuc, the easiest thing to >> do is write a script (in your favorite language) that generates a file >> of entries, say foo.org:

Re: [O] Dynamically generating todo entries

2011-11-23 Thread Jonas Hörsch
[fn:1] Footnotes: [fn:1] Mail

Re: [O] Dynamically generating todo entries

2011-11-02 Thread Daniel Schoepe
On Wed, 02 Nov 2011 19:11:38 -0400, Nick Dokos wrote: > They are generally called (somewhat misleadingly) diary sexps - they are > executed by org-agenda-get-sexps (assuming that they are in some agenda > file) when the agenda is constructed, once for every day displayed: they > do their things an

Re: [O] Dynamically generating todo entries

2011-11-02 Thread Nick Dokos
Daniel Schoepe wrote: > 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 s