On Sun, Mar 01, 2026 at 10:01:30PM -0500, Kurt Hackenberg wrote:
> On Sun, Mar 01, 2026 at 11:41:59AM +0800, Kevin J. McCarthy wrote:
> 
> >Okay okay... you guilted me into it Oswald. ;P
> >
> >I've started working on a branch `kevin/opt_unfold_v3` with a command
> >"hdr_leave_folded" instead.  After I add documentation, test it, and clean
> >it up, I'll send another patchset here.
> 
> I'm not sure that even the previous simpler version makes it worthwhile to
> complicate the code and add yet another configuration variable. This seems
> like a very niche feature, at best a minor convenience in a special case,
> perhaps for just one person. And now a list of particular headers that get
> special treatment?

I was thinking the same thing.  This definitely seems like a niche feature.

> Maybe there's some other way to get the requester, Ian Allen, what he wants.

If I understand correctly, the issue is that SpamAssassin uses the ability to
split headers over several lines somewhat intelligently to format it's reports
in a more visually appealing way, (presumably assuming that the user's
terminal is 80 characters wide).

Do any other widely used programs, 'in the wild' do a similar thing?

If not, then why don't we solve this in mutt by changing the wrapping
algorithm to detect when it's processing something that looks like a
SpamAssassin report, and break lines accordingly.

That could even be an enhancement, because on a wider terminal you could
potentially do two-columns, etc, etc.

This would avoid the need for yet another user-configurable twiddle.

Reply via email to