From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [Exporter] How to save 'info' plist for later use? Date: Wed, 10 Jul 2013 08:17:03 -0400 Message-ID: <87vc4i1uf4.fsf@gmail.com> References: <87a9lur8d0.fsf@gmail.com> <8761wir623.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwtKm-00080i-B7 for emacs-orgmode@gnu.org; Wed, 10 Jul 2013 08:17:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwtKh-00066S-NO for emacs-orgmode@gnu.org; Wed, 10 Jul 2013 08:17:24 -0400 Received: from plane.gmane.org ([80.91.229.3]:58393) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwtKh-00066G-Gu for emacs-orgmode@gnu.org; Wed, 10 Jul 2013 08:17:19 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UwtKg-00066w-0H for emacs-orgmode@gnu.org; Wed, 10 Jul 2013 14:17:18 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Jul 2013 14:17:18 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Jul 2013 14:17:18 +0200 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: > Thorsten Jolitz 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