Hi Matt,
Thanks a lor for you answer. I preferred your second suggestion as I can add it directly to my Org buffer: > --8<---------------cut here---------------start------------->8--- > #+source: tasklist > #+begin_src emacs-lisp :var person="me" > (let (tasklist) > (org-map-entries > (lambda () > (add-to-list 'tasklist > (concat "- " (nth 4 (org-heading-components))))) > (concat person "/!TODO") 'agenda) > (mapconcat 'identity tasklist "\n")) > #+end_src > > #+call: tasklist(person="Jenny") > --8<---------------cut here---------------end--------------->8--- > > Add this to an org file, replace Jenny with the appropriate name, and > type C-c C-c to spit out a list (of all TODO items tagged with the > relevant name) that looks like this: > > --8<---------------cut here---------------start------------->8--- > #+results: tasklist(person="Jenny") > #+begin_example > - Call George > - Call Archie > - Estimate cost of widgets > --8<---------------cut here---------------end--------------->8--- Currently you code returns todo items with the todo keyword "TODO" only. What do I have to change in order to get all todo items with selected todo keyword? As an example, I'd like to keep in the lists the todo items with TODO and STARTED but not the ones marked as DONE, WAIT or NEW. Thanks again for your help. Regards, Francesco _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode