> Please, tell me how to express this action correctly in emacs dialect.That would be `C-c C-e l o'.
Why do you think this is dangerous? Because of the `-shell-escape'?
> But I am happy to tell you that I have understood this morning the cause of
> my problem. I had in my init.el the following dangerous lines:
>
> ;; Let the exporter use the -shell-escape option to let latex
> ;; execute external programs.
> ;; This obviously and can be dangerous to activate!
> (setq org-latex-pdf-process
> '("xelatex -shell-escape -interaction nonstopmode -output-directory %o %f"))
Without it you will not get source code highlighting (with minted).
Also -shell-escape is not as dangerous as it seems. It can be only if
somehow you have a malicious/buggy package in your texlive installation,
and you happen to use in your TeX source.