emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [Exporter] How to save 'info' plist for later use?
Date: Wed, 10 Jul 2013 08:17:03 -0400	[thread overview]
Message-ID: <87vc4i1uf4.fsf@gmail.com> (raw)
In-Reply-To: 8761wir623.fsf@gmail.com

Thorsten Jolitz <tjolitz@gmail.com> writes:

> Thorsten Jolitz <tjolitz@gmail.com> writes:
>
> PS
>
>> How could I get my hands on the 'info' plist during the buffer parsing
>> and save it for later use in calls like
>
> As far as I understand it, the 'info' plist is actually dynamically
> created and modified in various stages of the export process. 
>
> So what I really mean is probably: 
>
> How could I get my hands on an 'info-like' plist that contains all the
> tree and options information available at the moment a buffer is parsed
> with `org-element-parse-buffer' - and save it for later use?

edebug-defun org-element-parse-buffer, do whatever is necessary for it
to get called, and when it stops, evaluate it with ``e'' or switch to *scratch*
and save it in your own variable:

(setq thorsten-info info)

-- 
Nick

  reply	other threads:[~2013-07-10 12:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-10 10:56 [Exporter] How to save 'info' plist for later use? Thorsten Jolitz
2013-07-10 11:34 ` Robert Klein
2013-07-10 12:21   ` Thorsten Jolitz
2013-07-10 15:41     ` Eric Abrahamsen
2013-07-10 11:46 ` Thorsten Jolitz
2013-07-10 12:17   ` Nick Dokos [this message]
2013-07-10 12:30     ` Thorsten Jolitz
2013-07-10 13:59       ` Jambunathan K
2013-07-10 15:33         ` Thorsten Jolitz
2013-07-10 15:40       ` Eric Abrahamsen
2013-07-10 16:57         ` Thorsten Jolitz
2013-07-10 17:16           ` Jambunathan K

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=87vc4i1uf4.fsf@gmail.com \
    --to=ndokos@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).