From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Invalid read syntax (#) in org-element parse tree Date: Tue, 12 Feb 2013 00:20:56 +0100 Message-ID: <87r4kmbfon.fsf@gmail.com> References: <87vc9ybt65.fsf@gmail.com> <87fw12cyka.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U52gP-0000JO-V8 for emacs-orgmode@gnu.org; Mon, 11 Feb 2013 18:21:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U52gO-0000lR-7H for emacs-orgmode@gnu.org; Mon, 11 Feb 2013 18:21:09 -0500 Received: from plane.gmane.org ([80.91.229.3]:51786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U52gO-0000lE-1f for emacs-orgmode@gnu.org; Mon, 11 Feb 2013 18:21:08 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U52gf-00013Y-2J for emacs-orgmode@gnu.org; Tue, 12 Feb 2013 00:21:25 +0100 Received: from g231224149.adsl.alicedsl.de ([92.231.224.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Feb 2013 00:21:25 +0100 Received: from tjolitz by g231224149.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Feb 2013 00:21:25 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nicolas Goaziou writes: Hello, > 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. 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. I could not find any explanation for the '#1' and '#2' syntax I encountered, so I don't really know what its all about. -- cheers, Thorsten