emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Olivier Schwander <olivier.schwander@chadok.info>
To: "[AvataR]" <public.avatar@gmail.com>
Cc: emacs-org <emacs-orgmode@gnu.org>
Subject: Re: Org-Mode API?
Date: Wed, 15 Sep 2010 18:21:34 +0200	[thread overview]
Message-ID: <20100915162133.GB30714@pomerol.lix.polytechnique.fr> (raw)
In-Reply-To: <87hbhr13vh.fsf@gmail.com>

Le 15 Sep 2010 17:24, [AvataR] a écrit:
> I want to write simple desktop widget for my todo list in org. I can parse
> output of org-agenda, but this way sucks. Is there any clear way to enumerate
> all events in file/buffer/whatelse with their properties (like todo
> state, deadline etc)?

I am not sure a separate parser really sucks. It would allow to work
completely independently of Emacs, without depending on various hooks to
guaranty synchronization between org files and you program data.

I am currently writing a Python library for parsing org-file. The main
goal is to build a kind of mobile-org for N900 and Maemo but it's
designed to be enough generic for web applications or desktop
applications.

Currently, it only supports rebuilding the tree of an org file. There is
no release but a public Darcs repository is available at:

http://chadok.info/darcs/orgpy/

Cheers,

Olivier

  reply	other threads:[~2010-09-15 16:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-15 14:24 Org-Mode API? [AvataR]
2010-09-15 16:21 ` Olivier Schwander [this message]
2010-09-15 16:43   ` Puneeth
2010-09-15 17:24   ` [AvataR]

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=20100915162133.GB30714@pomerol.lix.polytechnique.fr \
    --to=olivier.schwander@chadok.info \
    --cc=emacs-orgmode@gnu.org \
    --cc=public.avatar@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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