emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] get all todo items as lisp list


From: Peter Münster
Subject: [O] get all todo items as lisp list
Date: Sat, 18 Feb 2012 18:41:22 +0100
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux)

Hi,

Given a todo list in an org file, is there already a function, that
converts this list to an elisp list, that contains at least heading,
deadline and properties?

Example input:
--8<---------------cut here---------------start------------->8---
* TODO todo-test
  DEADLINE: <2012-04-19 Thu 13:33>
   :PROPERTIES:
   :notify:   notify-test
   :END:
* TODO todo-test2
  DEADLINE: <2012-05-20 Sun 16:66>
   :PROPERTIES:
   :notify:   notify-test2
   :END:
--8<---------------cut here---------------end--------------->8---

Example output:
--8<---------------cut here---------------start------------->8---
((file "test.org" heading "TODO todo-test" deadline (111 222 333)
       properties (notify notify-test))
 (file "test.org" heading "TODO todo-test2" deadline (123 456 789)
       properties (notify notify-test2)))
--8<---------------cut here---------------end--------------->8---

Or are there functions, that could help me, to do it myself?
(I've tried with `org-agenda-get-day-entries', but without success...)

TIA for any help!
-- 
           Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]