From 67e367ddd464d6410c37d86dd804184cb9d96995 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sun, 9 Jun 2013 14:03:06 +0300 Subject: [PATCH] [PATCH v2 0/7] cli: better tooling support for duplicate messages --- 70/faa4b11f924fa1cf06a85c23b3ad334633cdc2 | 91 +++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 70/faa4b11f924fa1cf06a85c23b3ad334633cdc2 diff --git a/70/faa4b11f924fa1cf06a85c23b3ad334633cdc2 b/70/faa4b11f924fa1cf06a85c23b3ad334633cdc2 new file mode 100644 index 000000000..45667e163 --- /dev/null +++ b/70/faa4b11f924fa1cf06a85c23b3ad334633cdc2 @@ -0,0 +1,91 @@ +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 1FB56431FBC + for ; Sun, 9 Jun 2013 04:03:28 -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 BRuN+IyYfjQW for ; + Sun, 9 Jun 2013 04:03:20 -0700 (PDT) +Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com + [209.85.217.178]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 925DE431FAE + for ; Sun, 9 Jun 2013 04:03:20 -0700 (PDT) +Received: by mail-lb0-f178.google.com with SMTP id y6so3996792lbh.9 + for ; Sun, 09 Jun 2013 04:03:19 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; + bh=c1BYkwag8GofRZ7eRL8J9ICYrFN/IXuAIajsh1khri0=; + b=aYglaygFHyGv5v3uylcLHSmgIREeycUkSdJN4zuDzJWqtkAlIxAs+rBaJbGMbwzbjl + FGieNTJLvvYQ94HV/355hNM8lzLhHZdLExPOQR+WfN9rLjfKd801//xX406VswJidO2h + nWxrNitS6lN/lFSt643ElzpAfMoN1KRCsvFWCHqdQjgpQ+7UYpaZIwc/kRGApi7slZoF + qtKTMkBY+fHLGi4U6RW3yF7goRY4vcrG1VMJsjeiCAmOqprdusE0orvvuEXhwZA87+MV + IyEcBrSnoPV9MNUNml3Fzg+ZjYat39AEzntPUBMp6CIha6jAcnoKXJRbQV0Xdyxyb/+i + NVmQ== +X-Received: by 10.152.43.52 with SMTP id t20mr2803645lal.62.1370775799079; + Sun, 09 Jun 2013 04:03:19 -0700 (PDT) +Received: from localhost (dsl-hkibrasgw2-58c376-211.dhcp.inet.fi. + [88.195.118.211]) + by mx.google.com with ESMTPSA id i2sm2536004lah.5.2013.06.09.04.03.16 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sun, 09 Jun 2013 04:03:17 -0700 (PDT) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH v2 0/7] cli: better tooling support for duplicate messages +Date: Sun, 9 Jun 2013 14:03:06 +0300 +Message-Id: +X-Mailer: git-send-email 1.7.10.4 +X-Gm-Message-State: + ALoCoQl2lgXrF32DEHmDGrZC/EmlS3N31VnZu3UUBV9R/L2ifBX/aAARSbTxkzJcEPcYaSyVV0PQ +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, 09 Jun 2013 11:03:28 -0000 + +v2 of id:cover.1368467532.git.jani@nikula.org + +The only change is switching to 1-based indexing for --duplicate=N option. + +Jani. + + +Jani Nikula (7): + cli: add --duplicate=N option to notmuch search + test: test notmuch search --duplicate=N + man: document notmuch search --duplicate=N + cli: add --output=files option to notmuch count + test: test notmuch count --output=files + man: document notmuch count --output=files + NEWS: cli options for improved duplicate message handling + + NEWS | 12 +++++++++ + man/man1/notmuch-count.1 | 10 ++++++- + man/man1/notmuch-search.1 | 11 ++++++++ + notmuch-count.c | 37 ++++++++++++++++++++++++++ + notmuch-search.c | 18 ++++++++----- + test/count | 10 +++++++ + test/search-output | 65 +++++++++++++++++++++++++++++++++++++++++++++ + 7 files changed, 156 insertions(+), 7 deletions(-) + +-- +1.7.10.4 + -- 2.26.2