From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas S. Dye Subject: Re: [PATCH] ox-latex: Add scrartcl LaTeX class Date: Wed, 23 Sep 2015 08:28:30 -1000 Message-ID: References: <87zj0fd07u.fsf@nicolasgoaziou.fr> <87vbb1ngqc.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zeomg-0004Ll-MJ for emacs-orgmode@gnu.org; Wed, 23 Sep 2015 14:28:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zeomd-0006t2-D2 for emacs-orgmode@gnu.org; Wed, 23 Sep 2015 14:28:50 -0400 Received: from gproxy2-pub.mail.unifiedlayer.com ([69.89.18.3]:57208) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Zeomd-0006sk-4X for emacs-orgmode@gnu.org; Wed, 23 Sep 2015 14:28:47 -0400 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: Eric S Fraga Cc: emacs-orgmode@gnu.org, Sebastian Boehm Hi Eric, Eric S Fraga writes: > 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. I've noticed this, too, but never investigated. Is there some way to know which variables are "global" and which can be set "locally"? Also, (completely naively) is it difficult to make "global" variables "local", or is it something simple, like making a function interactive? All the best, Tom -- Thomas S. Dye http://www.tsdye.com