From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gebser@ameritech.net Newsgroups: gmane.emacs.help Subject: Re: Per-File Auto fill mode? Date: Thu, 1 May 2003 10:01:00 -0400 (EDT) Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: gebser@ameritech.net NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1051798142 18296 80.91.224.249 (1 May 2003 14:09:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 1 May 2003 14:09:02 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 01 16:09:00 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19BEji-0004jK-00 for ; Thu, 01 May 2003 16:08:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19BEg2-0002Dy-01 for gnu-help-gnu-emacs@m.gmane.org; Thu, 01 May 2003 10:04:46 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19BEfl-0002Ba-00 for help-gnu-emacs@gnu.org; Thu, 01 May 2003 10:04:29 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19BEfk-0002AK-00 for help-gnu-emacs@gnu.org; Thu, 01 May 2003 10:04:28 -0400 Original-Received: from mailhost2-bcvloh.bcvloh.ameritech.net ([66.73.20.44] helo=mailhost.bcv2.ameritech.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19BEXu-00005q-00 for help-gnu-emacs@gnu.org; Thu, 01 May 2003 09:56:22 -0400 Original-Received: from mailhost.bcv2.ameritech.net by mailhost.bcv2.ameritech.net convert rfc822-to-8bit; Thu, 1 May 2003 09:56:21 -0400 Original-Received: from heidegger.mousecar.net ([68.76.84.63]) by mailhost.bcv2.ameritech.net (InterMail vM.4.01.02.17 201-229-119) with ESMTP <20030501135620.IOAE17758.mailhost.bcv2.ameritech.net@heidegger.mousecar.net>; Thu, 1 May 2003 09:56:20 -0400 Original-Newsgroups: gnu.emacs.help Original-To: Oliver Scholz In-Reply-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9121 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9121 At 16:53 (UTC+0200) on Mon, 28 Apr 2003 Oliver Scholz said: =3D gebser@ameritech.net writes: =3D = =3D > Thanks much, Oliver, =3D > =3D > I was just wondering how to do this very thing, so you've helped tw= ice. = =3D > However, I want to use outline mode and turn off auto-fill. I've g= ot = =3D > the first part, but not the second, i.e., =3D > =3D > % -*- mode: outline; auto-fill nil; -*- =3D = =3D [The leading =E2=80=9C%=E2=80=9D is a comment-char, it is necessary o= nly for =3D LaTeX-files.] The "%" (percent) character. Understood. Thanks. =3D = =3D Well, the line I posted earlier actually _toggles_ auto-fill-mode, so= =3D if your have it normally turned _off_, you can use the same line. =3D = =3D A better solution would be to use something like this: =3D = =3D -*-mode: outline; eval: (auto-fill-mode -1) -*- =3D = =3D But this has the disadvantage that you are queried each time you open= =3D the file whether you want the local variables section to be evaluated= =2E Tried this and I see what you mean. It's interesting, but I could see = where it'd become tiresome before too long. =3D = =3D Is there any reason why you don't have auto-fill-mode turned on by =3D default? For example with: Well, I do have it turned on by default. I was just trying to = anticipate the possibility that I might have it turned off by default. Thanks again, ken