From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Variable settings in .emacs VS cross device portability. Date: Wed, 01 Feb 2012 18:43:29 +0100 Message-ID: <80mx92tpoe.fsf@somewhere.org> References: <87k448y9gp.fsf@gmx.com> <87ehuf4rar.fsf@ucl.ac.uk> <877h06twg3.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Eric, Eric S Fraga wrote: > herewith is a minimal example that illustrates the problem I have with > exporting and file local variables. The attached file re-defines > org-export-latex-tag-markup to use a box instead of bold for tags. When > I visit the file, Emacs does indeed set the variable to what I > want. However, this setting is ignored on export. > > Actually, in this case, the BIND is also ignored on export even though > the variable does change to the specified value after export! > > I am very confused, to say the least. *How* can I get file local > behaviour when exporting with org? Am I doing something silly > somewhere? (highly likely given my past track record ;-) Do others see > different behaviour? > > I'm up to date (as of this morning) with org and latest emacs as of last > week. > > Thanks, > eric > > > # -*- org-export-latex-tag-markup: "locally set: \\fbox{%s}"; -*- > #+TITLE: examplebug.org > #+AUTHOR: Eric S Fraga > #+EMAIL: e.fraga-hclig2XLE9Zaa/9Udqfwiw@public.gmane.org > #+DATE: 2012-01-09 Mon > > #+bind: org-export-latex-tag-markup "bound: \\fbox{%s}" > > * Formatting tags :example: > When exporting, the default is to put tags in bold. I want a box around them. I almost never play(ed) with local variables and bind variables, but I wanted to confirm what you see: the local variable is the one set by your bind; but it has no impact on the exported LaTeX file... Best regards, Seb -- Sebastien Vauban