From: W. Trevor King
Date: Wed, 30 Dec 2015 21:04:12 +0000 (+1600)
Subject: [PATCH 1/2] nmbug-status: Adjust headers to start with h1
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d0908d834d5a4e2b62abb53f09fe4fdaf54145a5;p=notmuch-archives.git
[PATCH 1/2] nmbug-status: Adjust headers to start with h1
---
diff --git a/85/f3ffa116d557d3060f02f87ae60ea8fd2a100c b/85/f3ffa116d557d3060f02f87ae60ea8fd2a100c
new file mode 100644
index 000000000..49a95bde3
--- /dev/null
+++ b/85/f3ffa116d557d3060f02f87ae60ea8fd2a100c
@@ -0,0 +1,111 @@
+Return-Path:
+X-Original-To: notmuch@notmuchmail.org
+Delivered-To: notmuch@notmuchmail.org
+Received: from localhost (localhost [127.0.0.1])
+ by arlo.cworth.org (Postfix) with ESMTP id AD8896DE1A7C
+ for ; Wed, 30 Dec 2015 13:06:24 -0800 (PST)
+X-Virus-Scanned: Debian amavisd-new at cworth.org
+X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"
+X-Spam-Flag: NO
+X-Spam-Score: 0.041
+X-Spam-Level:
+X-Spam-Status: No, score=0.041 tagged_above=-999 required=5 tests=[AWL=0.042,
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001,
+ SPF_PASS=-0.001] autolearn=disabled
+Received: from arlo.cworth.org ([127.0.0.1])
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
+ with ESMTP id z1CVD4hppd6u for ;
+ Wed, 30 Dec 2015 13:06:22 -0800 (PST)
+Received: from resqmta-po-03v.sys.comcast.net (resqmta-po-03v.sys.comcast.net
+ [96.114.154.162])
+ by arlo.cworth.org (Postfix) with ESMTPS id E347C6DE1A2B
+ for ; Wed, 30 Dec 2015 13:06:21 -0800 (PST)
+Received: from resomta-po-15v.sys.comcast.net ([96.114.154.239])
+ by resqmta-po-03v.sys.comcast.net with comcast
+ id zx6C1r0035AAYLo01x6Mfs; Wed, 30 Dec 2015 21:06:21 +0000
+Received: from mail.tremily.us ([73.221.72.168])
+ by resomta-po-15v.sys.comcast.net with comcast
+ id zx4K1r00X3dr3C901x4LQ9; Wed, 30 Dec 2015 21:04:21 +0000
+Received: from ullr.tremily.us (unknown [192.168.10.7])
+ by mail.tremily.us (Postfix) with ESMTPS id 7A0951B2C6BC;
+ Wed, 30 Dec 2015 13:04:18 -0800 (PST)
+Received: (nullmailer pid 25458 invoked by uid 1000);
+ Wed, 30 Dec 2015 21:04:25 -0000
+From: "W. Trevor King"
+To: notmuch@notmuchmail.org
+Cc: David Bremner ,
+ Tomi Ollila , Jani Nikula ,
+ Carl Worth , "W. Trevor King"
+Subject: [PATCH 1/2] nmbug-status: Adjust headers to start with h1
+Date: Wed, 30 Dec 2015 13:04:12 -0800
+Message-Id:
+ <4691cbb60322873d2a068ed991cde940d090492a.1451509249.git.wking@tremily.us>
+X-Mailer: git-send-email 2.1.0.60.g85f0837
+In-Reply-To:
+References:
+In-Reply-To:
+References:
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;
+ s=q20140121; t=1451509581;
+ bh=Zyn8beD3fTNNvzKMvLFDQH3utMo/MIseI8fg27eWzLA=;
+ h=Received:Received:Received:Received:From:To:Subject:Date:
+ Message-Id;
+ b=aTyfi/SdiO0nJF3Pc26DgfLAez/QLB92u0GR9PxB5qqZMjJfYkl80kraMpCbAbZtN
+ H/FHbkKz1i2r2wLQNncVNIkPNGyobArbs6YNYcIDEAOIYkDhwn5gemtnWubIUXRYaS
+ uowvGWDgcCOVFGPr6mgkuBTbY4aWCQ3goXYDoHEM2EOwbTsHOGa4iQipYjAWWwbGyS
+ gwBcZE8jOTBqYtJXuErqXBrAjWnmuGiXoPgDEgGfc+IiM6+XNBokLQxxDYsoc0bM7/
+ B899F8jbXKCwH8q57DPUQHi4QDcT+xvLvwgvKISSpRsp9wyAenWmQm3C52ESzqIh+v
+ O1QKivt8B5YJA==
+X-BeenThere: notmuch@notmuchmail.org
+X-Mailman-Version: 2.1.20
+Precedence: list
+List-Id: "Use and development of the notmuch mail system."
+
+List-Unsubscribe: ,
+
+List-Archive:
+List-Post:
+List-Help:
+List-Subscribe: ,
+
+X-List-Received-Date: Wed, 30 Dec 2015 21:06:24 -0000
+
+We've been leading off with h2s since 3e5fb88f (contrib/nmbug: add
+nmbug-status script, 2012-07-07), but the semantically-correct headers
+are:
+
+ {title}
+ ...
+ Views
+ ...
+ View 1
+ ...
+ View 2
+ ...
+
+We can always add additional CSS if the default h1 formatting is too
+intense.
+---
+ devel/nmbug/nmbug-status | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status
+index b36b6ad..8fd736c 100755
+--- a/devel/nmbug/nmbug-status
++++ b/devel/nmbug/nmbug-status
+@@ -367,10 +367,10 @@ header_template = config['meta'].get('header', '''
+
+
+
+-{title}
++{title}
+ {blurb}
+
+-Views
++Views
+ ''')
+
+ footer_template = config['meta'].get('footer', '''
+--
+2.1.0.60.g85f0837
+