1 Return-Path: <bremner@pivot.cs.unb.ca>
\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 C2F62431FC3
\r
6 for <notmuch@notmuchmail.org>; Mon, 1 Mar 2010 09:30:14 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.568 tagged_above=-999 required=5 tests=[AWL=0.172,
\r
12 BAYES_20=-0.74] 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 fqUEuvJE+nrV for <notmuch@notmuchmail.org>;
\r
16 Mon, 1 Mar 2010 09:30:14 -0800 (PST)
\r
17 Received: from pivot.cs.unb.ca (pivot.cs.unb.ca [131.202.240.57])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 3BC41431FBD
\r
19 for <notmuch@notmuchmail.org>; Mon, 1 Mar 2010 09:30:14 -0800 (PST)
\r
21 fctnnbsc30w-142167166109.pppoe-dynamic.high-speed.nb.bellaliant.net
\r
22 ([142.167.166.109] helo=rocinante.cs.unb.ca)
\r
23 by pivot.cs.unb.ca with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32)
\r
24 (Exim 4.69) (envelope-from <bremner@pivot.cs.unb.ca>)
\r
25 id 1Nm9RV-0004zG-3B; Mon, 01 Mar 2010 13:30:05 -0400
\r
26 Received: from bremner by rocinante.cs.unb.ca with local (Exim 4.71)
\r
27 (envelope-from <bremner@rocinante.cs.unb.ca>)
\r
28 id 1Nm9OO-0006yW-GY; Mon, 01 Mar 2010 13:26:52 -0400
\r
29 From: David Bremner <bremner@unb.ca>
\r
30 To: Sebastian Spaeth <Sebastian@SSpaeth.de>, notmuch@notmuchmail.org
\r
31 In-Reply-To: <1267457946-30347-1-git-send-email-Sebastian@SSpaeth.de>
\r
32 References: <87r5o49kow.fsf@SSpaeth.de>
\r
33 <1267457946-30347-1-git-send-email-Sebastian@SSpaeth.de>
\r
34 Date: Mon, 01 Mar 2010 13:26:52 -0400
\r
35 Message-ID: <878wacrm03.fsf@rocinante.cs.unb.ca>
\r
37 Content-Type: text/plain; charset=us-ascii
\r
38 X-Sender-Verified: bremner@pivot.cs.unb.ca
\r
39 Subject: Re: [notmuch] [PATCH] notmuch-show: add tags to json output
\r
40 X-BeenThere: notmuch@notmuchmail.org
\r
41 X-Mailman-Version: 2.1.13
\r
43 List-Id: "Use and development of the notmuch mail system."
\r
44 <notmuch.notmuchmail.org>
\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
48 List-Post: <mailto:notmuch@notmuchmail.org>
\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
52 X-List-Received-Date: Mon, 01 Mar 2010 17:30:14 -0000
\r
54 On Mon, 1 Mar 2010 16:39:06 +0100, Sebastian Spaeth <Sebastian@SSpaeth.de> wrote:
\r
55 > The previous json patches forgot to add the notmuch tags to the json
\r
56 > output. This is inconsistent to the text output so here they are. We
\r
57 > just output a 'tags' field that sends a space delimited list of
\r
58 > json-encoded notmuch tags.
\r
60 > Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
\r
62 I agree we need tags in json output, but I think that making the client
\r
63 parse the string of (space delimited?) tags defeats a bit the purpose of
\r
64 having json output. What do you think about
\r
66 "tags": [ "inbox", "unread" ]
\r
70 "tags": "inbox unread"
\r