--- /dev/null
+Return-Path: <markwalters1009@gmail.com>\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 2E110431FAF\r
+ for <notmuch@notmuchmail.org>; Sat, 27 Oct 2012 02:34:20 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.7\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.7 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
+ FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 N6mjLPIX7Mdc for <notmuch@notmuchmail.org>;\r
+ Sat, 27 Oct 2012 02:34:19 -0700 (PDT)\r
+Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
+ [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 8CA7E431FAE\r
+ for <notmuch@notmuchmail.org>; Sat, 27 Oct 2012 02:34:19 -0700 (PDT)\r
+Received: by mail-we0-f181.google.com with SMTP id u54so1954310wey.26\r
+ for <notmuch@notmuchmail.org>; Sat, 27 Oct 2012 02:34:17 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:cc:subject:date:message-id:x-mailer;\r
+ bh=BYD4FsoUt1vD5VqzI5J52W+DgHdlQpM7491EIB6sRnM=;\r
+ b=iBZkO1JMy3nUFyk0xk4YFaAnrQr7ACU/nt/QcOYGAu4aPW4Bs2/9LbORPnMJDly3Q7\r
+ qJl93PmOkaM7BZQ16/yOlj6mbacWUVu7eXMinSxJm26uMU2dVQPobdkvTxuzFiPPW9Lq\r
+ qFHQFH7iINCMSuc1SXe9r750rGszudW3AH1JKJH4Bd2udBY0NLdmh6wkkjFwWyEoX+ie\r
+ 3bWs0NxqFUn/cwHQxHW1QT2sIEWxdOm025Z2RoWlHVFZaX9XUxM/UdjElnL7+HiGKHOG\r
+ GOnewer4nLEuPGX6KwcXllwLcRsk7PIsIal0IMsIxyTfm17xTVNr+k/TLvmdDVBYmMo/\r
+ Jmxg==\r
+Received: by 10.216.145.156 with SMTP id p28mr13893215wej.140.1351330456938;\r
+ Sat, 27 Oct 2012 02:34:16 -0700 (PDT)\r
+Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
+ by mx.google.com with ESMTPS id b7sm1563250wiz.3.2012.10.27.02.34.14\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Sat, 27 Oct 2012 02:34:15 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v4 0/3] split async json parser into utility function\r
+Date: Sat, 27 Oct 2012 10:34:09 +0100\r
+Message-Id: <1351330452-8348-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\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: Sat, 27 Oct 2012 09:34:20 -0000\r
+\r
+This is version 4 of this patch set (v3 is at\r
+id:"1351037602-11157-1-git-send-email-markwalters1009@gmail.com"). It\r
+splits the async json parser into its own function and moves it to\r
+lib.\r
+\r
+This version is very similar to v3 except that it finished by moving\r
+the utility function to lib rather than leaving it notmuch.el. It also\r
+improves some of the docstrings to clarify how the function and\r
+variables work. I have not gone quite as far as suggested by Ethan as\r
+these variables are purely for internal use and Austin's code is well\r
+documented.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+\r
+Mark Walters (3):\r
+ emacs: Split out the incremental json parser into its own function\r
+ emacs: Rename incremental JSON internal variables\r
+ emacs: Move the incremental JSON parser to notmuch-lib.el\r
+\r
+ emacs/notmuch-lib.el | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++\r
+ emacs/notmuch.el | 48 +++---------------------------------\r
+ 2 files changed, 70 insertions(+), 44 deletions(-)\r
+\r
+-- \r
+1.7.9.1\r
+\r