From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Flaschen Newsgroups: gmane.emacs.help Subject: Re: Don't break words at end of line in text mode Date: Wed, 09 May 2007 03:21:04 -0400 Message-ID: <46417660.800@gatech.edu> References: <46411D8F.8080401@gatech.edu> <87hcqmixg7.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1178695291 15902 80.91.229.12 (9 May 2007 07:21:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 May 2007 07:21:31 +0000 (UTC) To: emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 09 09:21:30 2007 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 1HlgUK-00061x-4g for geh-help-gnu-emacs@m.gmane.org; Wed, 09 May 2007 09:21:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HlgbU-0005up-4s for geh-help-gnu-emacs@m.gmane.org; Wed, 09 May 2007 03:28:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HlgbC-0005q1-TD for help-gnu-emacs@gnu.org; Wed, 09 May 2007 03:28:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HlgbA-0005iP-9K for help-gnu-emacs@gnu.org; Wed, 09 May 2007 03:28:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HlgbA-0005iM-4I for help-gnu-emacs@gnu.org; Wed, 09 May 2007 03:28:32 -0400 Original-Received: from deliverator6.gatech.edu ([130.207.165.168]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1HlgTz-000318-1i for help-gnu-emacs@gnu.org; Wed, 09 May 2007 03:21:07 -0400 Original-Received: from deliverator6.gatech.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 1A9A017D3 for ; Wed, 9 May 2007 03:21:05 -0400 (EDT) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from mailprx5.gatech.edu (mailprx5.prism.gatech.edu [130.207.171.19]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security, Inc." (verified OK)) by deliverator6.gatech.edu (Postfix) with ESMTP id 08A2C17D1 for ; Wed, 9 May 2007 03:21:05 -0400 (EDT) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from [192.168.0.105] (c-71-224-192-74.hsd1.pa.comcast.net [71.224.192.74]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=mflaschen3@mailprx5.gatech.edu, sender=n/a) by mailprx5.gatech.edu (Postfix) with ESMTP id 7440D21AE for ; Wed, 9 May 2007 03:21:04 -0400 (EDT) (envelope-from matthew.flaschen@gatech.edu) User-Agent: Thunderbird 1.5.0.10 (X11/20070306) In-Reply-To: <87hcqmixg7.fsf@gmail.com> X-Enigmail-Version: 0.94.3.0 X-detected-kernel: Solaris 9 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:43823 Archived-At: Amy Templeton wrote: > Matthew Flaschen (matthew.flaschen@gatech.edu) wrote: >> I'm trying to figure out how to stop emacs from displaying >> end-of-line words broken between lines; I'd like the last word to >> move to the next line. I thought text mode might do this, but >> apparently not. Is there an option for this? > > Try turning on auto-fill-mode (M-x auto-fill-mode), if it's not > already on. > If the above is the desired behavior, try adding this to your > .emacs file: > > (add-hook 'text-mode-hook 'turn-on-auto-fill) > Thank you very much. That mode will be useful when I'm writing plain text documents in emacs. > I hope that's helpful! It is. :) It's about time I figure out how emacs handles filling. One more thing. When I open a document that isn't filled, I'd like it to be filled automatically, but only for display (not changing the actual file). fill-region works, but it modifies the file. Matt Flaschen