emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org file opened in latex mode when ending file w/ latex emacs si


From: Nick Dokos
Subject: Re: [O] org file opened in latex mode when ending file w/ latex emacs signature
Date: Wed, 14 Sep 2016 09:50:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Giacomo M <address@hidden> writes:

> Dear all,
>
> I tried to put at the end of an org document
>
> * eof :ignore:
>
> #+BEGIN_LaTeX
> %%% Local Variables:
> %%% mode: latex
> %%% TeX-master: t
> %%% End:
> #+END_LaTeX
>
> to have it at the end of the latex export so that if I open the tex 
> (e.g. for debugging) I can compile it directly (w/o the question on who 
> is the master).
>
> Oddly, when doing so, the org file is not anymore opened in org mode but 
> in latex mode instead.
>
> Why is that? Is it an expected behavior?
>

Yes: see

   (info "(emacs) Specifying file variables")

-- 
Nick




reply via email to

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