From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.devel Subject: Re: enriched-mode problems Date: Sun, 19 Jun 2005 12:41:59 +0200 Message-ID: <87y89639xk.fsf@xs4all.nl> References: <20050615.070838.116346726.wl@gnu.org> <87u0jzsr9i.fsf@xs4all.nl> <87mzpqbk51.fsf@xs4all.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1119178455 20104 80.91.229.2 (19 Jun 2005 10:54:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Jun 2005 10:54:15 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 19 12:54:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DjxRM-0007r6-Jm for ged-emacs-devel@m.gmane.org; Sun, 19 Jun 2005 12:54:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DjxXM-0002dc-J3 for ged-emacs-devel@m.gmane.org; Sun, 19 Jun 2005 07:00:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DjxWf-0002Vm-UG for emacs-devel@gnu.org; Sun, 19 Jun 2005 06:59:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DjxWc-0002UE-Nf for emacs-devel@gnu.org; Sun, 19 Jun 2005 06:59:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DjxWc-0002OE-2Q for emacs-devel@gnu.org; Sun, 19 Jun 2005 06:59:38 -0400 Original-Received: from [194.109.24.26] (helo=smtp-vbr6.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DjxHw-0004q6-H7; Sun, 19 Jun 2005 06:44:28 -0400 Original-Received: from pijl (a80-127-67-124.adsl.xs4all.nl [80.127.67.124]) by smtp-vbr6.xs4all.nl (8.13.3/8.13.3) with ESMTP id j5JAg0JC072490; Sun, 19 Jun 2005 12:42:00 +0200 (CEST) (envelope-from Lute.Kamstra@xs4all.nl) Original-Received: from lute by pijl with local (Exim 3.36 #1 (Debian)) id 1DjxFX-0001Za-00; Sun, 19 Jun 2005 12:41:59 +0200 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Fri, 17 Jun 2005 00:38:50 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Original-Lines: 28 X-Virus-Scanned: by XS4ALL Virus Scanner X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:39106 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39106 Richard Stallman 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.