[Top][All Lists]

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

Re: [Nmh-workers] Format function to create wrapped header lines?

From: Ralph Corderoy
Subject: Re: [Nmh-workers] Format function to create wrapped header lines?
Date: Mon, 05 Sep 2016 16:04:56 +0100

Hi Ken,

> You'd have to deal with a header that would take up a lot of space.

Vertically?  Otherwise "<foo> <bar>" and "<foo>\n <bar>" isn't a lot

> Also, if you want 'nice' formatting, you need something smarter that
> knows about the length of the header (like what formataddr does).
> Really, I think you could adapt most of the formataddr code, except
> for splitting at commas.  It may be that my concerns about "nice"
> header formatting are not worthwhile.

Things that might complicate the code...  I've come across Reference
headers in the past where the message IDs have been truncated by
something so they're '<address@hidden'.  Not everything in the References header
is necessarily a simple message ID, e.g.

    To: address@hidden
    From: Paul Fox <address@hidden>
    In-reply-to: <address@hidden>
    References: <address@hidden>
    Message-Id: <address@hidden>
    Subject: Re: [Nmh-workers] mhshow flag: -combined ?
    Date: Sun, 23 Mar 2014 15:01:21 -0400

I guess those "sfid"s are comments and legally OK?

Cheers, Ralph.

reply via email to

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