* org file containing different local variables
@ 2010-01-22 16:17 henry atting
2010-01-22 20:19 ` Jan Böcker
0 siblings, 1 reply; 3+ messages in thread
From: henry atting @ 2010-01-22 16:17 UTC (permalink / raw)
To: emacs-orgmode
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.
henry
--
http://literaturlatenight.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org file containing different local variables
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
0 siblings, 1 reply; 3+ messages in thread
From: Jan Böcker @ 2010-01-22 20:19 UTC (permalink / raw)
To: henry atting; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org file containing different local variables
2010-01-22 20:19 ` Jan Böcker
@ 2010-01-23 14:07 ` henry atting
0 siblings, 0 replies; 3+ messages in thread
From: henry atting @ 2010-01-23 14:07 UTC (permalink / raw)
To: Jan Böcker; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-01-23 14:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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).