emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Invalid read syntax (#) in org-element parse tree
Date: Tue, 12 Feb 2013 21:56:43 +0100	[thread overview]
Message-ID: <878v6t5jzo.fsf@gmail.com> (raw)
In-Reply-To: 87fw115kfc.fsf@gmail.com

Thorsten Jolitz <tjolitz@gmail.com> 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

      reply	other threads:[~2013-02-12 20:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-11 18:29 Invalid read syntax (#) in org-element parse tree Thorsten Jolitz
2013-02-11 21:47 ` Nicolas Goaziou
2013-02-11 23:20   ` Thorsten Jolitz
2013-02-12 19:41     ` Nicolas Goaziou
2013-02-12 20:47       ` Thorsten Jolitz
2013-02-12 20:56         ` Thorsten Jolitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878v6t5jzo.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).