emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Peter Münster" <pmlists@free.fr>
To: emacs-orgmode@gnu.org
Subject: get all todo items as lisp list
Date: Sat, 18 Feb 2012 18:41:22 +0100	[thread overview]
Message-ID: <87wr7krqd9.fsf@micropit.couberia.bzh> (raw)


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>
   :notify:   notify-test
* TODO todo-test2
  DEADLINE: <2012-05-20 Sun 16:66>
   :notify:   notify-test2
--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!

             reply	other threads:[~2012-02-18 17:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-18 17:41 Peter Münster [this message]
2012-02-19  0:28 ` get all todo items as lisp list Eric Abrahamsen
2012-02-19  5:01 ` Jambunathan K
2012-02-19 10:57   ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wr7krqd9.fsf@micropit.couberia.bzh \
    --to=pmlists@free.fr \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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).