emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* LaTeX chunk makes .org file not in Org mode
@ 2018-11-14 11:54 Alain.Cochard
  2018-11-16  9:27 ` Eric S Fraga
  0 siblings, 1 reply; 4+ messages in thread
From: Alain.Cochard @ 2018-11-14 11:54 UTC (permalink / raw)
  To: emacs-orgmode


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: 
  %%% mode: latex
  %%% TeX-master: t
  %%% End: 

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

-- 
EOST (École et Observatoire des Sciences de la Terre) 
IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr
5 rue René Descartes   [bureau 106] | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France    | Fax:   +33 (0)3 68 85 01 25     

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-16 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-14 11:54 LaTeX chunk makes .org file not in Org mode Alain.Cochard
2018-11-16  9:27 ` Eric S Fraga
2018-11-16 12:28   ` Alain.Cochard
2018-11-16 16:32     ` Eric S Fraga

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).