nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Line wrapping in mhl

2012-01-25 15:49:26

Paul Fox writes:

for instance, "par" purports to solve this pretty well
already:  http://www.nicemice.net/par .  (i've never tried
it, but i keep the link around in case i need to.)

I swear by par and use it every day. It's basically just fmt(1) that
understands quoting and handles it properly (as well as having a more
intelligent line breaking algorithm).

But as Ken says, mhl breaks the lines in the wrong places, often
mid-word. Although par can reformat the text, it can't tell whether
a latter at the end of a line is part of a larger word, so you get
a space in the middle of words that mhl has broken. It'd be nice to
be able to invoke par to do the line breaking before the reply was
quoted. But I'd live with just having mhl only break on whitespace so
I can later fix up the formatting by invoking par from my editor. If
this means sometimes having long (>80 char) lines, then I'd put up
with that.

Tet

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>