[PATCH v4 4/5] dump/restore: Use Xapian queries for batch-tag format
[notmuch-archives.git] / a3 / ea3a602d7e3d95fe0a89238d193b9a25f39f50
1 Return-Path: <jrollins@finestructure.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 CF88D431FB6\r
6         for <notmuch@notmuchmail.org>; Tue, 20 Dec 2011 14:14:50 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.29\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, 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 WmarpwHRGNop for <notmuch@notmuchmail.org>;\r
16         Tue, 20 Dec 2011 14:14:48 -0800 (PST)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id B583D431FD0\r
20         for <notmuch@notmuchmail.org>; Tue, 20 Dec 2011 14:14:48 -0800 (PST)\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by fire-doxen-postvirus (Postfix) with ESMTP id 31D42328011;\r
23         Tue, 20 Dec 2011 14:14:46 -0800 (PST)\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
25 Received: from finestructure.net (DHCP-123-180.caltech.edu [131.215.123.180])\r
26         (Authenticated sender: jrollins)\r
27         by fire-doxen-submit (Postfix) with ESMTP id 7F22532807B;\r
28         Tue, 20 Dec 2011 14:14:43 -0800 (PST)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id 4DC7B15B9; Tue, 20 Dec 2011 14:14:43 -0800 (PST)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: emmanuel.leblond@gmail.com, notmuch@notmuchmail.org\r
33 Subject: Re: Question : Tag mail according to it directory path ?\r
34 In-Reply-To: <201112122159.09937.nitrotechno@laposte.net>\r
35 References: <201112122159.09937.nitrotechno@laposte.net>\r
36 User-Agent: Notmuch/0.10.2+93~ga124635 (http://notmuchmail.org) Emacs/23.3.1\r
37         (x86_64-pc-linux-gnu)\r
38 Date: Tue, 20 Dec 2011 14:14:40 -0800\r
39 Message-ID: <87pqfisxf3.fsf@servo.finestructure.net>\r
40 MIME-Version: 1.0\r
41 Content-Type: multipart/signed; boundary="=-=-=";\r
42         micalg=pgp-sha256; protocol="application/pgp-signature"\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: Tue, 20 Dec 2011 22:14:50 -0000\r
56 \r
57 --=-=-=\r
58 Content-Transfer-Encoding: quoted-printable\r
59 \r
60 On Mon, 12 Dec 2011 21:59:09 +0100, emmanuel.leblond@gmail.com wrote:\r
61 >=20\r
62 > I have a 4000+ mail collection already sorted in folders. The point is I =\r
63 would=20\r
64 > like to tag those mails through the notmuch database according to those=20\r
65 > folders. (i.g. the mails in the friend/foo directory will be tagged as fr=\r
66 iend=20\r
67 > and foo)\r
68 \r
69 Hi, Emanuel.  There is already the ability to search for messages by\r
70 path with the "folder:" search prefix.  From "notmuch help search-terms":\r
71 \r
72         The folder: prefix can be used to search for email message\r
73         files that are contained within particular directories within\r
74         the mail store. Only the directory components below the top-level\r
75         mail database path are available to be searched.\r
76 \r
77 You can then easily apply arbitrary tags with something like:\r
78 \r
79 notmuch tag +foo -- folder:foo\r
80 \r
81 hth.\r
82 \r
83 jamie.\r
84 \r
85 --=-=-=\r
86 Content-Type: application/pgp-signature\r
87 \r
88 -----BEGIN PGP SIGNATURE-----\r
89 Version: GnuPG v1.4.11 (GNU/Linux)\r
90 \r
91 iQIcBAEBCAAGBQJO8QjRAAoJEO00zqvie6q8KkoP/RiPRclKCVgTAWGmarSmOvIl\r
92 BpQ4EpE8D3BLObNT1JXH3NVmlgTFWzXcR/4YvzmPD/6yDigRT0SsSuy0yL2uJilN\r
93 en319bp5a8WUAOPjgySDO9F8Gv2lFX5k1CL+pmqwtkggvZeev4WfKFra0LySLEQg\r
94 zDbQyxIIgP9iASuVjIIOiX32yp9r7saG34Gf9wqRIYaofaG3Bavo9kGlP3fA31oJ\r
95 PcK1cL2zqyjeWQuLSbJoFJPUAwCHFJa5612ca/X2vgHa16WkIuntivuSl/RWgcbH\r
96 RYSMkIQTuvMJMlcOHha8wBiKJdn+7lG4aC0vIVEsT1rNSx5TmFKYx+PuSWbkG4ZC\r
97 pN+O/49BrUCiTYETTatVpAudz/Gu4C9hWYd9cJR8MBAxYazGl+XqXm1vrBf+3K6u\r
98 RSdQYsaWg42MP9+0+sb7jr01TipgJnjwFhg/y55G9C4iSqFNZ4QxM6ZAAfhc3ahR\r
99 znB9FIZi+Yk7mrpZyB83lUTtnYyy54HR51GreaopVqhR5ldcDQSPbBngjLGitXHM\r
100 WUJXX58nP54WbcnxheRuRWknTXVoMHKKDE7Y0G+lYFPLlbDMdVjfydRBjs3CWsxc\r
101 2aElYuL1SmSslAn/3EznWKCZ5ytXFQa8YaXQV4F8xFReyero26+7r1DlccgmwBz1\r
102 6ZFK4+GBJzlOQdjnMhbg\r
103 =SL85\r
104 -----END PGP SIGNATURE-----\r
105 --=-=-=--\r