Re: compile error of current git on F15
[notmuch-archives.git] / c4 / 8886b63138ae2e25a9b514dd8e159dc0cc633c
1 Return-Path: <flo@chaoflow.net>\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 8F7FD431FB6\r
6         for <notmuch@notmuchmail.org>; Thu, 14 Apr 2011 01:23:48 -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: 0.01\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
12         tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id BkFYYwRkxy0H for <notmuch@notmuchmail.org>;\r
16         Thu, 14 Apr 2011 01:23:47 -0700 (PDT)\r
17 Received: from tesla.chaoflow.net (tesla.chaoflow.net [188.40.54.22])\r
18         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id C3CE9431FB5\r
21         for <notmuch@notmuchmail.org>; Thu, 14 Apr 2011 01:23:47 -0700 (PDT)\r
22 Received: from eve.chaoflow.net (p5DE96241.dip.t-dialin.net [93.233.98.65])\r
23         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
24         (No client certificate requested)\r
25         (Authenticated sender: flo@chaoflow.net)\r
26         by tesla.chaoflow.net (Postfix) with ESMTPSA id 77974CACB\r
27         for <notmuch@notmuchmail.org>; Thu, 14 Apr 2011 10:23:46 +0200 (CEST)\r
28 Received: by eve.chaoflow.net (Postfix, from userid 1000) id 3A0BBB3A;\r
29         Thu, 14 Apr 2011 08:23:46 +0000 (Local time zone must be set--see zic\r
30         manual page)\r
31 From: Florian Friesdorf <flo@chaoflow.net>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: Optimization for notmuch tag by implicit filters\r
34 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1\r
35         (x86_64-unknown-linux-gnu)\r
36 Date: Thu, 14 Apr 2011 10:23:46 +0200\r
37 Message-ID: <87y63d6y25.fsf@eve.chaoflow.net>\r
38 MIME-Version: 1.0\r
39 Content-Type: multipart/signed; boundary="=-=-=";\r
40         micalg=pgp-sha1; protocol="application/pgp-signature"\r
41 X-Virus-Scanned: clamav-milter 0.96.5 at tesla\r
42 X-Virus-Status: Clean\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Thu, 14 Apr 2011 08:23:48 -0000\r
56 \r
57 --=-=-=\r
58 Content-Transfer-Encoding: quoted-printable\r
59 \r
60 \r
61 With 60k messages and 12k tagged as sent:\r
62 \r
63 $ time notmuch tag +sent -- from:flo@chaoflow.net\r
64 \r
65 real    0m8.561s\r
66 user    0m8.069s\r
67 sys     0m0.212s\r
68 \r
69 $ time notmuch tag +sent -- from:flo@chaoflow.net and not tag:sent\r
70 \r
71 real    0m0.043s\r
72 user    0m0.036s\r
73 sys     0m0.006s\r
74 \r
75 \r
76 This could be made implicit:\r
77 \r
78 notmuch tag +A +B -- <filter>\r
79 =2D->\r
80 notmuch tag +A +B -- <filter> and not \(tag:A and tag:B\)\r
81 \r
82 Apply command, if one of the tags is not set.\r
83 \r
84 \r
85 notmuch tag -C -D -- <filter>\r
86 =2D->\r
87 notmuch tag -C -D -- <filter> and \(tag:C or tag:D\)\r
88 \r
89 Apply command, if one of the tags is set.\r
90 \r
91 \r
92 notmuch tag +A +B -C -D -- <filter>\r
93 =2D->\r
94 notmuch tag +A +B -C -D -- <filter> and \(not tag:A or not tag:B\ or tag:C =\r
95 or tag:D\)\r
96 \r
97 \r
98 In order to enforce tagging and disable the filter there could be a\r
99 flag.\r
100 \r
101 I lack the knowledge/time to implement it, but I think it's at least\r
102 worth documenting it.\r
103 \r
104 =2D-=20\r
105 Florian Friesdorf <flo@chaoflow.net>\r
106   GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083\r
107 Jabber/XMPP: flo@chaoflow.net\r
108 IRC: chaoflow on freenode,ircnet,blafasel,OFTC\r
109 \r
110 --=-=-=\r
111 Content-Type: application/pgp-signature\r
112 \r
113 -----BEGIN PGP SIGNATURE-----\r
114 Version: GnuPG v2.0.17 (GNU/Linux)\r
115 \r
116 iQIcBAEBAgAGBQJNpq8SAAoJEDj4maMMRfCDt20QAMF/FL/nOfSTGJAZA3YrETSj\r
117 /ND43NTRr/p2naP0PFu+MpwxVaRpANse4KBsjj6qCkL1za7gGxMzk5ijCh0I1URC\r
118 WjhgECCWyieH3o4g9bKLcwwwohxlNtZb0FciiTsIZnhxwb+ogAw6u96h3hlL9ciP\r
119 dPQQWRap8Mlh3YQNsNLVLrMUfC69DFFgeMf9fJV6ToFJmjN2R5Pi+EWe/CJlWhAP\r
120 dXiqD85HmXF0+Bw5iJDaibDJ/A9YDqQCpexkzU0Gs/tFr8V9sou0eqGfF9paKxPE\r
121 iOf3VPpEX+lvMvJO124PBUrB+0uBxTEX254iK4Fu+CoD39aaZUIbPiGj4t1CMpjF\r
122 A3p1Yvb5b6g8pxPhDeLgLwd/eP3xgyrD6kQ9n8gyQr+Gbi9/AHVP3oFeQjAQSX5C\r
123 ihCPmBEC6pgeqJf5XXbCLzYJNHQULWBg4BdaabdvniNnnrPDsFIcaKU0C5ZCXMDv\r
124 diUcPpixGHqmZSzfc3wwioHYjlBN/XV0Zvwxbt+umoiGIn55pMUFjehieGw7hMiM\r
125 eb9evZ/IlN1GmCBHaOhfi8EeeGuyXt/nFLquWfgttmZIvZUtnZUM4gJL2nPtXhY7\r
126 NECbivAcReh+MnN+88WwCFJ8cd3SCbL2YSdXKDDmh47ZS+qz+2AMSP1yFYnnHzQ/\r
127 SAY2KK+Yun696otKiLzR\r
128 =32UJ\r
129 -----END PGP SIGNATURE-----\r
130 --=-=-=--\r