help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (Newbie) How to turn AutoFill-mode on/off


From: Jim Janney
Subject: Re: (Newbie) How to turn AutoFill-mode on/off
Date: Sun, 24 Nov 2002 22:56:00 -0700
User-agent: MacSOUP/2.5b2 (Mac OS 9.2.2)

Elaine Sims <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]