From: Jani Nikula Date: Sun, 31 Mar 2013 09:45:57 +0000 (+0300) Subject: [PATCH v3 0/6] batch count for notmuch-hello speedup X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=23888e0dadca2daca128e9fa93c7f5142af4ad2f;p=notmuch-archives.git [PATCH v3 0/6] batch count for notmuch-hello speedup --- diff --git a/37/22cb36ed234c6f4ea54039306a230eac2efaf7 b/37/22cb36ed234c6f4ea54039306a230eac2efaf7 new file mode 100644 index 000000000..28a497d86 --- /dev/null +++ b/37/22cb36ed234c6f4ea54039306a230eac2efaf7 @@ -0,0 +1,90 @@ +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 037E2431FBF + for ; Sun, 31 Mar 2013 02:46:10 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[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 I5wF7lNYZpGY for ; + Sun, 31 Mar 2013 02:46:09 -0700 (PDT) +Received: from mail-la0-f42.google.com (mail-la0-f42.google.com + [209.85.215.42]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 3FC92431FAE + for ; Sun, 31 Mar 2013 02:46:09 -0700 (PDT) +Received: by mail-la0-f42.google.com with SMTP id fe20so1462294lab.15 + for ; Sun, 31 Mar 2013 02:46:06 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=x-received:from:to:cc:subject:date:message-id:x-mailer + :x-gm-message-state; + bh=tHoOAdPUqRHnLPGvzuObefB3/HIRfF+v5U72Rc+txaY=; + b=a4C1NvMHj5037p3V/sMq4rFdY1c879HF21w4d5t6of1yol3YaZsAVOlbCK+QjN3pB1 + FlPXAtbzbg3/Ogi+R/jtgXzWifk+EG0vhe2dF7CMWceYi5RAhFIxtsc1DKQrcFlNwEmb + 9KONKQulchWmNLSEbz7PQIyCKPY+Dg7Tmayk5k0z8VNo6FDzWtP6MyL/hghn/AmRPJuf + 6NmWP5KBUbA0f0g9UnLGXg0+jTl0tqvXlpDZrL0krxMFIN45yz+qeJGLBKm6DPYb9ZII + y/h2E9eoqgq/3pZS8iA1iPukMQ9JVuszO0UXbnSV/m7gG8lYytOCkxJrhI5lSliKnpPi + TUWA== +X-Received: by 10.112.162.40 with SMTP id xx8mr4028523lbb.30.1364723166427; + Sun, 31 Mar 2013 02:46:06 -0700 (PDT) +Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi. + [80.223.81.27]) + by mx.google.com with ESMTPS id iq6sm3749755lab.10.2013.03.31.02.46.04 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sun, 31 Mar 2013 02:46:05 -0700 (PDT) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH v3 0/6] batch count for notmuch-hello speedup +Date: Sun, 31 Mar 2013 12:45:57 +0300 +Message-Id: +X-Mailer: git-send-email 1.7.10.4 +X-Gm-Message-State: + ALoCoQnW9841aHAIYqr5zXj1pkOgJ0QtuOorIxjEih1BzGXbq4BBmkP5mGStOz0QWoK2bYPIP6BH +Cc: Tomi Ollila +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: Sun, 31 Mar 2013 09:46:10 -0000 + +This is v3 of id:cover.1362841844.git.jani@nikula.org, with the commit +messages of patches 1/6 and 3/6 fixed. No other changes. Thanks to +Jameson and Tomi for review, and of course Mark for the elisp part. + +BR, +Jani. + +Jani Nikula (5): + cli: remove useless talloc_strdup + cli: extract count printing to a separate function in notmuch count + cli: add --batch option to notmuch count + man: document notmuch count --batch and --input options + test: notmuch count --batch and --input options + +Mark Walters (1): + emacs: hello: use batch count + + emacs/notmuch-hello.el | 52 +++++++++++++--------- + man/man1/notmuch-count.1 | 20 +++++++++ + notmuch-count.c | 111 +++++++++++++++++++++++++++++++++++----------- + test/count | 46 +++++++++++++++++++ + 4 files changed, 182 insertions(+), 47 deletions(-) + +-- +1.7.10.4 +