From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Variable settings in .emacs VS cross device portability. Date: Wed, 1 Feb 2012 15:17:16 +0000 Message-ID: <877h06twg3.fsf@ucl.ac.uk> References: <87k448y9gp.fsf@gmx.com> <87ehuf4rar.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RscAp-0005pw-KC for emacs-orgmode@gnu.org; Wed, 01 Feb 2012 10:32:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RscAj-0001gO-5M for emacs-orgmode@gnu.org; Wed, 01 Feb 2012 10:32:39 -0500 Received: from am1ehsobe002.messaging.microsoft.com ([213.199.154.205]:22069 helo=AM1EHSOBE002.bigfish.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RscAi-0001fb-UQ for emacs-orgmode@gnu.org; Wed, 01 Feb 2012 10:32:33 -0500 In-Reply-To: (Yu's message of "Wed, 1 Feb 2012 09:45:46 +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: Yu Cc: org-mode mailing list , Eric Schulte --=-=-= Content-Type: text/plain Hello all, 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 --=-=-= Content-Type: text/orgmode Content-Disposition: attachment; filename="examplebug.org" Content-Description: export variables ignored # -*- org-export-latex-tag-markup: "locally set: \\fbox{%s}"; -*- #+TITLE: examplebug.org #+AUTHOR: Eric S Fraga #+EMAIL: e.fraga@ucl.ac.uk #+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. --=-=-= Content-Type: text/plain -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1 : using Org-mode version 7.8.03 (release_7.8.03.285.g646b3) --=-=-=--