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 53F67431FC3
\r
6 for <notmuch@notmuchmail.org>; Mon, 1 Mar 2010 09:35:19 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.68 tagged_above=-999 required=5 tests=[AWL=-1.570,
\r
12 BAYES_05=-1.11] autolearn=ham
\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 2Vd7u0CPln16 for <notmuch@notmuchmail.org>;
\r
16 Mon, 1 Mar 2010 09:35:18 -0800 (PST)
\r
17 Received: from tarap.cc.columbia.edu (tarap.cc.columbia.edu [128.59.29.7])
\r
18 by olra.theworths.org (Postfix) with ESMTP id A478D431FBD
\r
19 for <notmuch@notmuchmail.org>; Mon, 1 Mar 2010 09:35:18 -0800 (PST)
\r
20 Received: from servo.finestructure.net (geco.phys.columbia.edu
\r
22 (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0)
\r
23 by tarap.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id o21HZ9FT018314
\r
24 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
25 Mon, 1 Mar 2010 12:35:09 -0500 (EST)
\r
26 Received: from jrollins by servo.finestructure.net with local (Exim 4.71)
\r
27 (envelope-from <jrollins@finestructure.net>)
\r
28 id 1Nm9WP-0005Gh-Ow; Mon, 01 Mar 2010 12:35:09 -0500
\r
29 From: Jameson Rollins <jrollins@finestructure.net>
\r
30 To: David Bremner <bremner@unb.ca>, Sebastian Spaeth <Sebastian@SSpaeth.de>,
\r
31 notmuch@notmuchmail.org
\r
32 In-Reply-To: <878wacrm03.fsf@rocinante.cs.unb.ca>
\r
33 References: <87r5o49kow.fsf@SSpaeth.de>
\r
34 <1267457946-30347-1-git-send-email-Sebastian@SSpaeth.de>
\r
35 <878wacrm03.fsf@rocinante.cs.unb.ca>
\r
36 Date: Mon, 01 Mar 2010 12:35:06 -0500
\r
37 Message-ID: <87k4twc5dh.fsf@servo.finestructure.net>
\r
39 Content-Type: multipart/signed; boundary="=-=-=";
\r
40 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
41 X-No-Spam-Score: Local
\r
42 X-Scanned-By: MIMEDefang 2.68 on 128.59.29.7
\r
43 Subject: Re: [notmuch] [PATCH] notmuch-show: add tags to json output
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Mon, 01 Mar 2010 17:35:19 -0000
\r
59 Content-Transfer-Encoding: quoted-printable
\r
61 On Mon, 01 Mar 2010 13:26:52 -0400, David Bremner <bremner@unb.ca> wrote:
\r
62 > On Mon, 1 Mar 2010 16:39:06 +0100, Sebastian Spaeth <Sebastian@SSpaeth.d=
\r
64 > > The previous json patches forgot to add the notmuch tags to the json
\r
65 > > output. This is inconsistent to the text output so here they are. We
\r
66 > > just output a 'tags' field that sends a space delimited list of
\r
67 > > json-encoded notmuch tags.
\r
69 > > Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
\r
71 > I agree we need tags in json output, but I think that making the client
\r
72 > parse the string of (space delimited?) tags defeats a bit the purpose of
\r
73 > having json output. What do you think about=20
\r
75 > "tags": [ "inbox", "unread" ]=20
\r
79 > "tags": "inbox unread"
\r
81 I agree that having the JSON "tags" output field be an array of strings
\r
82 makes the most sense.
\r
87 Content-Type: application/pgp-signature
\r
89 -----BEGIN PGP SIGNATURE-----
\r
90 Version: GnuPG v1.4.10 (GNU/Linux)
\r
92 iQIcBAEBCAAGBQJLi/rKAAoJEO00zqvie6q8zLsP/AvomIytsO5SBTqfA2BQIIdQ
\r
93 /FdtnDBR/sr2kn2hhtb17YKi2SzH3qKokWRDKeiGgWvB4wRFBYo271xSfRHoHze4
\r
94 6lFHTMlMx9iFkwDbKzAF1K18wuh80UjMA6J0U9pIXVW5YV9UCYsqDS/Vsg5rsHfX
\r
95 NqUoEuqPEnHmAcvA6eJPQiBajAyyHitwWB6TJMtlYId/zJMkQn2yDmGG4SUbEWy4
\r
96 DBJwx/rOLu8COtR5DoOUyStFyzw7rpoYIQTiABPn2Mw1aVZ9q88ssnq2u/vOpK7i
\r
97 OKt4K4n6+OyUXcQ/QxerZRSKNgUtjzTbUiOuqWijtIcMJ6amR5AQkYIm7+FqDGS5
\r
98 z8kkr6ljALYLhR2sbNDvCuGz/EUPMRuJ5XuCQkKmkmb+Mfu0s5hyQjYC7JqiSU2T
\r
99 gJ96AGY2yZQOpEsjtfdijp/Oy56EKmPdL1MGCA/zLJ/pZPJ0lFCEbWY8UXjqUWAR
\r
100 cCaZdAG2H5VKox9XfmmDvMdM8W1yqrLJ1MZggt2aaZo3fsqfIAYToqFLNIS+8of+
\r
101 WFZD8veyxDGQeqNPMPHsJVxBJthIEEEoITIURsD90QwZZ92sjnQHx+tt8eRTBAbQ
\r
102 axfJwI7FmCrwxeO82GjynE3v6Acu/gcn2e5aoTbS03SoPUb1GfVtT6nX/xabodw3
\r
103 8vPbWPMmPQwNudRCpeE9
\r
105 -----END PGP SIGNATURE-----
\r