* org file opened in latex mode when ending file w/ latex emacs signature
@ 2016-09-14 10:00 Giacomo M
2016-09-14 13:50 ` Nick Dokos
0 siblings, 1 reply; 2+ messages in thread
From: Giacomo M @ 2016-09-14 10:00 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
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?
Thanks,
Giacomo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: org file opened in latex mode when ending file w/ latex emacs signature
2016-09-14 10:00 org file opened in latex mode when ending file w/ latex emacs signature Giacomo M
@ 2016-09-14 13:50 ` Nick Dokos
0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2016-09-14 13:50 UTC (permalink / raw)
To: emacs-orgmode
Giacomo M <jackjackk@gmail.com> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-14 13:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-14 10:00 org file opened in latex mode when ending file w/ latex emacs signature Giacomo M
2016-09-14 13:50 ` Nick Dokos
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.