>>> "IR" == Ihor Radchenko <yanta...@posteo.net> writes:

> Uwe Brauer <o...@mat.ucm.es> writes:
>> I have a org file containing the lines
>> 
>> #+begin_src 
>> %%% Local Variables:
>> %%% mode: LaTeX
>> %%% TeX-master: t
>> %%% End:
>> #+end_src
>> 
>> When I close and reopen the file the buffer is now in LaTeX mode, so the
>> src block was not recognised  as src block? Is this a bug?

> No, this is expected Emacs's behavior. Check out 51.2.4 Local Variables
> in Files section of Emacs manual.

> You may probably provide a dummy local variable block to suppress
> processing the one inside your src block.


I thought the *begin_src* 
would emacs/org-mode tell not to evaluate the local variable setting,
but tit seems that is not the case,


So easiest fix, is to have the following first line:
# -*-org-*-


In the file

-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
Stop the war in Gaza, guarantee humanitarian aid, and bring the hostages back
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to