[O] Circular lists/shared structures in org-element parse-tree

2013-06-28 Thread Thorsten Jolitz
Hi List, I wonder how I can find out in a (elisp) program the points in the parse tree (returned by org-element-parse-buffer) where shared structures are used. In the read-syntax, its easy to see (especially with `print-circle' set to non-nil): #+begin_src emacs-lisp #2=(org-data nil

Re: [O] Circular lists/shared structures in org-element parse-tree

2013-06-28 Thread Daimrod
Thorsten Jolitz tjol...@gmail.com writes: Hi List, I wonder how I can find out in a (elisp) program the points in the parse tree (returned by org-element-parse-buffer) where shared structures are used. In the read-syntax, its easy to see (especially with `print-circle' set to non-nil):

Re: [O] Circular lists/shared structures in org-element parse-tree

2013-06-28 Thread Thorsten Jolitz
Daimrod daim...@gmail.com writes: Thorsten Jolitz tjol...@gmail.com writes: [...] but when processing the parse tree as a list in elisp, how can I detect the fact that , | :parent #2# ` refers to ,- | #2=(org-data nil `-