1 Return-Path: <wking@tremily.us>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id B9E5C431FB6
\r
6 for <notmuch@notmuchmail.org>; Thu, 13 Feb 2014 08:50:53 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"
\r
12 X-Spam-Status: No, score=0 tagged_above=-999 required=5
\r
13 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001]
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id 3Z19ZiIMPOKs for <notmuch@notmuchmail.org>;
\r
18 Thu, 13 Feb 2014 08:50:47 -0800 (PST)
\r
19 Received: from qmta10.westchester.pa.mail.comcast.net
\r
20 (qmta10.westchester.pa.mail.comcast.net [76.96.62.17])
\r
21 by olra.theworths.org (Postfix) with ESMTP id 538A9431FAE
\r
22 for <notmuch@notmuchmail.org>; Thu, 13 Feb 2014 08:50:46 -0800 (PST)
\r
23 Received: from omta15.westchester.pa.mail.comcast.net ([76.96.62.87])
\r
24 by qmta10.westchester.pa.mail.comcast.net with comcast
\r
25 id Rpa71n0041swQuc5Asqm56; Thu, 13 Feb 2014 16:50:46 +0000
\r
26 Received: from odin.tremily.us ([24.18.63.50])
\r
27 by omta15.westchester.pa.mail.comcast.net with comcast
\r
28 id Rsok1n013152l3L3bsolaG; Thu, 13 Feb 2014 16:48:46 +0000
\r
29 Received: from mjolnir.tremily.us (unknown [192.168.0.140])
\r
30 by odin.tremily.us (Postfix) with ESMTPS id 9B20F102DA04;
\r
31 Thu, 13 Feb 2014 08:48:44 -0800 (PST)
\r
32 Received: (nullmailer pid 17987 invoked by uid 1000);
\r
33 Thu, 13 Feb 2014 16:47:29 -0000
\r
34 From: "W. Trevor King" <wking@tremily.us>
\r
35 To: notmuch@notmuchmail.org
\r
36 Subject: [PATCH v3 3/8] nmbug-status: Use <code> and <p> markup where
\r
38 Date: Thu, 13 Feb 2014 08:47:18 -0800
\r
40 <c4a6ceb90b2a8070c7c0f04f7edda3b9b8f3ae77.1392309570.git.wking@tremily.us>
\r
41 X-Mailer: git-send-email 1.8.5.2.8.g0f6c0d1
\r
42 In-Reply-To: <cover.1392309570.git.wking@tremily.us>
\r
43 References: <cover.1392309570.git.wking@tremily.us>
\r
44 In-Reply-To: <cover.1392309570.git.wking@tremily.us>
\r
45 References: <cover.1392309570.git.wking@tremily.us>
\r
46 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;
\r
47 s=q20121106; t=1392310246;
\r
48 bh=AXXdg7zzBjvpMMQMtoBcDba1cKOxOS9oaqrNqAsvQxo=;
\r
49 h=Received:Received:Received:Received:From:To:Subject:Date:
\r
51 b=bfaajG/d9EhayhlAtOq/mp1xe2ftgHWQzPrYRkbCIewiIsW7jSqMyQBwffUstiv5W
\r
52 W90WdAmi0fL0ZlkVFZC77A4uBDREqB/bQjtX2Z14b7kjfppcrde2jGh191ybzMUKNT
\r
53 cL7T3e1e/xQZs8Bs/8nWsL5zsJVjtA7y1ZcMJQBq1M3w2zohwyLqMHqbaLRfvVoiQK
\r
54 o+5sXY4yJyJpgf10LAN4v0DZGL8zENfLw9XDSH0NSDViiBr061itgnczCfhtY+A/TR
\r
55 z0VCs3ZGXAzcEnxrkoNldNng4rtBq6CS59l8kCOT+xFIoZ1b+9ngsLRUsQT4CYRxyH
\r
57 Cc: Tomi Ollila <tomi.ollila@iki.fi>
\r
58 X-BeenThere: notmuch@notmuchmail.org
\r
59 X-Mailman-Version: 2.1.13
\r
61 List-Id: "Use and development of the notmuch mail system."
\r
62 <notmuch.notmuchmail.org>
\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
66 List-Post: <mailto:notmuch@notmuchmail.org>
\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
69 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
70 X-List-Received-Date: Thu, 13 Feb 2014 16:50:53 -0000
\r
72 * Wrap free text in <p> tags.
\r
73 * Convert <blockquote> to <p><code> for query strings.
\r
74 * Wrap message-id-term (id:"...") in <code>.
\r
76 The <code> tags get nicer default markup (smaller monospace font) for
\r
77 notmuch query terms [1]. The <p> tags don't have much effect without
\r
78 attached CSS, but bare text (phrasing content [2]) in <body> (which
\r
79 expects flow content [3,4]) feels wrong.
\r
81 [1]: http://www.w3.org/TR/html5/text-level-semantics.html#the-code-element
\r
82 [2]: http://www.w3.org/TR/html5/dom.html#phrasing-content-1
\r
83 [3]: http://www.w3.org/TR/html5/dom.html#flow-content-1
\r
84 [4]: http://www.w3.org/TR/html5/sections.html#the-body-element
\r
86 devel/nmbug/nmbug-status | 12 +++++++++---
\r
87 1 file changed, 9 insertions(+), 3 deletions(-)
\r
89 diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status
\r
90 index 9fde20e..6a156af 100755
\r
91 --- a/devel/nmbug/nmbug-status
\r
92 +++ b/devel/nmbug/nmbug-status
\r
93 @@ -183,14 +183,18 @@ class HtmlPage (Page):
\r
95 def _write_view_header(self, view, stream):
\r
96 stream.write('<h3 id="{id}">{title}</h3>\n'.format(**view))
\r
97 + stream.write('<p>\n')
\r
98 if 'comment' in view:
\r
99 stream.write(view['comment'])
\r
102 'The view is generated from the following query:',
\r
107 view['query-string'],
\r
114 @@ -204,7 +208,7 @@ class HtmlPage (Page):
\r
117 ' <td>{date}</td>\n'
\r
118 - ' <td>{message-id-term}</td>\n'
\r
119 + ' <td><code>{message-id-term}</code></td>\n'
\r
122 ' <td>{from}</td>\n'
\r
123 @@ -243,8 +247,10 @@ _PAGES['html'] = HtmlPage(
\r
126 <h2>Notmuch Patches</h2>
\r
128 Generated: {date}<br />
\r
129 For more infomation see <a href="http://notmuchmail.org/nmbug">nmbug</a>
\r
132 '''.format(date=datetime.datetime.utcnow().date()),
\r
133 footer='</body>\n</html>\n',
\r