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

Re: wrap long lines



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

~Kyle
- -- 
Almost everything about a human creature is ridiculous, except its 
ability to suffer bravely and die gallantly for whatever it loves and 
believes in. The validity of that belief, the appropriateness of that 
love, is irrelevant; it is the bravery and the gallantry that count.
                       -- Robert A. Heinlein, Job: A Comedy of Justice
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFE9c3GBkIOoMqOI14RAtLuAKDKmTnNoWP/6RgZLFwQS/a86Ie0JwCgj/JV
jPmRS3FLyDh50c8yU192NNU=
=iloj
-----END PGP SIGNATURE-----