From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [new exporter] is #+bind supported? Date: Wed, 6 Mar 2013 08:51:38 +0000 Message-ID: <87r4jsykpx.fsf@ucl.ac.uk> References: <874ngq7wsq.fsf@pinto.chemeng.ucl.ac.uk> <8738w9ts9t.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDAt8-0006Au-OU for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 04:43:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDAt6-0006RP-9P for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 04:43:54 -0500 Received: from va3ehsobe001.messaging.microsoft.com ([216.32.180.11]:20428 helo=va3outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDAt6-0006RF-5q for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 04:43:52 -0500 In-Reply-To: <8738w9ts9t.fsf@gmail.com> (Nicolas Goaziou's message of "Tue, 5 Mar 2013 23:07:26 +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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: [...] > Bind keywords are supported. Unfortunately, `org-latex-pdf-process' is > not bind-able. > > BIND variables are set as buffer-local variables in the buffer where the > transcoding takes place. So, they affect the way the current buffer is > changed into LaTeX code. > > However, `org-latex-pdf-process' is used during post-processing, i.e. > after transcoding is over. At this time, the buffer where local > variables were set has disappeared already. Okay, I see how this works. Thanks for the explanation. Would it not be possible to set the bound variables for the latex buffer as well? Or does that open up a can of worms? Just curious. > If you need to change the value of `org-latex-pdf-process', use a file > local variable in the current buffer instead. Yes, that works. I prefer bind as it doesn't clutter up my emacs customisation with listings of "safe" local variables but so be it. Thanks, eric -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org release_7.9.3f-1199-g3a0e55