emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Parsing org-mode files
@ 2014-08-26 19:32 Steffen Heilmann
  2014-08-26 19:40 ` Eric S Fraga
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Heilmann @ 2014-08-26 19:32 UTC (permalink / raw)
  To: emacs-orgmode

Dear list members,

I would like to automatically parse the org-mode files within emacs and was wondering if somebody already had done something similar. My idea is to create objects (for example, one object for every **-entry, with attributes that cover the tags, and also one attribute that covers the body of the entry). In that way I would like to add things like comparing two org-mode files on a structural basis, and also add some further intelligence. Before I start writing something like this from scratch, I was wondering if anybody had done something similar or if perhaps hooks already exist within org-mode that I could use.


Best regards,

Steffen

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Parsing org-mode files
  2014-08-26 19:32 Parsing org-mode files Steffen Heilmann
@ 2014-08-26 19:40 ` Eric S Fraga
  0 siblings, 0 replies; 2+ messages in thread
From: Eric S Fraga @ 2014-08-26 19:40 UTC (permalink / raw)
  To: Steffen Heilmann; +Cc: emacs-orgmode

Steffen,

you should probably have a look at org-element.el which parses org files
and creates data structures along the lines of what you will need.

HTH,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.1, Org release_8.3beta-246-g77d0da

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-26 19:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-26 19:32 Parsing org-mode files Steffen Heilmann
2014-08-26 19:40 ` Eric S Fraga

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