From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Org-element-put-property, bug? Date: Mon, 10 Sep 2018 18:57:44 +0200 Message-ID: <8736uh9to7.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzPW0-00020w-Ub for emacs-orgmode@gnu.org; Mon, 10 Sep 2018 12:58:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzPVU-0000ZV-NH for emacs-orgmode@gnu.org; Mon, 10 Sep 2018 12:57:53 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:38903) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fzPVU-0000XO-Fc for emacs-orgmode@gnu.org; Mon, 10 Sep 2018 12:57:48 -0400 In-Reply-To: (Ivan Tadeu Ferreira Antunes Filho's message of "Tue, 4 Sep 2018 15:23:19 -0400") 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: Ivan Tadeu Ferreira Antunes Filho Cc: emacs-orgmode@gnu.org Hello, Ivan Tadeu Ferreira Antunes Filho writes: > If I put a custom property in a headline, e.g. > (org-element-put-property headline :EXPORT_FILE_NAME "a") > > Then, when accessing the org element headline it shows: :EXPORT_FILE_NAME a > > However, when I proceed to interpret the data, > (org-element-interpret-data headline) > > The custom property does not exist in the properties drawer. Properties in headlines elements are just references to the real properties. Those are located in node properties elements within a property drawer element. > Is there a way of modifying custom properties of a headline by using > org-element, and have the custom properties show up when interpreting the > data? You can modify `property-drawer' and `node-property' elements instead. Regards, -- Nicolas Goaziou