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 21:08:58 +0100 Message-ID: <80aa52tixx.fsf@somewhere.org> References: <87k448y9gp.fsf@gmx.com> <87ehuf4rar.fsf@ucl.ac.uk> <877h06twg3.fsf@ucl.ac.uk> <80mx92tpoe.fsf@somewhere.org> <8739aumkas.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: > Sebastien Vauban writes: > >> 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... > > Thanks for the confirmation. At least I am not going completely crazy > ;-) > > Does the local variable setting defined in the file take effect before > you export? After saving your file to disk, and opening it: =E2=94=8F=E2=94=81=E2=94=81=E2=94=81=E2=94=81 =E2=94=83 org-export-latex-tag-markup is a variable defined in `org-lat= ex.el'. =E2=94=83 Its value is "locally set: \\fbox{%s}" =E2=94=83 Original value was "\\textbf{%s}" =E2=94=83 Local in buffer examplebug.org; global value is=20 =E2=94=83 "" =E2=94=83=20 =E2=94=83 This variable is a file local variable. =E2=94=97=E2=94=81=E2=94=81=E2=94=81=E2=94=81 After exporting it to LaTeX, answering yes to the question about allowing to BIND variables: =E2=94=8F=E2=94=81=E2=94=81=E2=94=81=E2=94=81 =E2=94=83 org-export-latex-tag-markup is a variable defined in `org-lat= ex.el'. =E2=94=83 Its value is "bound: \\fbox{%s}" =E2=94=83 Original value was "\\textbf{%s}" =E2=94=83 Local in buffer examplebug.org; global value is=20 =E2=94=83 "" =E2=94=97=E2=94=81=E2=94=81=E2=94=81=E2=94=81 So, yes to your above question... Best regards, Seb --=20 Sebastien Vauban