From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 051B51F404 for ; Wed, 25 Apr 2018 08:52:52 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/2] threading fixes Date: Wed, 25 Apr 2018 08:52:47 +0000 Message-Id: <20180425085249.14974-1-e@80x24.org> List-Id: Apparently people use multiple Message-IDs in In-Reply-To headers to reply to multiple messages at once. This should might render like a git merge commit, someday. For now, our handling of References (assuming ordering) isn't equipped to handle that. Furthermore, having multiple Message-IDs in an In-Reply-To header causes messages later in the thread to screw up References ordering, too. So, it's a mess all around, lets at least hope folks can set the Date correctly and use that to order things somewhat reasonably... Eric Wong (2): thread: prevent hidden threads in /$INBOX/ landing page thread: sort incoming messages by Date lib/PublicInbox/SearchThread.pm | 15 +++++-- t/thread-cycle.t | 88 ++++++++++++++++++++++++++++++----------- 2 files changed, 77 insertions(+), 26 deletions(-)