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 625B7431FBF for ; Wed, 20 Jun 2012 06:29:22 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 xSTjcefmdr97 for ; Wed, 20 Jun 2012 06:29:21 -0700 (PDT) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id B378A431FAF for ; Wed, 20 Jun 2012 06:29:21 -0700 (PDT) Received: by pbbrr13 with SMTP id rr13so756176pbb.26 for ; Wed, 20 Jun 2012 06:29:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=VB66Pe4pRttl+jw30bg+JM02k09hV5xCKqrl+ZpN2rU=; b=GucWJcEJhlId6QViv6Ekq7rpOpx13bLGcWHDNEYqVgxlrSAmy/B+psZ6TLipAcIim1 nRp/+7br+5/NfXn5Mn3JSryLR/DMnbVGo9R7T1DQ5a097npYsar4gSbGGX1ZDTv7AT98 8Q2G2e7x5lovabVJW2EaiCMuUOv6cod0RFWnBVkVjUlCZWi7ewQBHv9oqaaNuRvChj0X hDoOEHuayQZb0lN+HVtcO09P3dLRkoBY+FuRKsR6B+5e/GEgruD2537E+GU2OsfmbQDh JGetoKoxM68VVI1v5utyB5UWLLHMB14AB2QDds9EIoN6+gTwB2tbc3kWRdWML/mGjK+h 8eIg== Received: by 10.68.213.234 with SMTP id nv10mr76278202pbc.56.1340198959839; Wed, 20 Jun 2012 06:29:19 -0700 (PDT) Received: from localhost (215.42.233.220.static.exetel.com.au. [220.233.42.215]) by mx.google.com with ESMTPS id qm6sm31949177pbc.10.2012.06.20.06.29.17 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Jun 2012 06:29:18 -0700 (PDT) From: Peter Wang To: notmuch@notmuchmail.org Subject: [PATCH 0/8] search --exclude=all Date: Wed, 20 Jun 2012 23:28:59 +1000 Message-Id: <1340198947-29370-1-git-send-email-novalazy@gmail.com> X-Mailer: git-send-email 1.7.4.4 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: Wed, 20 Jun 2012 13:29:22 -0000 Hi, This is Mark's change to add search --exclude=all. I mainly just updated a comment and added some documentation. 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 | 28 ++++++++++++++++++++++------ notmuch-search.c | 24 +++++++++--------------- test/excludes | 22 ++++++++++++++++++++++ 7 files changed, 109 insertions(+), 44 deletions(-) -- 1.7.4.4