From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Schwander Subject: Re: Org-Mode API? Date: Wed, 15 Sep 2010 18:21:34 +0200 Message-ID: <20100915162133.GB30714@pomerol.lix.polytechnique.fr> References: <87hbhr13vh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=42363 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ovujr-0006yf-QY for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 12:21:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ovujq-0007TC-LW for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 12:21:39 -0400 Received: from mx-a.polytechnique.fr ([129.104.30.14]:58438) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ovujq-0007Sr-7a for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 12:21:38 -0400 Content-Disposition: inline In-Reply-To: <87hbhr13vh.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "[AvataR]" Cc: emacs-org Le 15 Sep 2010 17:24, [AvataR] a =E9crit: > I want to write simple desktop widget for my todo list in org. I can pa= rse > output of org-agenda, but this way sucks. Is there any clear way to enu= merate > 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