Re: [PATCH 3/5] nmbug-status: Add an nmbug-status(5) man page
[notmuch-archives.git] / 8c / 5ba0c3393e2b0b4bfc13b3262aaf2db9707203
1 Return-Path: <jrollins@finestructure.net>\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 68FA9429E25\r
6         for <notmuch@notmuchmail.org>; Sat, 10 Dec 2011 15:19:37 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.29\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 9JH6FHU6XNgA for <notmuch@notmuchmail.org>;\r
16         Sat, 10 Dec 2011 15:19:35 -0800 (PST)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id 6D270431FB6\r
20         for <notmuch@notmuchmail.org>; Sat, 10 Dec 2011 15:19:35 -0800 (PST)\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by earth-doxen-postvirus (Postfix) with ESMTP id 125EF66E0092;\r
23         Sat, 10 Dec 2011 15:19:35 -0800 (PST)\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
25 Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com\r
26         [76.174.137.84]) (Authenticated sender: jrollins)\r
27         by earth-doxen-submit (Postfix) with ESMTP id 2890266E00E9;\r
28         Sat, 10 Dec 2011 15:19:32 -0800 (PST)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id CE85B236E; Sat, 10 Dec 2011 18:19:31 -0500 (EST)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Ciprian Dorin Craciun <ciprian.craciun@gmail.com>\r
33 Subject: Re: Exporting a single email as JSON\r
34 In-Reply-To:\r
35  <CA+Tk8fw+ky6hS0JGLQ4THOf+PSEZhSpfXRF=haayfAdF8HB6PQ@mail.gmail.com>\r
36 References:\r
37  <CA+Tk8fycS4kmBRABRS4vFQLb3v0-ajcLZwPOwwEf98yvObgpwA@mail.gmail.com>\r
38         <87zkf05gk4.fsf@servo.finestructure.net>\r
39         <CA+Tk8fw+ky6hS0JGLQ4THOf+PSEZhSpfXRF=haayfAdF8HB6PQ@mail.gmail.com>\r
40 User-Agent: Notmuch/0.10.2+74~g994a706 (http://notmuchmail.org) Emacs/23.3.1\r
41         (x86_64-pc-linux-gnu)\r
42 Date: Sat, 10 Dec 2011 15:19:29 -0800\r
43 Message-ID: <878vmk581q.fsf@servo.finestructure.net>\r
44 MIME-Version: 1.0\r
45 Content-Type: multipart/signed; boundary="=-=-=";\r
46         micalg=pgp-sha256; protocol="application/pgp-signature"\r
47 Cc: notmuch@notmuchmail.org\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Sat, 10 Dec 2011 23:19:37 -0000\r
61 \r
62 --=-=-=\r
63 Content-Transfer-Encoding: quoted-printable\r
64 \r
65 On Sun, 11 Dec 2011 00:46:51 +0200, Ciprian Dorin Craciun <ciprian.craciun@=\r
66 gmail.com> wrote:\r
67 >     I've given a quick look into `notmuch-show.c` (commit from\r
68 > December 4) and indeed it seems quite trivial to add new formats.\r
69 >=20\r
70 >     Thus I wonder:\r
71 >     a) Is the code suitable for experimenting such a feature? (I mean\r
72 > is the "overhaul" almost done, or still in progress?)\r
73 \r
74 I think it's more just beginning rather than hearing completion.  You\r
75 can follow what's happened so far in the thread starting here:\r
76 \r
77 id:"1322446871-14986-1-git-send-email-amdragon@mit.edu"\r
78 \r
79 >     c) Would someone else be interested in such a feature? (Or it's\r
80 > something so remote that only the two of us stumbled upon it?)\r
81 \r
82 I think it would be a useful feature, and if it's useful for you it's\r
83 probably worth implementing.\r
84 \r
85 >     * in my use-case I would need each line of the output to be a\r
86 > standalone JSON object of an individual message; (thus I can script\r
87 > with Bash `notmuch ... | while read message ; do ... ; done`;)\r
88 \r
89 This is actually a slightly different idea than what I thought you were\r
90 originally proposing.  Outputting a series of json objects rather than a\r
91 single list has been talked about for notmuch search as well.  I'm don't\r
92 have a good sense of whether this is a sensible idea or not.\r
93 \r
94 >     * maybe someone else would need that the output to contain\r
95 > **exactly one** such message (maybe the first);\r
96 \r
97 This is what I thought we were talking about.  This is an option I would\r
98 like to see, at least.\r
99 \r
100 >     * or maybe the separator in the first use case should be `\0`\r
101 > instead of `\n`;\r
102 \r
103 I think specifying the separator should just be an option.\r
104 \r
105 jamie.\r
106 \r
107 --=-=-=\r
108 Content-Type: application/pgp-signature\r
109 \r
110 -----BEGIN PGP SIGNATURE-----\r
111 Version: GnuPG v1.4.11 (GNU/Linux)\r
112 \r
113 iQIcBAEBCAAGBQJO4+kBAAoJEO00zqvie6q8busP/Ar9Dk6gZaoRnC+qhlST7n7S\r
114 mF5xxzqCNzYG8qQYQOmFrAIpP0nhEnlVTmAV/KSHxbzelFgAAl1Y2NCWM/lkmNQr\r
115 OX1W5C50nV+1weixsXORwSSHu+V1AKLHheddP1f18chNhg5l2nJE89ei/ng6ial+\r
116 p80qz91MnH+5cvPd6NxMQquadWEcFG8z8u5ehnCV4obIcS4FMjA3zXgoWm4kGo5q\r
117 5/PkB8bIRGnfKsCKD6T8iCusBlbFaRpKmDnWBK6GrMHTHYPsG8NYMRUr42RsV7Gt\r
118 0HEmdsN4Gw1flvj+aptItfelvV7xuzyQieLCAQG6cXHE+awbq03KjOoEM4Z/CVU5\r
119 uQJQFrUK+QdU16VhGt0RMqGIr2fmlS6q5T3zfbapCwTjukB7exgaQSXWhVfLnvaX\r
120 DyWDa8sJjngJ54tDU64QDMIiQsuTW/RgnFLbJ3zFK/2wnteNyV/ZY6Y1NuKXVL5X\r
121 fzm3W6X6B9uZ2kh5VEQVTIXngkdgRULZjeiXBbpvpUj/QDHCUj20W1PhtiRqH9sz\r
122 /lzjWdHA0R3nktvt0XyV7jkypP99neJvGAKDciM785SXWZBWO8hzzeMi4nStyp6o\r
123 vbz/lorVhcHoROmVg0Tbn8CcnefaqN1zusk+DlKbsCYJLL9niYz02vm7xe/XhzPp\r
124 tCDvNQHDA3v5F0FZM68q\r
125 =RkjW\r
126 -----END PGP SIGNATURE-----\r
127 --=-=-=--\r