Re: [PATCH] add has: query prefix to search for specific properties
[notmuch-archives.git] / 7b / 1be2ab4215dffb47dfce606532a17bac1cda7f
1 Return-Path: <markwalters1009@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 522F4431FB6\r
6         for <notmuch@notmuchmail.org>; Thu, 15 Mar 2012 11:42:11 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 2.7\r
10 X-Spam-Level: **\r
11 X-Spam-Status: No, score=2.7 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         FREEMAIL_REPLY=2.499, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id 4+WskcPbZRLs for <notmuch@notmuchmail.org>;\r
18         Thu, 15 Mar 2012 11:42:10 -0700 (PDT)\r
19 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
20         [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 97F62431FAE\r
23         for <notmuch@notmuchmail.org>; Thu, 15 Mar 2012 11:42:10 -0700 (PDT)\r
24 Received: by werm13 with SMTP id m13so3528469wer.26\r
25         for <notmuch@notmuchmail.org>; Thu, 15 Mar 2012 11:42:09 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:x-mailer;\r
28         bh=nq4KjqC/VpNEL4SsZfUDNb7FY6BcAltkUaiBlMsEw40=;\r
29         b=c5yGuc1+yHV3/BJ8tz9tWHqDgKK028Gi6Z0QjdGpD4xaucFkxLEJDXmVG92X7UhUzM\r
30         8/dYMD1Oi1ekqWrnowRk7py+QxKR9JqIKEbgPUTYyuOchshUVM8g8aRT7vFTZJwQRHU/\r
31         hUCWL6gLENZaQ60bahGKsI1AWk6oY1kYgBTqblcwF4brS2e0ZD4bauqw3+Pn7FMrZ36W\r
32         CregJBQNHXCBQv0cv6z5ICYde9epFWIvRqNIkR9DhCvuA78c3InwyNDuwf8mfIK89jGB\r
33         ECNRKQMaOhTJxrlQlLYbS0SOyH8mgGQOBZl1vH8V2RkuDfvDpyaRg/LBHt1vWCpfRaxS\r
34         dMiQ==\r
35 Received: by 10.216.131.98 with SMTP id l76mr4587794wei.62.1331836929243;\r
36         Thu, 15 Mar 2012 11:42:09 -0700 (PDT)\r
37 Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
38  [94.192.233.223])      by mx.google.com with ESMTPS id\r
39  fi4sm7056842wib.4.2012.03.15.11.42.07  (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Thu, 15 Mar 2012 11:42:08 -0700 (PDT)\r
41 From: Mark Walters <markwalters1009@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH 0/5] Move --no-exclude to --exclude=(true|false|flag)\r
44 Date: Thu, 15 Mar 2012 18:42:00 +0000\r
45 Message-Id: <1331836925-31437-1-git-send-email-markwalters1009@gmail.com>\r
46 X-Mailer: git-send-email 1.7.9.1\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Thu, 15 Mar 2012 18:42:11 -0000\r
60 \r
61 This series changes the --no-exclude options to count, search and show\r
62 to --exclude=(true|false|flag). It also changes the default to true\r
63 rather than flag for speed and for uncluttered command line output.\r
64 \r
65 This series replaces the series\r
66 id:"1330779918-28024-1-git-send-email-markwalters1009@gmail.com". Jani\r
67 suggested the --exclude= rather than --with-excluded approach as being\r
68 both clearer and easier to extend.\r
69 \r
70 It is intend to apply on top of the bugfix series\r
71 id:"1331728014-32698-1-git-send-email-markwalters1009@gmail.com".\r
72 \r
73 There should be no significant logic change (i.e. the logic in the lib\r
74 is unchanged) but the defaults for the command lines are different.\r
75 \r
76 The general idea is that when complete threads are requested then we\r
77 always return complete threads including any messages matching the\r
78 exclude tags (where appropriate these are flagged excluded), but we\r
79 may not return threads that only match in excluded messages.\r
80 \r
81 The rationale is that it is awkward to deal with a thread with\r
82 "missing" messages.\r
83 \r
84 Best wishes\r
85 \r
86 Mark\r
87 \r
88 Mark Walters (5):\r
89   lib: change default for notmuch_query_set_omit_excluded\r
90   cli: move count to the new --exclude=(true|false|flag) naming scheme.\r
91   cli: move search to the new --exclude= naming scheme.\r
92   cli: move show to the new --exclude= option naming scheme.\r
93   emacs: make show set --exclude=flag\r
94 \r
95  emacs/notmuch-show.el     |    6 ++++--\r
96  lib/notmuch.h             |   11 ++++++-----\r
97  lib/query.cc              |   10 +++++-----\r
98  man/man1/notmuch-count.1  |    5 +++--\r
99  man/man1/notmuch-search.1 |   12 +++++++++---\r
100  man/man1/notmuch-show.1   |   16 ++++++++++++++--\r
101  notmuch-client.h          |    1 +\r
102  notmuch-count.c           |   17 ++++++++++++-----\r
103  notmuch-search.c          |   32 +++++++++++++++++++++++---------\r
104  notmuch-show.c            |   39 +++++++++++++++++++++++++++++----------\r
105  test/count                |    4 ++--\r
106  test/search               |   13 ++++++-------\r
107  12 files changed, 114 insertions(+), 52 deletions(-)\r
108 \r
109 -- \r
110 1.7.9.1\r
111 \r