nmh-workers
[Top] [All Lists]

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

2016-09-05 09:18:49
I think that appending the message-id on a new continuation line
would be good enough.  It wouldn't repair incoming References header
lines that are too long, though.

Hrm.  I thought about that, but it seems like it's slightly suboptimal;
You'd have to deal with a header that would take up a lot of space.

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.

--Ken

_______________________________________________
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>