Richard Stallman <[EMAIL PROTECTED]> writes: > > It might be useful to find a way to arrange a warning when files use > > Mode: or -*-...-*- to specify minor modes. > > In general, there are examples of minor modes (Ralf and David gave an > example) for which it is useful to turn them on (or off) for a certain > file because of the _contents_ of that file. So it would be nice to > have a mechanism to do this. > > I don't understand what the scenario would be. Why would those > minor modes be on, in the first place, in these files?
[Maybe Ralf or David can correct me if I'm wrong, but this is how I understand the situation.] AUCTeX provides a major mode for editing LaTeX file. Normally, you can generate both dvi files and pdf files from a LaTeX source file. AUCTeX provides a minor mode that lets you select the output format. You can customize this minor mode to a default that reflects your preferred output format. Some LaTeX files use certain features that are incompatible with one of the output formats so that only one possible output format remains. It would be nice then if the file could set (either on or off) the minor mode that selects the output format. Lute. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel