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. ;PI'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?
Yeah, I felt the same way at first, but then I realized it kind of flowed with the $weed setting (see below).
Are "ignore" and "weed" two names for the same thing (hide headers)?
$weed enables the message display settings listed in <http://www.mutt.org/doc/manual/#msg-hdr-display>:
- header unfolding (and then refolding to $wrap columns).
- ignore/unignore for filter headers.
- hdr_order for ordering the headers.
- and now a possible third option: hdr_leave_folded to list headers to
remain "as is" in the source email without unfolding.
I was waiting for feedback from the requester and to review the patch a
bit more, but I'll send it out shortly to the list for early review.
-- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature
