On Wed, 23 Nov 2011 17:41:49 +0100, suvayu ali <[email protected]> wrote: > You can take pointers from here: > <http://orgmode.org/worg/org-hacks.html#sec-3-12>
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/notmuch_todo.org")))
(when buf
(kill-buffer buf)))
(call-process "notmuch-org"))
(Together with a not very interesting python script that generates
notmuch_todo.org).
Thanks anyway.
Cheers,
Daniel
pgpqslxiISjjf.pgp
Description: PGP signature
