From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jjanney@xmission.com (Jim Janney) Newsgroups: gmane.emacs.help Subject: Re: (Newbie) How to turn AutoFill-mode on/off Date: Sun, 24 Nov 2002 22:56:00 -0700 Organization: XMission http://www.xmission.com/ Sender: help-gnu-emacs-admin@gnu.org Message-ID: <1fm6coc.d03z322qrzi0N%jjanney@xmission.com> References: <3PQD9.121756$QZ.20321@sccrnsc02> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1038204045 20653 80.91.224.249 (25 Nov 2002 06:00:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2002 06:00:45 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18GCIV-0005Mz-00 for ; Mon, 25 Nov 2002 07:00:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18GCJ9-0003aR-00; Mon, 25 Nov 2002 01:01:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!xmission!nnrp.xmission!jjanney Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: slc310.modem.xmission.com Original-X-Trace: terabinaries.xmission.com 1038203750 27765 166.70.2.56 (25 Nov 2002 05:55:50 GMT) Original-X-Complaints-To: abuse@xmission.com Original-NNTP-Posting-Date: Mon, 25 Nov 2002 05:55:50 +0000 (UTC) User-Agent: MacSOUP/2.5b2 (Mac OS 9.2.2) Original-Xref: shelby.stanford.edu gnu.emacs.help:107400 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3951 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3951 Elaine Sims wrote: > I'm a writer. And I have just started learning Xemacs and have found that > it's editing capabilities are superior to any wordprocessor I've ever > used. (like C-x-t, C-x-e, C-t, etc,etc). > > But the problem is: typing in text-mode and seeing the little arrow at the > end of the line and the breaks mid-word is a distraction. I'm much > more comfortable looking at the screen in auto-fill mode. > > But then if I open the text in a word processor (AbiWord, Word) it retains > the line breaks, which I have to manually delete to reform the paragraphs. > If I have to do that to a 100,000 word manuscript I'll go crazy. > > Actually the only reason I'm opening the file at all in a word processor > is because I haven't learned how to format and print out my manuscripts > from Xemacs (with double spacing and headers and page numbers) yet. > > If I could do it all from within Xemacs that would be preferrable. > > And I'm not adverse to learning a little LISP to do it. > > Any help I can get would be appreciated. > > Thanks. > > Elaine Removing line breaks is something I do often enough that I wrote a little function to do it. It may not handle every situation, but I haven't noticed any problems. (defun remove-line-breaks () (interactive) (let ((fill-column 9999)) (fill-individual-paragraphs (point-min) (point-max)))) -- Jim Janney