File local variables in Emacs

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

%%% Local Variables:
%%% mode: latex
%%% coding: utf-8
%%% TeX-master: "file-main"
%%% End:

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

%%% Local Variables:
%%% mode: latex
%%% TeX-master: "file-main"
%%% End:

then the buffer "file-main" opens automatically as expected.

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

链接地址: http://www.djcxy.com/p/33404.html

上一篇: 如何在LaTeX表格中包装文字?

下一篇: 在Emacs中文件局部变量