From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: meta@public-inbox.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 23224203F8; Wed, 18 Nov 2015 20:56:11 +0000 (UTC) Date: Wed, 18 Nov 2015 20:56:11 +0000 From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] view: further reduce size of attribution/timestamp Message-ID: <20151118205611.GA11559@dcvr.yhbt.net> References: <20151118014301.4622-1-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151118014301.4622-1-e@80x24.org> List-Id: The "by" on the message page and "-" in the index are unnecessary and readers should have no trouble figuring out what the attribution/timestamp line means. --- lib/PublicInbox/View.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index ce97f61..92fedd1 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -107,7 +107,7 @@ sub index_entry { } $rv .= "" . PRE_WRAP; $rv .= "$subj\n"; - $rv .= "- by $from @ $ts UTC - "; + $rv .= "- $from @ $ts UTC - "; $rv .= "next"; if ($prev >= 0) { $rv .= "/prev"; @@ -875,8 +875,7 @@ sub dump_topics { qq(href="$mid/t.mbox.gz">mbox.gz); my $atom = qq(Atom); $pfx .= INDENT if $level > 0; - $dst .= "$pfx- ". $attr . $n; - $dst .= " - $mbox / $atom\n"; + $dst .= $pfx . $attr . $n . " - $mbox / $atom\n"; $prev_attr = $attr; } } -- EW Did you mean this? format-patch