--- /dev/null
+Return-Path: <jrollins@finestructure.net>\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 CF88D431FB6\r
+ for <notmuch@notmuchmail.org>; Tue, 20 Dec 2011 14:14:50 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 WmarpwHRGNop for <notmuch@notmuchmail.org>;\r
+ Tue, 20 Dec 2011 14:14:48 -0800 (PST)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+ [131.215.239.19])\r
+ by olra.theworths.org (Postfix) with ESMTP id B583D431FD0\r
+ for <notmuch@notmuchmail.org>; Tue, 20 Dec 2011 14:14:48 -0800 (PST)\r
+Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+ by fire-doxen-postvirus (Postfix) with ESMTP id 31D42328011;\r
+ Tue, 20 Dec 2011 14:14:46 -0800 (PST)\r
+X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
+Received: from finestructure.net (DHCP-123-180.caltech.edu [131.215.123.180])\r
+ (Authenticated sender: jrollins)\r
+ by fire-doxen-submit (Postfix) with ESMTP id 7F22532807B;\r
+ Tue, 20 Dec 2011 14:14:43 -0800 (PST)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+ id 4DC7B15B9; Tue, 20 Dec 2011 14:14:43 -0800 (PST)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: emmanuel.leblond@gmail.com, notmuch@notmuchmail.org\r
+Subject: Re: Question : Tag mail according to it directory path ?\r
+In-Reply-To: <201112122159.09937.nitrotechno@laposte.net>\r
+References: <201112122159.09937.nitrotechno@laposte.net>\r
+User-Agent: Notmuch/0.10.2+93~ga124635 (http://notmuchmail.org) Emacs/23.3.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Tue, 20 Dec 2011 14:14:40 -0800\r
+Message-ID: <87pqfisxf3.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+ micalg=pgp-sha256; protocol="application/pgp-signature"\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: Tue, 20 Dec 2011 22:14:50 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Mon, 12 Dec 2011 21:59:09 +0100, emmanuel.leblond@gmail.com wrote:\r
+>=20\r
+> I have a 4000+ mail collection already sorted in folders. The point is I =\r
+would=20\r
+> like to tag those mails through the notmuch database according to those=20\r
+> folders. (i.g. the mails in the friend/foo directory will be tagged as fr=\r
+iend=20\r
+> and foo)\r
+\r
+Hi, Emanuel. There is already the ability to search for messages by\r
+path with the "folder:" search prefix. From "notmuch help search-terms":\r
+\r
+ The folder: prefix can be used to search for email message\r
+ files that are contained within particular directories within\r
+ the mail store. Only the directory components below the top-level\r
+ mail database path are available to be searched.\r
+\r
+You can then easily apply arbitrary tags with something like:\r
+\r
+notmuch tag +foo -- folder:foo\r
+\r
+hth.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJO8QjRAAoJEO00zqvie6q8KkoP/RiPRclKCVgTAWGmarSmOvIl\r
+BpQ4EpE8D3BLObNT1JXH3NVmlgTFWzXcR/4YvzmPD/6yDigRT0SsSuy0yL2uJilN\r
+en319bp5a8WUAOPjgySDO9F8Gv2lFX5k1CL+pmqwtkggvZeev4WfKFra0LySLEQg\r
+zDbQyxIIgP9iASuVjIIOiX32yp9r7saG34Gf9wqRIYaofaG3Bavo9kGlP3fA31oJ\r
+PcK1cL2zqyjeWQuLSbJoFJPUAwCHFJa5612ca/X2vgHa16WkIuntivuSl/RWgcbH\r
+RYSMkIQTuvMJMlcOHha8wBiKJdn+7lG4aC0vIVEsT1rNSx5TmFKYx+PuSWbkG4ZC\r
+pN+O/49BrUCiTYETTatVpAudz/Gu4C9hWYd9cJR8MBAxYazGl+XqXm1vrBf+3K6u\r
+RSdQYsaWg42MP9+0+sb7jr01TipgJnjwFhg/y55G9C4iSqFNZ4QxM6ZAAfhc3ahR\r
+znB9FIZi+Yk7mrpZyB83lUTtnYyy54HR51GreaopVqhR5ldcDQSPbBngjLGitXHM\r
+WUJXX58nP54WbcnxheRuRWknTXVoMHKKDE7Y0G+lYFPLlbDMdVjfydRBjs3CWsxc\r
+2aElYuL1SmSslAn/3EznWKCZ5ytXFQa8YaXQV4F8xFReyero26+7r1DlccgmwBz1\r
+6ZFK4+GBJzlOQdjnMhbg\r
+=SL85\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r