Re: [PATCH] add has: query prefix to search for specific properties
[notmuch-archives.git] / ed / fc1a179e48d65756a0e9230f294e327222246d
1 Return-Path: <m.walters@qmul.ac.uk>\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 01447431FAF\r
6         for <notmuch@notmuchmail.org>; Tue,  8 Oct 2013 00:56:39 -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: 1.401\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.401 tagged_above=-999 required=5\r
12         tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,\r
13         FREEMAIL_REPLY=2.499, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3]\r
14         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 yt2FGVfMJXqx for <notmuch@notmuchmail.org>;\r
18         Tue,  8 Oct 2013 00:56:33 -0700 (PDT)\r
19 Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6])\r
20         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 14C77431FAE\r
23         for <notmuch@notmuchmail.org>; Tue,  8 Oct 2013 00:56:33 -0700 (PDT)\r
24 Received: from smtp.qmul.ac.uk ([138.37.6.40])\r
25         by mail2.qmul.ac.uk with esmtp (Exim 4.71)\r
26         (envelope-from <m.walters@qmul.ac.uk>)\r
27         id 1VTS9f-0003BG-A0; Tue, 08 Oct 2013 08:56:31 +0100\r
28 Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost)\r
29         by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71)\r
30         (envelope-from <m.walters@qmul.ac.uk>)\r
31         id 1VTS9f-0000Yy-0h; Tue, 08 Oct 2013 08:56:31 +0100\r
32 From: Mark Walters <markwalters1009@gmail.com>\r
33 To: Austin Clements <amdragon@MIT.EDU>, notmuch@notmuchmail.org\r
34 Subject: Re: [PATCH 00/11] Fix search tagging races\r
35 In-Reply-To: <1381185201-25197-1-git-send-email-amdragon@mit.edu>\r
36 References: <1381185201-25197-1-git-send-email-amdragon@mit.edu>\r
37 User-Agent: Notmuch/0.15.2+334~gafd5c6a (http://notmuchmail.org) Emacs/23.4.1\r
38         (x86_64-pc-linux-gnu)\r
39 Date: Tue, 08 Oct 2013 08:56:30 +0100\r
40 Message-ID: <87ob70kxg1.fsf@qmul.ac.uk>\r
41 MIME-Version: 1.0\r
42 Content-Type: text/plain; charset=us-ascii\r
43 X-Sender-Host-Address: 93.97.24.31\r
44 X-QM-SPAM-Info: Sender has good ham record.  :)\r
45 X-QM-Body-MD5: f34cb0042d00c0f72f1fc0c89e44afb0 (of first 20000 bytes)\r
46 X-SpamAssassin-Score: 0.6\r
47 X-SpamAssassin-SpamBar: /\r
48 X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
49         determine if it is\r
50         spam. We require at least 5.0 points to mark a message as spam.\r
51         This message scored 0.6 points. Summary of the scoring: \r
52         * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
53         provider *      (markwalters1009[at]gmail.com)\r
54         *  1.0 FREEMAIL_REPLY From and body contain different freemails\r
55         * -0.4 AWL AWL: From: address is in the auto white-list\r
56 X-QM-Scan-Virus: ClamAV says the message is clean\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Tue, 08 Oct 2013 07:56:40 -0000\r
70 \r
71 \r
72 Hello\r
73 \r
74 It's great that this might finally get done. But there is one problem\r
75 currently.\r
76 \r
77 If you open a large search buffer and then do *-<tab> it will die as the\r
78 tagging routine runs notmuch search to find a completion-list for the\r
79 tag. (it runs notmuch search --output=tags <query>)\r
80 \r
81 We could just return all tags in this case. Or we could do something\r
82 like the series\r
83 id:1354263691-19715-1-git-send-email-markwalters1009@gmail.com\r
84 which makes completion happen based on the tags visible to the user, not\r
85 the tags actually in the database.\r
86 \r
87 There is also a little discussion of this in my earlier attempt at\r
88 fixing this: eg id:87mwy4smad.fsf@qmul.ac.uk\r
89 \r
90 Best wishes\r
91 \r
92 Mark\r
93 \r
94 On Mon, 07 Oct 2013, Austin Clements <amdragon@MIT.EDU> wrote:\r
95 > I was hacking on undo support for notmuch-emacs and sort of\r
96 > accidentally wrote this instead.  This series fixes a set of\r
97 > well-known races where tagging from search-mode unexpectedly affects\r
98 > messages that arrived after the search was performed (and hence the\r
99 > user doesn't know they're tagging them).  We've attacked this a few\r
100 > times before, but have always run up against something that was\r
101 > missing.  It turns out the pieces are finally all in place.\r
102 >\r
103 > The first five patches just clean various things up in preparation.\r
104 > Patches 6 and 7 add support for tagging large queries, which would\r
105 > otherwise become a problem when later patches start using explicit\r
106 > message ID-based queries for tagging.  The remaining four patches\r
107 > actually fix the search tagging races using explicit message ID-based\r
108 > queries.\r
109 >\r
110 > It's a fairly long series, but none of the patches are very big.\r
111 >\r
112 > _______________________________________________\r
113 > notmuch mailing list\r
114 > notmuch@notmuchmail.org\r
115 > http://notmuchmail.org/mailman/listinfo/notmuch\r