From f8f4f12664e950586395db59ac6fd81124ce6316 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sat, 9 Mar 2013 17:12:20 +0200 Subject: [PATCH] [PATCH v2 0/6] batch count for notmuch-hello speedup --- ed/0e1b396b72edf653c60870b9cbf40330e4aa56 | 84 +++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 ed/0e1b396b72edf653c60870b9cbf40330e4aa56 diff --git a/ed/0e1b396b72edf653c60870b9cbf40330e4aa56 b/ed/0e1b396b72edf653c60870b9cbf40330e4aa56 new file mode 100644 index 000000000..5b0732594 --- /dev/null +++ b/ed/0e1b396b72edf653c60870b9cbf40330e4aa56 @@ -0,0 +1,84 @@ +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 1080C431FAF + for ; Sat, 9 Mar 2013 07:12:32 -0800 (PST) +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 HBDkyJujCoB8 for ; + Sat, 9 Mar 2013 07:12:31 -0800 (PST) +Received: from mail-la0-f47.google.com (mail-la0-f47.google.com + [209.85.215.47]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 54B85431FAE + for ; Sat, 9 Mar 2013 07:12:31 -0800 (PST) +Received: by mail-la0-f47.google.com with SMTP id fj20so2620311lab.34 + for ; Sat, 09 Mar 2013 07:12:29 -0800 (PST) +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=OOTahtkp2Yb3S5cZG4A+ZKUopSUpCYcccs+/hVnUxas=; + b=knvLf1zvN/4MgvZ7lYfsgCBtH8ldAEaRBURHqy86lSZCbuIL+4OEdfpnBMCxPJXgPO + h2N03jwx05iwRilH6y7Pheq64OiPxqMb7enZvH+KZXoz2KG2DDDFBML0Crr33G0d0CW0 + F6GTRXxPbkxIpTEGAX4qagmu4fzaU+E9c2UIDi43dftz8UxBLRWXLeGAhO8x+QipHaza + ckXoSXJUbaRe0IYxPd1yqVYUcqHAGiCbXu89b/QIgHljlSq1LMHMkoIsh4Ragn6MIvJV + jy0XM7qY/oeSgaGYnjQLJzv0t09kpkmbmSf/QXnkNMmKBSx+BLSBz/p4MEvpM+j2lcyT + W4zQ== +X-Received: by 10.152.104.199 with SMTP id gg7mr5180820lab.14.1362841949655; + Sat, 09 Mar 2013 07:12:29 -0800 (PST) +Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi. + [80.223.81.27]) + by mx.google.com with ESMTPS id fz16sm4276058lab.5.2013.03.09.07.12.27 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sat, 09 Mar 2013 07:12:28 -0800 (PST) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH v2 0/6] batch count for notmuch-hello speedup +Date: Sat, 9 Mar 2013 17:12:20 +0200 +Message-Id: +X-Mailer: git-send-email 1.7.10.4 +X-Gm-Message-State: + ALoCoQkaKTozVesU8qXXiVO9xzCiaq/4VP4XnpPxX8bm0FDAWPc2rpuOk0fC5ihfei1D6NYREF2A +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: Sat, 09 Mar 2013 15:12:32 -0000 + +Rebased v2 of id:cover.1358273133.git.jani@nikula.org + +Jani Nikula (5): + cli: remove useless 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 + -- 2.26.2