[Top][All Lists]

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

Re: [Nmh-workers] Line wrapping in mhl

From: Tethys
Subject: Re: [Nmh-workers] Line wrapping in mhl
Date: Wed, 25 Jan 2012 21:48:47 +0000

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.


reply via email to

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