auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Local Variable ignored


From: Tassilo Horn
Subject: Re: [AUCTeX] Local Variable ignored
Date: Wed, 22 Aug 2012 21:55:31 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)

NOGUET Dominique <address@hidden> writes:

Hi Dominique,

> In order to specify a master file, I'm using local variables. That is:
> I have (setq-default TeX-master nil) in my xemacs init file, and

Why do you set the default value from its standard setting?  I also use
local variables with multifile docs, and the standard setting 'dwim
doesn't hinder you from doing so.

> %%% Local Variables:
> %%% mode: latex
> %%% TeX-master: "hdr"
> %%% End:
>
> at the end of the child files. When I open the file and check the
> value of TeX-master variable (M-? v), the value is nil.
> It looks like my local variable is invisible for Auctex when it parses
> the file.

AUCTeX doesn't do anything with local variables.  That's an Emacs
feature.

> Any clue? I miss this multifile feature that I used to work with in
> earlier versions of xemacs/auctex.

Sorry, all I can say is that it works just fine for me with GNU Emacs
24, AUCTeX from CVS on GNU/Linux.  I'd suggest that you test if local
variables work at all, e.g., try setting things like tab-width with it.
If that doesn't work too, then it's surely not an AUCTeX issue.

> (setq
>      TeX-master "hdr"

Huh?  What's that good for?  That sets the buffer local value of
TeX-master in the elisp file that contains that code.  That doesn't make
sense...

Bye,
Tassilo




reply via email to

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