<<< Date Index >>>     <<< Thread Index >>>

Re: wrap long lines



On Wed, Aug 30, 2006 at 01:41:26PM EDT, Kyle Wheeler wrote:
> On Wednesday, August 30 at 09:02 AM, quoth Michelle Konzack:
> >  set display_filter="fold --width=80 --spaces"
> >
> >works perfectly too
> 
> Not *quite*. Take for example, the following:

> this is going to be a very long line. this is going to be a very long
> line. this is going to be a very long line. this is going to be a very
> long line. this is going to be a very long line.  and a short line
> here and another short line but a bit longer

> Compare the results with "fold" versus "fmt" (or "par"). The only
> thing that "fold" really does is prevent mutt from having to deal with
> extremely long lines (as far as display goes, it achieves the same
> thing as "unset markers").

> In "fold" the above becomes:

> this is going to be a very long line. this is going to be a very long
> line.  this is going to be a very long line. this is going to be a
> very long line.  this is going to be a very long line.  and a short
> line here and another short line but a bit longer

> But in "fmt" the above becomes:

> this is going to be a very long line. this is going to be a very long
> line.  this is going to be a very long line. this is going to be a
> very long line.  this is going to be a very long line. and a short
> line here and another short line but a bit longer

And "par" can justify text (left and right).

Thanks

cga