From: Mark Walters Date: Wed, 24 Oct 2012 00:13:19 +0000 (+0100) Subject: [PATCH v3 0/3] split async json parser into utility function X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=35a80f3657678059832b121583d89ec90d1809e7;p=notmuch-archives.git [PATCH v3 0/3] split async json parser into utility function --- diff --git a/d7/2798f8ed45751b741604375626019a5a5641b7 b/d7/2798f8ed45751b741604375626019a5a5641b7 new file mode 100644 index 000000000..3bb3c854f --- /dev/null +++ b/d7/2798f8ed45751b741604375626019a5a5641b7 @@ -0,0 +1,88 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 04BF5431FAF + for ; Tue, 23 Oct 2012 17:13:38 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.201 +X-Spam-Level: +X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id TX12wsDzYcB0 for ; + Tue, 23 Oct 2012 17:13:37 -0700 (PDT) +Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com + [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 52B53431FAE for ; Tue, 23 Oct 2012 17:13:37 -0700 + (PDT) +Received: by mail-wg0-f45.google.com with SMTP id dq12so2953273wgb.2 + for ; Tue, 23 Oct 2012 17:13:36 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id:x-mailer; + bh=5NIIQXYZM4KUQsvRuMS/YWe4BaydPb4iYBm/VJgBFKs=; + b=eIW24NxGifNTyviiFOznf3fzKv5OPTHZV446UtkOED9BCKkTh2WGTjFs7s72BPUKEi + o3i9Jq6FcOPzYETwl9BX8BWhOofCv2ZWuT1LElh9eNq03Xq6l9HLGvcU45wPBkdh/S3h + cvYts6VX0Jf5VJEQZCCIkcJU1g0yMmYWBH1a3iCb7uTCyHgGrF2tbzFi2SWhHe/+RQEY + ixB4xgVi2Qg5s4zDKFZ4OanAf0626E9f0J6Pc5/9bzZi6u3O1HlDBEoEii6BvymzIgG/ + mTIKeQcc/Prw5taZXeW3I681hQBcSIlZSLUIsf81oxkRV14u8/ThdShUhgEUU2M0P72X + 75+g== +Received: by 10.180.77.38 with SMTP id p6mr1625035wiw.1.1351037615963; + Tue, 23 Oct 2012 17:13:35 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPS id eq2sm1603855wib.1.2012.10.23.17.13.33 + (version=TLSv1/SSLv3 cipher=OTHER); + Tue, 23 Oct 2012 17:13:34 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v3 0/3] split async json parser into utility function +Date: Wed, 24 Oct 2012 01:13:19 +0100 +Message-Id: <1351037602-11157-1-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 24 Oct 2012 00:13:38 -0000 + +This series splits the async json parser into its own function. The +previous version is at id:"87k3xlyoek.fsf@qmul.ac.uk". + +This version splits that patch into three bits: the first contains all +the actual changes, the second changes some variable names and fixes +the whitespace, and the third just moves some code. + +The only functional change compared to that version is a small +correction to the way the error function was called. It also gives a +better docstring for some of the variables. + +Best wishes + +Mark + + + +Mark Walters (3): + emacs: Split out the incremental json parser into its own function. + emacs: Rename incremental JSON internal variables. + emacs: Code movement for the incremental JSON parser. + + emacs/notmuch.el | 101 +++++++++++++++++++++++++++++++----------------------- + 1 files changed, 58 insertions(+), 43 deletions(-) + +-- +1.7.9.1 +