From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: [PATCH] ox-latex: Add scrartcl LaTeX class Date: Wed, 23 Sep 2015 14:27:05 -0400 Message-ID: References: <87zj0fd07u.fsf@nicolasgoaziou.fr> <87vbb1ngqc.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeolL-0003eq-E1 for emacs-orgmode@gnu.org; Wed, 23 Sep 2015 14:27:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZeolK-0006So-Co for emacs-orgmode@gnu.org; Wed, 23 Sep 2015 14:27:27 -0400 Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]:33062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeolK-0006Si-4y for emacs-orgmode@gnu.org; Wed, 23 Sep 2015 14:27:26 -0400 Received: by oixx17 with SMTP id x17so28841876oix.0 for ; Wed, 23 Sep 2015 11:27:25 -0700 (PDT) In-Reply-To: <87vbb1ngqc.fsf@ucl.ac.uk> 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: Sebastian Boehm , emacs-orgmode Mailinglist On Wed, Sep 23, 2015 at 2:16 PM, Eric S Fraga wrote: > On Wednesday, 23 Sep 2015 at 18:59, Sebastian Boehm wrote: >> Hi Nicolas, >> >> On 21 September 2015 at 21:46, Nicolas Goaziou wrote: >>> But can't users needing a non-default class customize their >>> own `org-latex-classes? Or is there an entitling reason to offer it out >>> of the box? >> >> you are of course right; users can always customise their own setup. >> However, when sharing Org files with other people this kind of tight >> coupling between the Org file and the user's Emacs configuration can >> become quite problematic. > > Yes, this is a real problem. > > One solution, but not an ideal one, is to use file local variables to > define org-latex-classes (and any other variables) as appropriate for > the document. It's not ideal because unfortunately most of org's > variables (as well as many of emacs's own) are "global" and hence affect > the functionality of org visiting other buffers. I find myself having > separate emacs instances for some org files for this reason. Doesn't "setq-local" solve this problem? > > I had thought that maybe using #+bind: would solve this problem but the > export engine looks for the LaTeX class before binding takes effect. > > -- > : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-270-g256fef >