Hello,
Vitalie Spinu writes:
> Is there an idiomatic way to do this? Like constructors of org elements?
> Or, one just starts with an empty '(headline) list
You can even start with '(org-data nil).
> and populate it with org-element-set-contents and
> org-element-put-property?
I would use `or
>>> Nicolas Goaziou on Sat, 01 Mar 2014 22:02:55 +0100 wrote:
[...]
> In this case, I think I would build the tree, since data is duplicated
> (e.g. "* H1"), not moved.
Is there an idiomatic way to do this? Like constructors of org elements?
Or, one just starts with an empty '(headline) list
Vitalie Spinu writes:
> Thanks Nocolas. I need to copy only a subtree associated with a
> headline. In a nutshell I need to "flatten" the tree of headlines for
> the csv type exporter. That is, I need to replicate the parent headlines
> across the children. For example
>
>* H1
> bla
>>> Nicolas Goaziou on Sat, 01 Mar 2014 12:36:30 +0100 wrote:
> Hello,
> Vitalie Spinu writes:
>> Is there an easy way to copy org sub-tree in :filter-parse-tree?
>>
>> The structure of the parsed tree is somewhat complicated with recursive
>> references to parents in multiple places. So
Hello,
Vitalie Spinu writes:
> Is there an easy way to copy org sub-tree in :filter-parse-tree?
>
> The structure of the parsed tree is somewhat complicated with recursive
> references to parents in multiple places. So, copy-tree infloops.
This is not really an answer to your question, but do y
Thorsten Jolitz writes:
> Vitalie Spinu writes:
>
>> Is there an easy way to copy org sub-tree in :filter-parse-tree?
>>
>> The structure of the parsed tree is somewhat complicated with recursive
>> references to parents in multiple places. So, copy-tree infloops.
>
> You will get a better answe
Vitalie Spinu writes:
> Is there an easy way to copy org sub-tree in :filter-parse-tree?
>
> The structure of the parsed tree is somewhat complicated with recursive
> references to parents in multiple places. So, copy-tree infloops.
You will get a better answer most likely, but with (org-no-prop
Hi,
Is there an easy way to copy org sub-tree in :filter-parse-tree?
The structure of the parsed tree is somewhat complicated with recursive
references to parents in multiple places. So, copy-tree infloops.
Thanks,
Vitalie