From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Allan Gottlieb Newsgroups: gmane.emacs.help Subject: Re: How to set wrap line at window edge Date: Mon, 07 Sep 2009 16:58:54 -0400 Message-ID: References: <4AA3F97F.9010008@gmail.com> <4AA40C65.5080409@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252357177 23525 80.91.229.12 (7 Sep 2009 20:59:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Sep 2009 20:59:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 07 22:59:30 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MklJB-0001lx-On for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Sep 2009 22:59:30 +0200 Original-Received: from localhost ([127.0.0.1]:55189 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MklJA-0000Iz-V1 for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Sep 2009 16:59:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MklIo-0000Iu-C5 for help-gnu-emacs@gnu.org; Mon, 07 Sep 2009 16:59:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MklIj-0000Go-Av for help-gnu-emacs@gnu.org; Mon, 07 Sep 2009 16:59:05 -0400 Original-Received: from [199.232.76.173] (port=49149 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MklIj-0000Gl-5Q for help-gnu-emacs@gnu.org; Mon, 07 Sep 2009 16:59:01 -0400 Original-Received: from smtp.cs.nyu.edu ([128.122.80.33]:55255) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MklIi-00057h-Px for help-gnu-emacs@gnu.org; Mon, 07 Sep 2009 16:59:00 -0400 Original-Received: from ajglap.localdomain (ool-4578da1c.dyn.optonline.net [69.120.218.28]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.13.8) with ESMTP id n87KwxIx000675 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 7 Sep 2009 16:58:59 -0400 (EDT) Original-Received: by ajglap.localdomain (Postfix, from userid 1502) id 4FE6C19D922; Mon, 7 Sep 2009 16:58:54 -0400 (EDT) In-Reply-To: (bar tomas's message of "Mon, 07 Sep 2009 18:05:03 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67950 Archived-At: At Mon, 07 Sep 2009 18:05:03 +0200 bar tomas wrote: > Yes! It does say 'Fill' on the mode line ('Org Fill' in fact because I'm > working with the org mode). > How do I correct this? Here are three ways (with minor variations). 1. Right click on the word fill and then uncheck the "auto fill" option (only affects this buffer). 2A. Type "M-x auto-fill-mode" (toggles auto-fill for this buffer) 2B. Type "C-u 0 M-x auto-fill-mode" (turns off, not toggle, auto fill for this buffer). 3A. Add this to .emacs (untested), repeating the last line for each major mode that should not be auto-filled (defun ken-no-auto-fill () "Turn off auto filling" (auto-fill-mode 0)) (add-hook 'foo-mode-hook 'ken-no-auto-fill) 3B. If you have only one major mode of interest, the following is shorter (add-hook 'foo-mode-hook (lambda () (auto-fill-mode 0))) allan