emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: enriched-mode problems


From: Lute Kamstra
Subject: Re: enriched-mode problems
Date: Sun, 19 Jun 2005 12:41:59 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]