update unseen sequence after display before this patch, if messages are displaied with a pager and during that time a new message comes to the folder. The new message is added to the unseen sequence. But after closing the pager the unseen sequence gets overwritten and the new message is removed from the unseen sequence. Now the sequence file gets reread before remove the shown messages from the unseen sequenece.
pick matching rework the last rewrite of the matching implementation was a bit overcomplex. Now the structures are better to read and without function pointers. Also now the -not switch is working again. The early return true in the last version causes this. Now the leafs of the matching tree remeber, if the message has matched.
Trailing withspace handling in mhl If a component has trailing whitespace, e.g., body:component="> ", mhl now trims that whitespace off when filtering blank text lines. Also add a rtrim flag to mhl. This flag removes trailing whitespace in filtert text. The implementation was done by David Levine <levinedl@acm.org> for nmh commit ea0a6d8112a918809bd03d8126411040d22f2bb8 commit 1aa8f3e11e6d83ee4806abaa132ab9466f02ca5f
Fix test/tests/send/test-mimeify The size differences came from generated values of the Content-ID headers. They depend on the hostname and thus vary in length. leading to different MIME part sizes. The solution is replacing all Content-IDs with static values. The helper function replace_contentid() is added to commons.sh.
Fix tests to run on OpenBSD Use a hardcoded sequence for there's no seq(1) in OpenBSD. awk(1) doesn't support interval regular expression syntax ({n,m}) on some BSDs. hostname(1) has no -f flag on OpenBSD and. Try it first and fallback to `uname -n`. Omit explicit template in mktemp(1) call.