Thorsten Jolitz <tjol...@gmail.com> writes: >> I'm not sure about what you want to do with the parse tree. The usual >> function to work with it is `org-element-map'. You may want to have >> a look at its docstring, as it contains examples. > > I want to write an 'unusual' backend that does not need anything else > from the exporting framework but the parse-tree as a list.
Then you don't want the exporting framework at all, only org-element.el. Anyway I'm confused. The parse-tree _is_ a list. To convince yourself, evaluate the following in any Org buffer: (listp (org-element-parse-buffer)) > So all I need would be a workaround for this read-error issue, i.e. > a tip how to get a version of the parse tree that can be used as list > in a Lisp program. Have you tried (setq print-circle t) ? > I could not find any explanation for the '#1' and '#2' syntax I > encountered, so I don't really know what its all about. It is explained in the info link I gave you. Regards, -- Nicolas Goaziou