From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Amy Templeton Newsgroups: gmane.emacs.help Subject: Re: Don't break words at end of line in text mode Date: Tue, 08 May 2007 21:43:04 -0400 Message-ID: <87hcqmixg7.fsf@gmail.com> References: <46411D8F.8080401@gatech.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1178674692 32581 80.91.229.12 (9 May 2007 01:38:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 May 2007 01:38:12 +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 03:38:10 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 1Hlb82-0008DG-5I for geh-help-gnu-emacs@m.gmane.org; Wed, 09 May 2007 03:38:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HlbFA-0005R6-Kr for geh-help-gnu-emacs@m.gmane.org; Tue, 08 May 2007 21:45:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HlbEu-0005JN-0n for help-gnu-emacs@gnu.org; Tue, 08 May 2007 21:45:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HlbEs-0005I3-KK for help-gnu-emacs@gnu.org; Tue, 08 May 2007 21:45:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HlbEs-0005I0-Ea for help-gnu-emacs@gnu.org; Tue, 08 May 2007 21:45:10 -0400 Original-Received: from an-out-0708.google.com ([209.85.132.249]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hlb7j-0002Lx-28 for help-gnu-emacs@gnu.org; Tue, 08 May 2007 21:37:47 -0400 Original-Received: by an-out-0708.google.com with SMTP id c17so6205anc for ; Tue, 08 May 2007 18:37:46 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:to:subject:references:from:x-now-playing:emacs:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=lfTBiCjKVIfwEjEjRwNOeUlICL4SlNZJTjd9QLRlH87LDC4Cu4psb6gTQNpNGvM9mULsPGoQ+C1fT0vFbZ2EC3ahSd00HWuZV/Rzaxn3wQjkCFu2dt1wu7LuiXEyd4YA312pz6VM2SGMQMJxK4Otqvrcd51soHcny1PE7/+ADgk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:to:subject:references:from:x-now-playing:emacs:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=V0a2OXWS+wqVZMyvk/X31eUKFiEWTRlFsR/tP6oSRD+CeJvGTBKbQmCzgEIRLpdCegEV+gkPjMQ8lX8sNCKUdE2lQJPXpFCNcnynbmmMXTkjfyofgj0UBU/zWMHO0IJRLsqLckWyVp1FMrC6KZ55+mAa3b6GWoBXXtSbMQuWrCg= Original-Received: by 10.100.35.17 with SMTP id i17mr21405ani.1178674665914; Tue, 08 May 2007 18:37:45 -0700 (PDT) Original-Received: from localhost ( [132.162.248.21]) by mx.google.com with ESMTP id c40sm12449764anc.2007.05.08.18.37.44; Tue, 08 May 2007 18:37:45 -0700 (PDT) X-Now-Playing: Arlo Guthrie - Alice's Restaurant Massacree Emacs: garbage at your fingertips. In-Reply-To: <46411D8F.8080401@gatech.edu> (Matthew Flaschen's message of "Tue\, 08 May 2007 21\:02\:07 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.6 (newer, 2) 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:43819 Archived-At: 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