emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] org file containing different local variables


From: Jan Böcker
Subject: Re: [Orgmode] org file containing different local variables
Date: Fri, 22 Jan 2010 21:19:22 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091215 Shredder/3.0

On 22.01.2010 17:17, henry atting wrote:
>         
> An org file (it contains an explanation on using emacs distraction free
> for writing) lists on some places LaTeX Local Variables, eg:
> 
> %%% Local Variables: 
> %%% mode: latex
> %%% TeX-master: t
> %%% End: 
> 
> From then on Emacs does not open this file in org-mode but in
> latex-mode.
> Neiter setting Local Variables at the end to org (mode) does not change this
> behaviour nor if set at the beginning of the file.

How about changing the "Local Variables:" line such that it looks
slightly different to emacs, but means the same to LaTeX?

Would changing that line to
%%% Local\ Variables:
solve your problem?

HTH, Jan





reply via email to

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