From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 551E61F452 for ; Tue, 25 Apr 2023 10:50:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1682419852; bh=sW2QD4x47H7CRWLsNeJZmP8Un5GHzgM98sdqgnTGThs=; h=From:To:Subject:Date:From; b=UJn2uEF42rHzz59Hg7MwpCNANk1fXpARxy0ZJBDcbAOJ/Ar9FuRLwkPtxBKfkkuzr agQZfMpX3EwPBG5z+vp/70o4ddjvTLcW0Z+xae1eNCxTba81+K53EK2XhIp69Z2wf6 dUr/JoU6Od4G4OjRzkabD3oY/7oCwME+HWBxm3VI= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] mail diff updates Date: Tue, 25 Apr 2023 10:50:48 +0000 Message-Id: <20230425105052.3921780-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Some things which I noticed while reading some cross-posted LKML messages. These affect the /$INBOX/$MSGID/d/ WWW endpoint as well as `lei mail-diff' I'm considering making tweaks to ContentHash to ignore the name+comment parts of To/Cc headers and only rely on the lowercased email address itself, too. That would affect dedupe across the board for v2 and extindex... Eric Wong (4): mid+contenthash: eliminate needless local variable captures mail_diff: match ContentHash EOL and EOM behavior more closely mail_diff: show headers differences in WWW /$MSGID/d/ view content_digest_dbg: improve display of To:/Cc: diffs lib/PublicInbox/ContentDigestDbg.pm | 7 +++++-- lib/PublicInbox/ContentHash.pm | 8 +++----- lib/PublicInbox/MID.pm | 6 ++---- lib/PublicInbox/MailDiff.pm | 11 ++++------- 4 files changed, 14 insertions(+), 18 deletions(-)