Re: [notmuch] RFC: output json from notmuch?
authorCarl Worth <cworth@cworth.org>
Mon, 14 Dec 2009 22:41:55 +0000 (14:41 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:53 +0000 (09:35 -0800)
49/262b056f75af26b0ab975365ae96ddef70f254 [new file with mode: 0644]

diff --git a/49/262b056f75af26b0ab975365ae96ddef70f254 b/49/262b056f75af26b0ab975365ae96ddef70f254
new file mode 100644 (file)
index 0000000..dcb6463
--- /dev/null
@@ -0,0 +1,83 @@
+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 2DA39431FBD;\r
+       Mon, 14 Dec 2009 14:41:57 -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 P59roiGagF50; Mon, 14 Dec 2009 14:41:56 -0800 (PST)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 401A1431FAE;\r
+       Mon, 14 Dec 2009 14:41:56 -0800 (PST)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id E5211254307; Mon, 14 Dec 2009 14:41:55 -0800 (PST)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: David Bremner <bremner@unb.ca>, Scott Robinson <scott@quadhome.com>,\r
+       notmuch <notmuch@notmuchmail.org>\r
+In-Reply-To: <87eimypesg.fsf@pivot.cs.unb.ca>\r
+References: <87iqcapijl.fsf@pivot.cs.unb.ca>\r
+       <87hbrupib9.fsf@pivot.cs.unb.ca> <1260749055-sup-6010@lisa>\r
+       <87eimypesg.fsf@pivot.cs.unb.ca>\r
+Date: Mon, 14 Dec 2009 14:41:55 -0800\r
+Message-ID: <87hbrt2n64.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] 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 22:41:57 -0000\r
+\r
+--=-=-=\r
+\r
+On Sun, 13 Dec 2009 20:42:07 -0400, David Bremner <bremner@unb.ca> wrote:\r
+> On a different topic (and in response to Carl and your earlier\r
+> discussion), as a counter-weight to the desire to avoid dependencies\r
+> (which I agree with), I also think we should be careful about how many\r
+> embedded copies of code there are, from the point of keeping up with\r
+> security problems.  This is probably a bias I picked up from Debian.\r
+\r
+Embedded copies of code already packaged in Debian is something to\r
+avoid, definitely. I'm not actively against having dependencies for\r
+functionality that makes sense.\r
+\r
+For example, the current libsha1 code in notmuch has been the subject of\r
+a debate about embedded code copies here on the list already. If\r
+somebody would like to maintain that code as a Debian package, then I\r
+would be happy to depend on it that way rather than having an embedded\r
+copy inside notmuch.\r
+\r
+For something like JSON output, I really can't see how we need an\r
+external library. The job we're talking about is changing our current\r
+delimiters and then fixing our code to properly quote delimiters\r
+appearing in the content. That doesn't sound like a job that needs a\r
+library.\r
+\r
+(Meanwhile, if we were parsing JSON, then I'd be happy to depend on a\r
+library for that.)\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
+iD8DBQFLJr8z6JDdNq8qSWgRAp0eAJ94yJ9Ns0HvBJKV/XnsVdCZ2rAxSgCdEk/2\r
+tWBpxbEhDpXNUuAnxI9MZJI=\r
+=vJUo\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r