[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] special table from clock
From: |
Bastien |
Subject: |
Re: [O] special table from clock |
Date: |
Thu, 20 Mar 2014 22:56:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Hi Martin,
Martin <address@hidden> 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