From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org file opened in latex mode when ending file w/ latex emacs signature
Date: Wed, 14 Sep 2016 09:50:50 -0400 [thread overview]
Message-ID: <87a8fa1tfp.fsf@gmail.com> (raw)
In-Reply-To: 027092d2-3658-0cd9-88ad-44727c7b8423@gmail.com
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
prev parent reply other threads:[~2016-09-14 13:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a8fa1tfp.fsf@gmail.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.