Thorsten Jolitz <tjol...@gmail.com> writes: > Nicolas Goaziou <n.goaz...@gmail.com> writes:
> Thanks, the 'plain-text type was what I missed. I used > > #+begin_src emacs-lisp > (append '(org-data) > org-element-all-elements > org-element-all-objects) > #+end_src > > as types for mapping, but need to add '(plain-text) to the types to access > those :parent properties inside text-strings. You don't need `org-data' type. The tree root doesn't have any property anyway. > My use case is to turn a parse tree that is a circular list into a regular > list, and it seems that I achieved it now, e.g. using your minimal example [...] > I have a special use for this, but maybe this can be useful in other > cases too, e.g. when people want to operate directly on the parse-tree > and find it more difficult to handle circular-lists than 'normal' > lists. I don't know why you would want that nor why it would make things easier, but as long as it suits you, that's fine. Regards, -- Nicolas Goaziou