emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Jan Böcker" <jan.boecker@jboecker.de>
To: henry atting <nsmp_01@online.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: org file containing different local variables
Date: Fri, 22 Jan 2010 21:19:22 +0100	[thread overview]
Message-ID: <4B5A084A.9090800@jboecker.de> (raw)
In-Reply-To: <877hraqfll.fsf@online.de>

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	other threads:[~2010-01-22 20:20 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 [this message]
2010-01-23 14:07   ` henry atting

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=4B5A084A.9090800@jboecker.de \
    --to=jan.boecker@jboecker.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=nsmp_01@online.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).