File local variables in Emacs
<p>I edit a LaTeX file "file.tex" in Emacs+AUCTeX. It has file local variables set at the end of the file:</p>

<pre><code>%%% Local Variables:
%%% mode: latex
%%% coding: utf-8
%%% TeX-master: "file-main"
%%% End:
</code></pre>

<p>In this situation the master file's buffer fails to open when "file.tex" is loaded. But if I have:</p>

<pre><code>%%% Local Variables:
%%% mode: latex
%%% TeX-master: "file-main"
%%% End:
</code></pre>

<p>then the buffer "file-main" opens automatically as expected. </p>

<p>Anyone knows how to make Emacs open the master file when the "coding" is set?</p>