auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] Re: Copying local variables from the master file


From: Leo
Subject: [AUCTeX] Re: Copying local variables from the master file
Date: Fri, 24 Apr 2009 16:02:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On 2009-04-24 10:46 +0100, Rasmus Villemoes wrote:
> Hi there
>
> I use a couple of local variables for each project I'm working on. For
> small projects (which I decide are small enough to be in one file),
> simply adding the configuration to the Local Variables section works
> fine. However, for larger documents split into several files, it would
> be really nice if there was some way to automatically (or upon
> confirmation from the user) copy the local variables from the master
> file. It's stuff like
>
> %%% ispell-local-dictionary: "english"
> %%% TeX-command-default: "pdf"
>
> I'd like to copy to all files.  (The "pdf" is a homemade addition to
> the TeX-command-list). Is this possible?

Yes.

You can use directory variables, which is really nice. I use it on a few
projects.

(info "(emacs)Directory Variables")

Make sure you are running Emacs 23.

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .: I use Emacs :.

               www.git-scm.com
    git - the one true version control system





reply via email to

[Prev in Thread] Current Thread [Next in Thread]