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: Whole word line truncation Date: Fri, 17 Nov 2006 11:31:59 -0600 Organization: UseNetServer.com Message-ID: <18d9b$455df216$49f20c6$3454@DIALUPUSA.NET> References: <1163774030.103345.261840@h48g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163785268 719 80.91.229.2 (17 Nov 2006 17:41:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Nov 2006 17:41:08 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 17 18:41:06 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gl7i2-0000oo-LX for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Nov 2006 18:41:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gl7i2-0003Kk-7a for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Nov 2006 12:41:02 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!208.49.83.146.MISMATCH!uns-out.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!DIALUPUSA.NET!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-X-Complaints-To: abuse@usenetserver.com Original-Lines: 32 Original-X-Trace: 18d9b455df216a13a856303454 Original-Xref: shelby.stanford.edu gnu.emacs.help:143158 Original-To: help-gnu-emacs@gnu.org 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:38775 Archived-At: wrote in message news:1163774030.103345.261840@h48g2000cwc.googlegroups.com... > Please note that this is semi related to me other post on smart > indenting but sufficiently different to make it work putting in as > separate subject... > > Is there a way to make emacs line truncation work at word rather than > character boundaries? In other words I'd like to wrap lines without > breaking words. > > Thanks, > > Tim. > With line continuation (i.e. no autofill), lines break after character just to the left of the fringe. With truncation, all characters to the right of the fringe are invisible. If you don't want to get into long-lines.el then you can just turn on autofill with a width between about 150-170 characters (depending on screen geometry, frame size, font type and size). Lines break at words whenever autofill is on. e.g. C-u 160 C-x f ;; experiment with C-u argument if you really think you need your lines to go all the way to the fringe. M-q or M-x auto-fill-mode Ed