From: Mark Walters Date: Sat, 11 May 2013 19:50:01 +0000 (+0100) Subject: [PATCH v2 0/8] search --exclude=all X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2f2b4048327c2430cd71db478774acb856f0ea00;p=notmuch-archives.git [PATCH v2 0/8] search --exclude=all --- diff --git a/4b/74a3ded9818f227d8f673be139f518f8e33cdd b/4b/74a3ded9818f227d8f673be139f518f8e33cdd new file mode 100644 index 000000000..56ed14ce0 --- /dev/null +++ b/4b/74a3ded9818f227d8f673be139f518f8e33cdd @@ -0,0 +1,97 @@ +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 1F561431FBF + for ; Sat, 11 May 2013 12:50:23 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.7 +X-Spam-Level: ** +X-Spam-Status: No, score=2.7 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, + FREEMAIL_REPLY=2.499, 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 LD1hRRR+V-aZ for ; + Sat, 11 May 2013 12:50:18 -0700 (PDT) +Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com + [74.125.82.48]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 8C3A1431FAE for ; Sat, 11 May 2013 12:50:18 -0700 + (PDT) +Received: by mail-wg0-f48.google.com with SMTP id f11so4957612wgh.3 + for ; Sat, 11 May 2013 12:50:16 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=x-received:from:to:cc:subject:date:message-id:x-mailer; + bh=6jjqbtJ+296YOEra8fjHYUn+Ee4LxMUyJMINR8o90qc=; + b=Rtxak4vU4+xP0ArEJPuzbRixoyecdAJnqYbdaeA6iqalQTX+HT0vdciik3EKmcgVwj + SdXlKhuykgCgDdB7jbX7nN091OWZkTGhDI1Xji/ltOdP7NqhuEkKIUi2PZ32TTU2+Plk + 7gbYcjjKbDzGDlISaahf0/vDHCcM9lzllfFkJvzGJCY3gylVulCtNI2gDfQgPj5or53p + Uo2N6C4TKTkJK5Zq3TGHNuy2iVwh3W5UVzVloAnxEMkiGUe0wrqqA5rEoMtmGjkuUQ3r + JsanFPIGIj6hUdtdFN6MHKJBxq+h/Fa9HdxKkIkZ0DJYmPloAIYXyMLkDlnaZD9zis3A + qWjg== +X-Received: by 10.180.210.225 with SMTP id mx1mr10426834wic.15.1368301816075; + Sat, 11 May 2013 12:50:16 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id i4sm5617238wix.10.2013.05.11.12.50.14 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sat, 11 May 2013 12:50:15 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v2 0/8] search --exclude=all +Date: Sat, 11 May 2013 20:50:01 +0100 +Message-Id: <1368301809-12532-1-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.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, 11 May 2013 19:50:23 -0000 + +This is a rebased version of +id:1340198947-29370-1-git-send-email-novalazy@gmail.com I have not +tested it significantly in this form but the rebasing looks ok and all +the tests pass. + +Best wishes + +Mark + + + + +Mark Walters (2): + lib: add --exclude=all option + cli: add --exclude=all option to notmuch-search.c + +Peter Wang (6): + test: add tests for search --exclude=all + man: clarify search --exclude documentation + man: clarify search --exclude=flag + man: document search --exclude=all + lib: add NOTMUCH_EXCLUDE_FLAG to notmuch_exclude_t + cli: use notmuch_exclude_t in option parser + + lib/notmuch-private.h | 1 + + lib/notmuch.h | 23 ++++++++++++++++------- + lib/query.cc | 14 +++++++++----- + lib/thread.cc | 41 ++++++++++++++++++++++++++++++----------- + man/man1/notmuch-search.1 | 29 +++++++++++++++++++++++------ + notmuch-search.c | 24 +++++++++--------------- + test/excludes | 22 ++++++++++++++++++++++ + 7 files changed, 110 insertions(+), 44 deletions(-) + +-- +1.7.9.1 +