From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-element Date: Fri, 24 May 2013 20:26:46 +0200 Message-ID: <87hahs6xp5.fsf@gmail.com> References: <87ppwh466a.fsf@tanger.home> <871u8w8tk0.fsf@gmail.com> <87mwrktj9s.fsf@tanger.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfwhS-0007T0-4y for emacs-orgmode@gnu.org; Fri, 24 May 2013 14:26:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfwhP-0006WV-QY for emacs-orgmode@gnu.org; Fri, 24 May 2013 14:26:46 -0400 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:38523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfwhP-0006WG-IL for emacs-orgmode@gnu.org; Fri, 24 May 2013 14:26:43 -0400 Received: by mail-wg0-f49.google.com with SMTP id y10so2854427wgg.28 for ; Fri, 24 May 2013 11:26:42 -0700 (PDT) In-Reply-To: <87mwrktj9s.fsf@tanger.home> (daimrod@gmail.com's message of "Fri, 24 May 2013 18:49:51 +0200") 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: Daimrod Cc: emacs-orgmode@gnu.org Daimrod writes: > Nicolas Goaziou writes: > >> See `org-element-put-property' and friends. > > I've tried to use `org-element-put-property' but it only modifies the > object in memory, not the element in the file. Is there a way to write > the object into a file? I misread your question. "org-element.el" doesn't provide functions to modify the buffer, but you may use `org-element-interpret-data' to create Org syntax from an object. You may also want to have a look at org-sync.el. Regards, -- Nicolas Goaziou