Is there any way to open an emacs file so that all local variables definitions are ignored? I often use local variables into tex
documents to fix root documents, dictionaries, etc. Sometimes I need to compile some document ignoring these variables.
For example, in a TeX document, I have
%% Local Variables:
%% TeX-master: t
%% End:
Sometimes I'd like to ignore that because, for example, I don't want to treat the file as a master file.
default-directory
and all of your buffer-local minor modes. I suspect you only need to ignore some subset and that you should target that subset explicitly. Which variables do you need to ignore, and in which circumstances? Is it just forM-x compile
?