From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: special table from clock Date: Thu, 20 Mar 2014 22:56:31 +0100 Message-ID: <87ob10ilf4.fsf@bzg.ath.cx> References: <87iorirrpx.fsf@gmx.at> <87ob12wi6g.fsf@bzg.ath.cx> <87a9cm3u88.fsf@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQkxj-0005bq-Qe for emacs-orgmode@gnu.org; Thu, 20 Mar 2014 17:57:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQkxY-0005bs-Pp for emacs-orgmode@gnu.org; Thu, 20 Mar 2014 17:57:19 -0400 Received: from rs249.mailgun.us ([209.61.151.249]:46996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQkxY-0005bj-IN for emacs-orgmode@gnu.org; Thu, 20 Mar 2014 17:57:08 -0400 In-Reply-To: <87a9cm3u88.fsf@gmx.at> (Martin's message of "Wed, 19 Mar 2014 19:43:03 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Martin Cc: org-mode Hi Martin, Martin writes: > Where do I find the contrib/ repository? ~$ git clone git://orgmode.org/org-mode.git ~$ cd org-mode/contrib/ or http://orgmode.org/org-8.2.5h.zip, unzip, and open the* contrib/ directory. > So what I think now is, I'd like to get some elisp functions which can > parse my orgmode files, where I have i.e. an appointment APPT or an TODO > entry and getting things (keywords, CLOCK:, properties out of it and > also the text after my things (or should I the text in a Drawer, maybe > its easyer for parsers later) - getting the things out of the entries > and work with them on in any other way. (org-entry-get (point) "APPT") will get you the value of the property APPT in the current subtree. Same for other properties. As for more fine-grained parsing, start with (org-element-at-point) -- but beware this can lead to a long trip into the internals. You can also check: http://orgmode.org/worg/dev/org-syntax.html, by Nicolas, which gives a thorough introduction to Org syntax. > so if org-collector is a good way to see how it works, it would be very > useful for me. Please check it and let us know about your progress. Best, -- Bastien