Re: [notmuch] RFC: output json from notmuch?
authorDavid Bremner <david@tethera.net>
Mon, 14 Dec 2009 23:10:12 +0000 (19:10 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:53 +0000 (09:35 -0800)
b9/29ea006904f7b2d5ce2e1a7c8681484cbc099d [new file with mode: 0644]

diff --git a/b9/29ea006904f7b2d5ce2e1a7c8681484cbc099d b/b9/29ea006904f7b2d5ce2e1a7c8681484cbc099d
new file mode 100644 (file)
index 0000000..36ce534
--- /dev/null
@@ -0,0 +1,64 @@
+Return-Path: <bremner@pivot.cs.unb.ca>\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 058BF431FAE\r
+       for <notmuch@notmuchmail.org>; Mon, 14 Dec 2009 15:10:21 -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 Gjv73Ey4Hqyn for <notmuch@notmuchmail.org>;\r
+       Mon, 14 Dec 2009 15:10:19 -0800 (PST)\r
+Received: from pivot.cs.unb.ca (pivot.cs.unb.ca [131.202.240.57])\r
+       by olra.theworths.org (Postfix) with ESMTP id 14BBB431FBC\r
+       for <notmuch@notmuchmail.org>; Mon, 14 Dec 2009 15:10:19 -0800 (PST)\r
+Received: from\r
+       fctnnbsc30w-142167182194.pppoe-dynamic.high-speed.nb.bellaliant.net\r
+       ([142.167.182.194] helo=localhost)\r
+       by pivot.cs.unb.ca with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32)\r
+       (Exim 4.69) (envelope-from <bremner@pivot.cs.unb.ca>)\r
+       id 1NKK3W-00034a-9F; Mon, 14 Dec 2009 19:10:18 -0400\r
+Received: from bremner by localhost with local (Exim 4.69)\r
+       (envelope-from <bremner@pivot.cs.unb.ca>)\r
+       id 1NKK3Q-0003wC-UG; Mon, 14 Dec 2009 19:10:12 -0400\r
+From: David Bremner <david@tethera.net>\r
+To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org\r
+In-Reply-To: <87k4wp2noq.fsf@yoom.home.cworth.org>\r
+References: <87iqcapijl.fsf@pivot.cs.unb.ca>\r
+       <87k4wp2noq.fsf@yoom.home.cworth.org>\r
+Date: Mon, 14 Dec 2009 19:10:12 -0400\r
+Message-ID: <87skbdcfu3.fsf@pivot.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Sender-Verified: bremner@pivot.cs.unb.ca\r
+Subject: Re: [notmuch] RFC: output json from notmuch?\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: Mon, 14 Dec 2009 23:10:21 -0000\r
+\r
+On Mon, 14 Dec 2009 14:30:45 -0800, Carl Worth <cworth@cworth.org> wrote:\r
+\r
+> I'm still not sure of the need to depend on a library just to *generate*\r
+> any particular format. I would expect that job to be so constrained as\r
+> to be almost trivial. I won't necessarily block a patch based on that,\r
+> but I think we should at least look at how easy it would be to just emit\r
+> the syntax manually.\r
+\r
+OK, I'll wait for Scott's patch, and see how he is using cJSON. Just\r
+stealing a few functions might be the way to go.\r
+\r
+The cJSON code is less horrifying after running through indent. Now all\r
+we need is "indent --carl" :)\r
+\r
+d\r
+\r