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

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

Re: word wrap


From: address@hidden
Subject: Re: word wrap
Date: Sat, 05 Jul 2003 02:17:50 -0400
User-agent: KNode/0.7.1

K T Ligesh wrote:

> 
> Hi,
> 
>  How do I make emacs to wrap the text at the ends of the word rather than
>  at the edge of the screen..  Auto-fill-mode seems to insert _REAL_ new
>  lines into the paragraph, which is absolutely not the thing I want..  I
>  just want the lines to _virtually_ wrapped at the word ends..
> 
>  Any help is greatly appreciated..
> 
>  thanks.
> 
> --
> :: Ligesh :: http://ligesh.com :: http://lxlabs.com ::


I wish Emacs could do that, too. Unfortunately it uses newlines.

There are various ways to take them out. One is the longlines.el add-on. As 
I understand it this takes out all the newlines except for the 
end-of-paragraph newlines when you save.

In my own case, I just format the text like you see here (double-space for a 
new paragraph) and use a macro to convert two newlines in a row to one 
newline and one tab. Single newlines are deleted, making everything 
longlines. I do it this way largely because my work goes out by e-mail and 
I need longlines when I cut and paste the text. It also saves some editing 
because I have a bad habit of hitting the shift-lock on the way over to the 
tab and START PARAGRAPHS LIKE THIS.

--Rod

-- 
Author of "Linux for Non-Geeks--Clear-eyed Answers for Practical Consumers" 
and "Boring Stories from Uncle Rod." Both are available at 
http://www.rodwriterpublishing.com/index.html

To reply by e-mail, take the extra "o" out of my e-mail address. It's to 
confuse spambots, of course.


reply via email to

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