From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alain.Cochard@unistra.fr Subject: LaTeX chunk makes .org file not in Org mode Date: Wed, 14 Nov 2018 12:54:18 +0100 Message-ID: <23532.3306.739620.803473@frac.u-strasbg.fr> Reply-To: alain.cochard@unistra.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMtkp-0004xs-0g for emacs-orgmode@gnu.org; Wed, 14 Nov 2018 06:54:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMtkd-00080f-5k for emacs-orgmode@gnu.org; Wed, 14 Nov 2018 06:54:38 -0500 Received: from smr1.u-strasbg.fr ([130.79.222.217]:38372 helo=mailhost.u-strasbg.fr) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gMtkW-0007ym-Ju for emacs-orgmode@gnu.org; Wed, 14 Nov 2018 06:54:25 -0500 Received: from local-mr.u-strasbg.fr (lmr3.u-strasbg.fr [172.30.21.3]) by smr1.u-strasbg.fr (Postfix) with ESMTP id B79FD60D67 for ; Wed, 14 Nov 2018 12:54:20 +0100 (CET) Received: from local-mr.u-strasbg.fr (localhost [127.0.0.1]) by antivirus (Postfix) with ESMTP id 8C79C270 for ; Wed, 14 Nov 2018 12:54:20 +0100 (CET) Received: from frac.u-strasbg.fr (frac.u-strasbg.fr [130.79.10.22]) (Authenticated sender: alain.cochard) by lmr3.u-strasbg.fr (Postfix) with ESMTPSA id 71E7BA9 for ; Wed, 14 Nov 2018 12:54:19 +0100 (CET) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hello. I guess this is normal, but I wanted to report it in case there is room for improvement: After inserting a latex file into an .org file, I ended up with the following part in the org file (which was an agenda file): %%% Local Variables:=20 %%% mode: latex %%% TeX-master: t %%% End:=20 Editing this file as an org file (in Org mode), as well as agenda operations, worked well for weeks until I had to restart emacs. It was then not instantaneous to me to find out why, suddenly, 'C-c a a' failed, whereas I had not changed anything... (with message: "Agenda file xxx.org is not in Org mode") It the issue could somehow be made apparent to the user right away (that is, when the chunk is inserted), it would be easier/faster to fix. Regards --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44=20 F-67084 Strasbourg Cedex, France | Fax: +33 (0)3 68 85 01 25 =20=