[PATCH v2 19/20] nmbug-status: Escape &, <, and > in HTML display data
[notmuch-archives.git] / 04 / 4fd47386056ea5b195d7970c095ca51890c2d9
1 Return-Path: <tomi.ollila@iki.fi>\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 05C9A431FAF\r
6         for <notmuch@notmuchmail.org>; Thu, 26 Apr 2012 23:29:02 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id FzPEON074PHm for <notmuch@notmuchmail.org>;\r
16         Thu, 26 Apr 2012 23:29:01 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])\r
18         by olra.theworths.org (Postfix) with ESMTP id 07FF5431FAE\r
19         for <notmuch@notmuchmail.org>; Thu, 26 Apr 2012 23:29:00 -0700 (PDT)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id 8EF5568055; Fri, 27 Apr 2012 09:28:55 +0300 (EEST)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
24  notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH 3/3] NEWS: Insert markdown formatting commands\r
26 In-Reply-To: <87ipgm439w.fsf@servo.finestructure.net>\r
27 References: <1335469951-22477-1-git-send-email-tomi.ollila@iki.fi>\r
28         <1335469951-22477-3-git-send-email-tomi.ollila@iki.fi>\r
29         <87ipgm439w.fsf@servo.finestructure.net>\r
30 User-Agent: Notmuch/0.12+128~g512e176 (http://notmuchmail.org) Emacs/23.3.1\r
31         (x86_64-unknown-linux-gnu)\r
32 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
33         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
34         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
35 Date: Fri, 27 Apr 2012 09:28:55 +0300\r
36 Message-ID: <m2haw53cyg.fsf@guru.guru-group.fi>\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain; charset=us-ascii\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Fri, 27 Apr 2012 06:29:02 -0000\r
52 \r
53 On Fri, Apr 27 2012, Jameson Graef Rollins <jrollins@finestructure.net> wrote:\r
54 \r
55 > On Thu, Apr 26 2012, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
56 >> To make updating the notmuchmail.org wiki 'news' section more\r
57 >> straightforward the content of the NEWS file has now been brought\r
58 >> to almost the same as the *.mdwn files in the wiki page.\r
59 >>\r
60 >> The changes are basically insertion of mdwn formatting "commands".\r
61 >>\r
62 >> More effort has been put into formatting the newer release entries\r
63 >> (0.12, 0.11 & 0.10) than older. Commit to format 0.13 entries will\r
64 >> be made available separately.\r
65 >\r
66 > Can we please just make NEWS a directory, which each release getting\r
67 > it's own file?  That would obviously make porting to the wiki trivial.\r
68 \r
69 Splitting to separate files is trivial, but that unfortunately is not enough.\r
70 \r
71 Currently there are 3 other things to do:\r
72 \r
73 1) Concatenate lines which start from beginning to line together and\r
74 addn '###' to the beginning of it (level 3 header) -- with some execptions.\r
75 \r
76 2) Due to the markdown bug in notmuchmail implementation all lines\r
77 that are indented by 2 spaces the indentation is dropped (otherwise\r
78 some lines convert incorrectly)\r
79 \r
80 3) Convert '*' -sequences to '`*`' -sequences.\r
81 \r
82 I'll be providing the tool I'm using to do the conversion when the source\r
83 for it is ready.\r
84 \r
85 \r
86 Reading just one NEWS file is easier to everyone who downloads the\r
87 tarball. And it is no difference to edit a section in just one NEWS\r
88 file compared to separate file when thinking merge conflicts.\r
89 \r
90 > jamie.\r
91 \r
92 Tomi\r