[PATCH v3 0/6] batch count for notmuch-hello speedup
authorJani Nikula <jani@nikula.org>
Sun, 31 Mar 2013 09:45:57 +0000 (12:45 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:54:08 +0000 (09:54 -0800)
37/22cb36ed234c6f4ea54039306a230eac2efaf7 [new file with mode: 0644]

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