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 5217E20987 for ; Wed, 5 Oct 2016 23:57:25 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 01/17] view: remove "subject dummy" references Date: Wed, 5 Oct 2016 23:57:06 +0000 Message-Id: <20161005235722.14857-2-e@80x24.org> In-Reply-To: <20161005235722.14857-1-e@80x24.org> References: <20161005235722.14857-1-e@80x24.org> List-Id: We will not care for inexact threading by subject or pruning. --- lib/PublicInbox/View.pm | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 9359209..a3b2681 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -723,8 +723,6 @@ sub anchor_for { sub ghost_parent { my ($upfx, $mid) = @_; - # 'subject dummy' is used internally by Mail::Thread - return '[no common parent]' if ($mid eq 'subject dummy'); $mid = PublicInbox::Hval->new_msgid($mid); my $href = $mid->{href}; @@ -838,12 +836,6 @@ sub skel_dump { my $dst = $ctx->{dst}; my $mapping = $ctx->{mapping}; my $map = $mapping->{$mid} if $mapping; - if ($mid eq 'subject dummy') { - my $ncp = "\t[no common parent]\n"; - $map->[1] = $ncp if $map; - $$dst .= $ncp; - return; - } my $d = $ctx->{pct} ? ' [irrelevant] ' # search result : ' [not found] '; $d .= indent_for($level) . th_pfx($level); -- EW