From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joost Kremers Subject: Re: Programmatically handling org files Date: Mon, 12 Sep 2016 23:37:15 +0200 Message-ID: <87r38odcl0.fsf@fastmail.fm> References: <87twdlcpg8.fsf@fastmail.fm> <87fup5f07e.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjYuz-0001uq-Ak for emacs-orgmode@gnu.org; Mon, 12 Sep 2016 17:37:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjYuv-0000kD-1B for emacs-orgmode@gnu.org; Mon, 12 Sep 2016 17:37:32 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:36200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjYus-0000h8-Nv for emacs-orgmode@gnu.org; Mon, 12 Sep 2016 17:37:28 -0400 In-reply-to: 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" To: John Kitchin Cc: "emacs-orgmode@gnu.org" , Thorsten Jolitz On Mon, Sep 12 2016, John Kitchin wrote: > indeed! Maybe I misunderstood the OP. > > You can find more on the API here: > > http://orgmode.org/worg/dev/org-element-api.html > > There are also a bunch of functions to do other things, e.g. > > (org-todo) (org-cut-subtree) (org-entry-put) and many others > > that let you change properties of headings, cut them, etc... > > These are documented in the org code. The best way to learn how to use them > is to reverse engineer how you would make the change you want manually, > e.g. which keys do you press, then use C-h k on those keys to see what > commands get run. Yes, I've been doing that and I've arrived at something that works, just wasn't sure it was the Right Way™. :-) -- Joost Kremers Life has its moments