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 8A158431FAF for ; Sat, 7 Apr 2012 09:10:07 -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 7b5+MpbHbSLF for ; Sat, 7 Apr 2012 09:10:06 -0700 (PDT) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id B1F16431FAE for ; Sat, 7 Apr 2012 09:10:06 -0700 (PDT) Received: by werm13 with SMTP id m13so2289308wer.26 for ; Sat, 07 Apr 2012 09:10:05 -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=kgTtL8cgDMNxq/plClpmQy+Sonyi/AKoU2hTpE6f6tc=; b=iUeE+qQC1aRY2ZBB/tpW3o6F80+fOlMLB1f32eJCEdyDNpjhI7ePjGE6iPz1youfmy nHSKA/0bj1fgJBYAHMEqOr4DmylQXZub8R29eLRHksKvBnWn6hu/52EpUpHbTd3iZQYA CQ4AizjEntJoxK06jTBv5tdpXmDupKxP7P5vmTzpcyYW1rSiEUd7tLIbHycnYHnX3C4H 1CbVt+Q1nKmWGytkfEgD8m3kYxLcB09bB3f2MDhbElIphNzif94oOv1tsR2mvPAGFogF GWqNFNQlCZuXGkgxB9wq2A/64chIyNtgetC5i4IL7z4W3z2QUBJvnD+A8WcpcnpBOI2g sjGQ== Received: by 10.180.82.136 with SMTP id i8mr3842265wiy.19.1333815005317; Sat, 07 Apr 2012 09:10:05 -0700 (PDT) Received: from localhost (94.197.17.51.threembb.co.uk. [94.197.17.51]) by mx.google.com with ESMTPS id j3sm25374010wiw.1.2012.04.07.09.10.02 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 07 Apr 2012 09:10:04 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH v4 0/6] Move --no-exclude to --exclude=(true|false|flag) Date: Sat, 7 Apr 2012 17:10:02 +0100 Message-Id: <1333815008-24668-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, 07 Apr 2012 16:10:07 -0000 This is version 4 of the exclude= patch set. Version 3 was at [1]. The only changes relative to version 3 are in the tests. As suggested by jrollins [2] I have added some systematic count and show tests and moved all the exclude tests to the file test/excludes. Best wishes Mark [1] id:"1333716551-29153-1-git-send-email-markwalters1009@gmail.com" [2] id:"877gxs7ryv.fsf@servo.finestructure.net" Mark Walters (6): lib: change default for notmuch_query_set_omit_excluded cli: move count to the new --exclude=(true|false|flag) naming scheme. cli: move search to the new --exclude= naming scheme. cli: move show to the new --exclude= option naming scheme. test: add some exclude tests emacs: make show set --exclude=false emacs/notmuch-show.el | 6 +- lib/notmuch.h | 23 ++- lib/query.cc | 10 +- man/man1/notmuch-count.1 | 5 +- man/man1/notmuch-search.1 | 12 +- man/man1/notmuch-show.1 | 16 ++- notmuch-client.h | 1 + notmuch-count.c | 17 ++- notmuch-search.c | 32 +++- notmuch-show.c | 50 ++++-- test/count | 21 --- test/excludes | 423 +++++++++++++++++++++++++++++++++++++++++++++ test/notmuch-test | 1 + test/search | 48 ----- 14 files changed, 544 insertions(+), 121 deletions(-) create mode 100755 test/excludes -- 1.7.9.1