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 21:56:43 +0100 Message-ID: <878v6t5jzo.fsf@gmail.com> References: <87vc9ybt65.fsf@gmail.com> <87fw12cyka.fsf@gmail.com> <87r4kmbfon.fsf@gmail.com> <87zjz99v6j.fsf@gmail.com> <87fw115kfc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5MuR-0006OB-Pn for emacs-orgmode@gnu.org; Tue, 12 Feb 2013 15:57:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5MuO-0001fV-8v for emacs-orgmode@gnu.org; Tue, 12 Feb 2013 15:56:59 -0500 Received: from plane.gmane.org ([80.91.229.3]:58353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5MuO-0001f9-3A for emacs-orgmode@gnu.org; Tue, 12 Feb 2013 15:56:56 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U5Mue-00066G-Cg for emacs-orgmode@gnu.org; Tue, 12 Feb 2013 21:57:12 +0100 Received: from e178056063.adsl.alicedsl.de ([85.178.56.63]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Feb 2013 21:57:12 +0100 Received: from tjolitz by e178056063.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Feb 2013 21:57:12 +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 Thorsten Jolitz writes: [continuation, prior message sent unfinished by accident] > but with your other hints, I now understand the problem. I wanted to see > how the parse tree looks like, so I printed it out (I did not know about > the existance of 'print-circle' then, but it was set to nil). Then I > tried to experiment with the printed representation, but the #1 syntax > gave me an error. > > When I set 'print-circle' to t, the printed result looks like described > in the info page, with elements like > > [...] :parent #66#)))) #67=(headline [...] So it was all about the difference between printed representation and the actual list object, and the special syntax when 'print-circle' is nil that I could not find in the manual. Thanks for the tips, I have to read more about circular lists in Emacs Lisp, ,first time I see them in action. -- cheers, Thorsten