From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#1122: say how to turn OFF auto-fill with local variables Date: Tue, 21 Feb 2012 19:59:59 -0500 Message-ID: <1ylinv4r8w.fsf@fencepost.gnu.org> References: <874p3mao83.fsf@jidanni.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1329872450 29490 80.91.229.3 (22 Feb 2012 01:00:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Feb 2012 01:00:50 +0000 (UTC) To: 1122-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 22 02:00:49 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S00Zd-0003A5-8H for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Feb 2012 02:00:49 +0100 Original-Received: from localhost ([::1]:51130 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S00Zc-0002WM-P4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Feb 2012 20:00:48 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S00Za-0002WG-Bj for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2012 20:00:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S00ZY-0001Vv-4W for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2012 20:00:46 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S00ZY-0001Vr-0B for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2012 20:00:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S00bm-0003U9-Fk for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2012 20:03:02 -0500 Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Feb 2012 01:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 1122 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug wontfix Mail-Followup-To: 1122@debbugs.gnu.org, rgm@gnu.org Original-Received: via spool by 1122-done@debbugs.gnu.org id=D1122.132987254513345 (code D ref 1122); Wed, 22 Feb 2012 01:03:02 +0000 Original-Received: (at 1122-done) by debbugs.gnu.org; 22 Feb 2012 01:02:25 +0000 Original-Received: from localhost ([127.0.0.1]:49488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S00bA-0003TA-AK for submit@debbugs.gnu.org; Tue, 21 Feb 2012 20:02:24 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:54389 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S00b5-0003Sx-HY for 1122-done@debbugs.gnu.org; Tue, 21 Feb 2012 20:02:21 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S00Yp-00013R-G5; Tue, 21 Feb 2012 19:59:59 -0500 X-Spook: Majic Mafia AMW Ron Brown Israel hackers military Europol X-Ran: \fIqjZiC4%hDOMS=t?&{DP"DTd}s=CA#bUSY)&{?qo->%;B\^mc*PuX}: (jidanni@jidanni.org's message of "Thu, 09 Oct 2008 03:19:56 +0800") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57060 Archived-At: The manual says: Next, suppose you don't want Auto Fill mode turned on in LaTeX mode, which is one of the modes based on Text mode. You can do this with the following additional line: (add-hook 'latex-mode-hook (lambda () (auto-fill-mode -1))) and You can also use file-local variables to specify buffer-local minor modes, by using `eval' specifications. For example, this first nonblank line puts the buffer in Lisp mode and enables Auto-Fill mode: ; -*- mode: Lisp; eval: (auto-fill-mode 1); -*- That covers everything that needs to be covered.