Recently I ran into the problem when Emacs tried to interpret the Local Variables section in the "htmlized" file. I suggested to the author of htmlize.el to replace `Local Variables:' in the output by its HTML equivalent `Local Variables:' that Emacs doesn't recognize.
This method, to change the program that produces the file, is applicable in some cases. But I don't think it is applicable to diff. With a new special variable HTML mode could set it to a value that matches the Local Variables section only inside HTML comments, and such problems of mistakenly using a Local Variables section wouldn't occur in packages that convert files to other representations. Yes, that could work--if the variable gets set before Emacs looks for the local variable list. However, I am not sure a regexp is powerful enough to do the job for diff files. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel