--- /dev/null
+Return-Path: <cworth@cworth.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 8905C431FC0;\r
+ Fri, 18 Dec 2009 09:31:40 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id Xq7nmkE3zDTx; Fri, 18 Dec 2009 09:31:40 -0800 (PST)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id DD571431FAE;\r
+ Fri, 18 Dec 2009 09:31:39 -0800 (PST)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+ id E75DC254306; Fri, 18 Dec 2009 09:31:39 -0800 (PST)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Scott Robinson <scott@quadhome.com>, notmuch <notmuch@notmuchmail.org>\r
+In-Reply-To: <1261114167-sup-8228@lisa>\r
+References: <87iqcapijl.fsf@pivot.cs.unb.ca>\r
+ <87k4wp2noq.fsf@yoom.home.cworth.org> <87skbdcfu3.fsf@pivot.cs.unb.ca>\r
+ <1261114167-sup-8228@lisa>\r
+Date: Fri, 18 Dec 2009 09:31:39 -0800\r
+Message-ID: <87k4wkyyro.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+ micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Subject: Re: [notmuch] [PATCH] JSON output for notmuch-search and\r
+ notmuch-show.\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 18 Dec 2009 17:31:40 -0000\r
+\r
+--=-=-=\r
+\r
+On Thu, 17 Dec 2009 21:33:54 -0800, Scott Robinson <scott@quadhome.com> wrote:\r
+> I took an earlier suggestion and didn't use cJSON, instead writing custom code\r
+> for emitting the new format.\r
+\r
+Nice! I have a few comments below.\r
+\r
+> Added an "--output=(json|text|)" command-line option to both\r
+> notmuch-search and notmuch-show.\r
+\r
+I don't know why, but I think I'd prefer --format for the name here.\r
+\r
+> In the case of notmuch-show, "--output=json" also implies\r
+> "--entire-thread" as the thread structure is implicit in the emitted\r
+> document tree.\r
+\r
+It looks like the new documentation is missing that point, (and the man\r
+page in notmuch.1 is missing an update as well).\r
+\r
+> As a coincidence to the implementation, multipart message ID numbers are\r
+> now incremented with each part printed. This changes the previous\r
+> semantics, which were unclear and not necessary related to the actual\r
+> ordering of the message parts.\r
+\r
+That's just fine. The old numbering semantics were quite bizarre and\r
+nothing I wanted to set it stone.\r
+\r
+-Carl\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFLK7x76JDdNq8qSWgRAuSOAKCANgJ6gLQYCeFR4VqJTBM10+KKaQCeLu50\r
+5+NcG1MAD8+waJuQgX9Bj6k=\r
+=oUHF\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r