From: Jani Nikula Date: Sat, 1 Nov 2014 09:31:05 +0000 (+0200) Subject: [PATCH v2 0/2] cli: search --duplicate=N with --output=messages X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b7d7b68b4c279326b0e7e1c38ce13bc16d1cad6e;p=notmuch-archives.git [PATCH v2 0/2] cli: search --duplicate=N with --output=messages --- diff --git a/9a/a3969fd9521242650cccf52102d267ffc7fb00 b/9a/a3969fd9521242650cccf52102d267ffc7fb00 new file mode 100644 index 000000000..1c77e0c54 --- /dev/null +++ b/9a/a3969fd9521242650cccf52102d267ffc7fb00 @@ -0,0 +1,83 @@ +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 652E1431FD7 + for ; Sat, 1 Nov 2014 02:31:17 -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 Cn7tomNM1NdP for ; + Sat, 1 Nov 2014 02:31:11 -0700 (PDT) +Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com + [209.85.212.180]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 5F8E6431FAF + for ; Sat, 1 Nov 2014 02:31:11 -0700 (PDT) +Received: by mail-wi0-f180.google.com with SMTP id hi2so2979583wib.7 + for ; Sat, 01 Nov 2014 02:31:10 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:cc:subject:date:message-id; + bh=SWRH05RZWAvpzki1RB3asjbH13wMYp6LUbB8hNbaQLI=; + b=Ze+RW42whFXZ0LYdjkF4SidbfBfaKM9i2G7NgfwJfTQxPgScRB6lJLA91vicX6YBqO + yhuUPw2aahpe01SLUuNW/m5KAXypGbvwvBvGafmiM/EOeOofYLaghIr7Uw1PeL6qqEEm + /IZsK7/BNJnaWm/jwP2tyPUFCBrW3GwZlDnC7FDJ5vsTQg73czQzA7l9CpKKGlxl6vAM + dn6mPgX+2hYHDrlGm0LX3SgFeQ38wbA7DN2D+r7coAYLFq/QF+qBITxLrn7VujOfAxNK + Wk+aOfoUMqSYZ3UpzE0sqpY/vCjIaKgq9TejgDkfIL5YVr3l4odzPOUlvJ8d6zExEZW5 + lszg== +X-Gm-Message-State: + ALoCoQk12+iT1wgYzeSIWAWPXS9uJmVsm7VjVrnIWRpVc/x++M2OoWusdHb6QXBp6+d3b90vtjvB +X-Received: by 10.180.79.196 with SMTP id l4mr2919952wix.72.1414834269968; + Sat, 01 Nov 2014 02:31:09 -0700 (PDT) +Received: from localhost (dsl-hkibrasgw2-58c36d-48.dhcp.inet.fi. + [88.195.109.48]) + by mx.google.com with ESMTPSA id f9sm14499427wjw.31.2014.11.01.02.31.08 + for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Sat, 01 Nov 2014 02:31:09 -0700 (PDT) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH v2 0/2] cli: search --duplicate=N with --output=messages +Date: Sat, 1 Nov 2014 11:31:05 +0200 +Message-Id: +X-Mailer: git-send-email 2.1.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: Sat, 01 Nov 2014 09:31:17 -0000 + +This is v2 of [1], rebased, tests added, no functional changes. + +BR, +Jani. + +[1] id:1414705489-30771-1-git-send-email-jani@nikula.org + +Jani Nikula (2): + cli: add support for notmuch search --duplicate=N with + --output=messages + test: add tests for --output=messages --duplicate=N + + doc/man1/notmuch-search.rst | 12 ++++++++---- + notmuch-search.c | 35 +++++++++++++++++++++++++++++++---- + test/T090-search-output.sh | 37 +++++++++++++++++++++++++++++++++++++ + 3 files changed, 76 insertions(+), 8 deletions(-) + +-- +2.1.1 +