[Patch v7 00/13] Add NOTMUCH_MESSAGE_FLAG_EXCLUDED flag
authorMark Walters <markwalters1009@gmail.com>
Thu, 1 Mar 2012 22:30:32 +0000 (22:30 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:45:08 +0000 (09:45 -0800)
1e/3fd9ab13c26f5e55b7400aa0a93d49a0503c38 [new file with mode: 0644]

diff --git a/1e/3fd9ab13c26f5e55b7400aa0a93d49a0503c38 b/1e/3fd9ab13c26f5e55b7400aa0a93d49a0503c38
new file mode 100644 (file)
index 0000000..0d4268c
--- /dev/null
@@ -0,0 +1,120 @@
+Return-Path: <markwalters1009@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id C5EB6431FAF\r
+       for <notmuch@notmuchmail.org>; Thu,  1 Mar 2012 14:29:06 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.7\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.7 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
+       FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id Rywowe13aa5K for <notmuch@notmuchmail.org>;\r
+       Thu,  1 Mar 2012 14:29:06 -0800 (PST)\r
+Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
+ [74.125.82.45])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 00F86431FAE   for <notmuch@notmuchmail.org>; Thu,  1 Mar 2012 14:29:05 -0800\r
+ (PST)\r
+Received: by wgbdt12 with SMTP id dt12so108365wgb.2\r
+       for <notmuch@notmuchmail.org>; Thu, 01 Mar 2012 14:29:03 -0800 (PST)\r
+Received-SPF: pass (google.com: domain of markwalters1009@gmail.com designates\r
+       10.180.78.6 as permitted sender) client-ip=10.180.78.6; \r
+Authentication-Results: mr.google.com; spf=pass (google.com: domain of\r
+       markwalters1009@gmail.com designates 10.180.78.6 as permitted\r
+       sender) smtp.mail=markwalters1009@gmail.com;\r
+       dkim=pass header.i=markwalters1009@gmail.com\r
+Received: from mr.google.com ([10.180.78.6])\r
+       by 10.180.78.6 with SMTP id x6mr6452193wiw.18.1330640943591 (num_hops =\r
+       1); Thu, 01 Mar 2012 14:29:03 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer;\r
+       bh=adgorRMLJ0rLfgfKwbAWB/GTlcrrfsRfNEyU/P1Jckk=;\r
+       b=IB7ZLOgG8pHVJKPO+Ydbi8GtegfigMCWWr5O0rFEGGGZrxFmn0uhDQiw90UXN/iOix\r
+       Rrq6Nm8snlRxA6glSAcXMMrzwWbIYQrZC8mmapyRnRl0nAKCWoQ6oNwTctJAc9uXR36J\r
+       we0Y4uyvF9Jb+ckRrp83+ZeV5fm+5/97NJEBO6dp+2pk6IrpcM0cRtTnvScibfBTUmz4\r
+       OXGtKVLQcV+sFawEIMIseszRVORA2PxHVJ3xfactqAH5bSYBnlSotvEcdEIAKHgR6E+U\r
+       ekuOjlejswDabeI2eoRrwfhpzBgPKoOhZ1ih9HpscNbIGnzjrFTl0Gn5SoYLcTlGoJIQ\r
+       W8rQ==\r
+Received: by 10.180.78.6 with SMTP id x6mr5197446wiw.18.1330640943546;\r
+       Thu, 01 Mar 2012 14:29:03 -0800 (PST)\r
+Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
+ [94.192.233.223])     by mx.google.com with ESMTPS id\r
+ fw5sm44677830wib.0.2012.03.01.14.29.00        (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Thu, 01 Mar 2012 14:29:01 -0800 (PST)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [Patch v7 00/13] Add NOTMUCH_MESSAGE_FLAG_EXCLUDED flag\r
+Date: Thu,  1 Mar 2012 22:30:32 +0000\r
+Message-Id: <1330641045-27416-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.2.3\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 01 Mar 2012 22:29:07 -0000\r
+\r
+This is essentially the same as\r
+id:"1330157204-26094-1-git-send-email-markwalters1009@gmail.com" but\r
+has been rebased against master. The changes are to patch 12/13 for\r
+notmuch-show.el (which was posted as a followup to the previous series)\r
+and to the tests (patch 9/13) which changed in Austin's JSON show\r
+rewrite.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+Mark Walters (13):\r
+  cli: add --no-exclude option to count and search.\r
+  cli: Add --no-exclude to the man pages for search and count\r
+  test: add tests for new cli --no-exclude option\r
+  lib: Rearrange the exclude code in query.cc\r
+  lib: Make notmuch_query_search_messages set the exclude flag\r
+  lib: Add the exclude flag to notmuch_query_search_threads\r
+  test: update search test to reflect exclude flag\r
+  cli: Make notmuch-show respect excludes.\r
+  test: update tests to reflect the exclude flag\r
+  man: update manpage for notmuch-show --no-exclude option\r
+  cli: omit excluded messages in results where appropriate.\r
+  emacs: show: recognize the exclude flag.\r
+  emacs: notmuch.el ignore excluded matches\r
+\r
+ emacs/notmuch-show.el     |   36 ++++++++++++++++-----\r
+ emacs/notmuch.el          |   22 +++++++------\r
+ lib/notmuch-private.h     |    8 +++-\r
+ lib/notmuch.h             |   16 +++++++--\r
+ lib/query.cc              |   77 +++++++++++++++++++++++++++++++++++++++------\r
+ lib/thread.cc             |   18 +++++++++--\r
+ man/man1/notmuch-count.1  |    7 ++++\r
+ man/man1/notmuch-search.1 |    7 ++++\r
+ man/man1/notmuch-show.1   |    7 ++++\r
+ notmuch-count.c           |   19 +++++++---\r
+ notmuch-search.c          |   26 ++++++++++++---\r
+ notmuch-show.c            |   31 ++++++++++++++++--\r
+ test/count                |   21 ++++++++++++\r
+ test/crypto               |    9 +++++-\r
+ test/encoding             |    2 +-\r
+ test/json                 |    6 ++--\r
+ test/maildir-sync         |    1 +\r
+ test/multipart            |    6 ++--\r
+ test/search               |    8 ++++-\r
+ test/thread-naming        |   16 +++++-----\r
+ 20 files changed, 273 insertions(+), 70 deletions(-)\r
+\r
+-- \r
+1.7.2.3\r
+\r