From: henry atting <nsmp_01@online.de>
To: "Jan Böcker" <jan.boecker@jboecker.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: org file containing different local variables
Date: Sat, 23 Jan 2010 15:07:22 +0100 [thread overview]
Message-ID: <87tyuc29ut.fsf@online.de> (raw)
In-Reply-To: <4B5A084A.9090800@jboecker.de> ("Jan Böcker"'s message of "Fri, 22 Jan 2010 21:19:22 +0100")
On Fr, Jan 22 2010, Jan Böcker wrote:
> 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?
Yes, that's fine for me; thanks!
henry
--
http://literaturlatenight.de
prev parent reply other threads:[~2010-01-23 14:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-22 16:17 org file containing different local variables henry atting
2010-01-22 20:19 ` Jan Böcker
2010-01-23 14:07 ` henry atting [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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tyuc29ut.fsf@online.de \
--to=nsmp_01@online.de \
--cc=emacs-orgmode@gnu.org \
--cc=jan.boecker@jboecker.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).