From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: Don't break words at end of line in text mode Date: Tue, 08 May 2007 21:29:53 -0500 Message-ID: References: <46411D8F.8080401@gatech.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1178730394 17257 80.91.229.12 (9 May 2007 17:06:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 May 2007 17:06:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 09 19:06:33 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 1HlpcV-000324-Oe for geh-help-gnu-emacs@m.gmane.org; Wed, 09 May 2007 19:06:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hlpji-0003JH-So for geh-help-gnu-emacs@m.gmane.org; Wed, 09 May 2007 13:13:58 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Tue, 08 May 2007 21:30:26 -0500 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 34 Original-NNTP-Posting-Host: 65.45.140.74 Original-X-Trace: sv3-ff4EROqzs26QUAF9TKjOVInX/DEI3AYL12NHZ2eenQ8fZC1KafddSnk7gyIFXCH4Kq5VwmFcmLX1Bjn!sZfAaC8ZEGFCYpigsTqWxieSkQuhfgP7EOVrTpOEzFIYaagisF6ovjvLMNTFpn8labekZchojo5c!SI7HgvNwyTuJr5H24QPI4kICmBt9uw== Original-X-Complaints-To: abuse@sysmatrix.net X-DMCA-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.34 Original-Xref: shelby.stanford.edu gnu.emacs.help:148230 X-Mailman-Approved-At: Wed, 09 May 2007 13:12:05 -0400 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:43840 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 it doesn't automagically wrap your lines where you'd > like them wrapped, hit C-u (column number you'd like 'em wrapped > at) C-x f, which will set the fill-column to the desired number. If > you customize the variable fill-column, I think it will set it for > all buffers you can open now and in the future. > > If the above is the desired behavior, try adding this to your > .emacs file: > > (add-hook 'text-mode-hook 'turn-on-auto-fill) > > and then evaluate it by placing the cursor at the end of the line > and hitting C-e to load it for this session (I'm sorry if you > already know this, but I figure it's better to be thorough the > first time around just in case). Next time you start emacs, it'll > be automatically evaluated; its effect is to turn on auto-fill-mode > whenever you enter text mode. > > I hope that's helpful! > > Amy > > C-e (Ende) goes to end of line and C-a (Anfang) to the beginning, no? You meant C-x C-e