emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Programmatically handling org files
@ 2016-09-12 11:44 Joost Kremers
  2016-09-12 13:47 ` John Kitchin
  2016-09-12 18:21 ` Thorsten Jolitz
  0 siblings, 2 replies; 8+ messages in thread
From: Joost Kremers @ 2016-09-12 11:44 UTC (permalink / raw)
  To: org mode

Hi all,

I was wondering if there is some sort of (semi)official API for handling
org files programmatically. That's to say, is there a documented way for
non-org Emacs packages to manipulate (the contents of) org files?

Specifically, I'm wondering about creating and deleting entries (by
entries I mean headers with their contents), changing TODO state, moving
entries, that sort of thing.

Also, I was wondering if there's a way to hook into org-store-link. For
a particular major mode, I would like to be able to define what kind of
link is created when the user calls `org-store-link`. I looked at the
source of `org-store-link` and it looks like the answer is no, but I
thought I'd ask anyway. I could of course create the link myself and add
it to `org-stored-links` but that feels rather hackish and I suspect
will blow up in my face at some point in the future.

TIA


--
Joost Kremers
Life has its moments

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

end of thread, other threads:[~2016-09-12 22:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-12 11:44 Programmatically handling org files Joost Kremers
2016-09-12 13:47 ` John Kitchin
2016-09-12 21:59   ` Joost Kremers
2016-09-12 18:21 ` Thorsten Jolitz
2016-09-12 18:30   ` John Kitchin
2016-09-12 21:37     ` Joost Kremers
2016-09-12 21:22   ` Joost Kremers
2016-09-12 22:10   ` Nick Dokos

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