From mboxrd@z Thu Jan 1 00:00:00 1970 From: henry atting Subject: Re: org file containing different local variables Date: Sat, 23 Jan 2010 15:07:22 +0100 Message-ID: <87tyuc29ut.fsf@online.de> References: <877hraqfll.fsf@online.de> <4B5A084A.9090800@jboecker.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NYgbv-0006yJ-Eq for emacs-orgmode@gnu.org; Sat, 23 Jan 2010 09:05:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NYgbp-0006vo-Jj for emacs-orgmode@gnu.org; Sat, 23 Jan 2010 09:05:09 -0500 Received: from [199.232.76.173] (port=33145 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NYgbo-0006vN-TU for emacs-orgmode@gnu.org; Sat, 23 Jan 2010 09:05:04 -0500 Received: from moutng.kundenserver.de ([212.227.17.10]:55762) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NYgbo-0000Ti-0t for emacs-orgmode@gnu.org; Sat, 23 Jan 2010 09:05:04 -0500 In-Reply-To: <4B5A084A.9090800@jboecker.de> ("Jan =?utf-8?Q?B=C3=B6cker=22?= =?utf-8?Q?'s?= message of "Fri, 22 Jan 2010 21:19:22 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jan =?utf-8?Q?B=C3=B6cker?= Cc: emacs-orgmode@gnu.org On Fr, Jan 22 2010, Jan B=C3=B6cker wrote: > On 22.01.2010 17:17, henry atting wrote: >>=20=20=20=20=20=20=20=20=20 >> An org file (it contains an explanation on using emacs distraction free >> for writing) lists on some places LaTeX Local Variables, eg: >>=20 >> %%% Local Variables:=20 >> %%% mode: latex >> %%% TeX-master: t >> %%% End:=20 >>=20 >> 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 --=20 http://literaturlatenight.de