[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Org-element-put-property, bug?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Org-element-put-property, bug? |
Date: |
Mon, 10 Sep 2018 18:57:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Ivan Tadeu Ferreira Antunes Filho <address@hidden> 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