[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] question on org-element-interpret-data and when it works
From: |
Thorsten Jolitz |
Subject: |
Re: [O] question on org-element-interpret-data and when it works |
Date: |
Sat, 03 Mar 2018 14:02:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
Hello,
> Thorsten Jolitz <address@hidden> writes:
>
>> (funny enough, some org elements have 'value' as their content, others
>> 'content').
>
> Could you point out where there is such discrepancy in "org-element.el"?
I have defined these two constants in org-dp.el to work around this
discrepancy (and to know which elements do not have interpreted content
at all):
,----
| (defconst org-dp-no-content-elems
| (list 'babel-call 'clock 'comment 'comment-block 'diary-sexp
| 'example-block 'fixed-width 'horizontal-rule 'keyword
| 'latex-environment 'node-property 'planning 'src-block)
| "List of Org elements without interpreted .")
|
| (defconst org-dp-value-blocks
| (list 'comment-block 'example-block 'src-block)
| "List of Org block that have a :value instead of contents.")
`----
PS
should probably read "... without interpreted content" in the first
defconst
--
cheers,
Thorsten