From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.devel Subject: Re: enriched-mode problems Date: Wed, 15 Jun 2005 17:21:17 +0200 Message-ID: References: <20050615.070838.116346726.wl@gnu.org> <87u0jzsr9i.fsf@xs4all.nl> <87psunu1kl.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 1118849503 10957 80.91.229.2 (15 Jun 2005 15:31:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2005 15:31:43 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 15 17:31:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DiZrD-0005sR-0H for ged-emacs-devel@m.gmane.org; Wed, 15 Jun 2005 17:31:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DiZwR-0004yi-6X for ged-emacs-devel@m.gmane.org; Wed, 15 Jun 2005 11:36:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DiZv0-0004f6-QW for emacs-devel@gnu.org; Wed, 15 Jun 2005 11:35:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DiZur-0004a1-6U for emacs-devel@gnu.org; Wed, 15 Jun 2005 11:34:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DiZuq-0004U9-Kb for emacs-devel@gnu.org; Wed, 15 Jun 2005 11:34:56 -0400 Original-Received: from [134.96.7.25] (helo=triton.rz.uni-saarland.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DiZjM-0003IV-LZ for emacs-devel@gnu.org; Wed, 15 Jun 2005 11:23:05 -0400 Original-Received: from iwi-gate.iwi.uni-sb.de (iwi-gate.iwi.uni-sb.de [134.96.72.13]) by triton.rz.uni-saarland.de (8.12.10/8.12.10) with ESMTP id j5FFLSQw4120412; Wed, 15 Jun 2005 17:21:28 +0200 (CEST) Original-Received: from [134.96.72.190] (helo=neutrino.iwi.uni-sb.de) by iwi-gate.iwi.uni-sb.de with esmtp (Exim 4.43 (FreeBSD)) id 1DiZhd-000CtQ-QT; Wed, 15 Jun 2005 17:21:17 +0200 Original-Received: from angeli by neutrino.iwi.uni-sb.de with local (Exim 4.51) id 1DiZhd-000467-DE; Wed, 15 Jun 2005 17:21:17 +0200 Original-To: Lute Kamstra In-Reply-To: <87psunu1kl.fsf@xs4all.nl> (Lute Kamstra's message of "Wed, 15 Jun 2005 16:39:06 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-IWi-MailScanner-Information: Please contact the ISP for more information X-IWi-MailScanner: Found to be clean X-IWi-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5, autolearn=disabled) X-MailScanner-From: angeli@iwi.uni-sb.de X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.1 (triton.rz.uni-saarland.de [134.96.7.25]); Wed, 15 Jun 2005 17:21:28 +0200 (CEST) X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.31.0.5; VDF 6.31.0.60 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:38889 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38889 * Lute Kamstra (2005-06-15) writes: > Ralf Angeli writes: > >> I'd prefer a way where it is possible to define explicitely if the >> mode should be turned on or off. > > Could you give an example of a situation where it would be useful to > turn a minor mode off for a certain file? For example in case of LaTeX files in connection with AUCTeX. AUCTeX allows you to switch between DVI and PDF output by means of a minor mode. Now if your user preference is to have PDF output you'd activate the PDF minor mode globally for all LaTeX files. But there may be files which cannot be compiled with PDFLaTeX in PDF mode. For these files you have to disable the PDF minor mode somehow. I can imagine that there may be other examples with minor modes like Auto Fill mode where you normally have it enabled when editing a file in Text mode, but where you occasionally have to deal with files in Text mode where Auto Fill mode should be turned off because long lines have to stay intact. I don't have a concrete example here, though. -- Ralf