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?

Maybe there's some other way to get the requester, Ian Allen, what he wants. Maybe he could write a script to summarize the multi-line SpamAssassin header into a one-line custom header, and unignore that header. Or, what happens if he makes his terminal 72 characters wide? Or...ideas?

Why does Mutt unfold headers? I guess so $smart_wrap can rewrap them nicely to any terminal width? (Is $smart_wrap implemented in the pager?) That rewrap seems important mostly for a terminal narrower than 72 characters, like a phone. 72-column lines displayed on a 120-column terminal are still readable.

Are "ignore" and "weed" two names for the same thing (hide headers)?

Reply via email to