bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#70409: 30.0.50; `latexenc-find-file-coding-system` uses `TeX-master`


From: Stefan Monnier
Subject: bug#70409: 30.0.50; `latexenc-find-file-coding-system` uses `TeX-master` before we know it's safe
Date: Tue, 16 Apr 2024 08:53:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

> Is it correct for latexenc-find-file-coding-system to use
> find-file-noselect for this purpose?

That's another question.  My question is instead whether it's safe for
`latexenc-find-file-coding-system` to use the `TeX-master` setting in
foo.tex`.  I can imagine cases where that setting could be dangerous
because it tricks the users into accessing a file they shouldn't access.

> Is it really guaranteed that safe local variables will never cause
> similar problems?

No, but at least it gives the users a standard way to control whether to
consider it safe or not.


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]