Re: excluding files from a folder for searches
authorAlan Schmitt <alan.schmitt@polytechnique.org>
Thu, 17 Jul 2014 06:09:05 +0000 (08:09 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:03:44 +0000 (10:03 -0800)
90/dd89b7187502f1028338b30cc83758097b4b44 [new file with mode: 0644]

diff --git a/90/dd89b7187502f1028338b30cc83758097b4b44 b/90/dd89b7187502f1028338b30cc83758097b4b44
new file mode 100644 (file)
index 0000000..23137ba
--- /dev/null
@@ -0,0 +1,98 @@
+Return-Path: <alan.schmitt@polytechnique.org>\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 D317D431FBD\r
+       for <notmuch@notmuchmail.org>; Wed, 16 Jul 2014 23:09:18 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -5\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-5 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_HI=-5] 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 QOmjUzonwGAs for <notmuch@notmuchmail.org>;\r
+       Wed, 16 Jul 2014 23:09:10 -0700 (PDT)\r
+Received: from mail2-relais-roc.national.inria.fr\r
+       (mail2-relais-roc.national.inria.fr [192.134.164.83])\r
+       (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 883D6431FB6\r
+       for <notmuch@notmuchmail.org>; Wed, 16 Jul 2014 23:09:10 -0700 (PDT)\r
+X-IronPort-AV: E=Sophos;i="5.01,676,1400018400"; d="scan'208";a="85558202"\r
+Received: from cbg35-2-78-242-14-140.fbx.proxad.net (HELO top-wifi.irisa.fr)\r
+       ([78.242.14.140])\r
+       by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES128-SHA;\r
+       17 Jul 2014 08:09:08 +0200\r
+From: Alan Schmitt <alan.schmitt@polytechnique.org>\r
+To: David Bremner <david@tethera.net>\r
+Subject: Re: excluding files from a folder for searches\r
+References: <m2r41l8k57.fsf@top-wifi.irisa.fr>\r
+       <87ha2h86gu.fsf@maritornes.cs.unb.ca>\r
+Date: Thu, 17 Jul 2014 08:09:05 +0200\r
+In-Reply-To: <87ha2h86gu.fsf@maritornes.cs.unb.ca> (David Bremner's message of\r
+       "Wed, 16 Jul 2014 16:10:57 -0300")\r
+Message-ID: <m261iw8qke.fsf@top-wifi.irisa.fr>\r
+User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin)\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha512; protocol="application/pgp-signature"\r
+Cc: notmuch@notmuchmail.org\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: Thu, 17 Jul 2014 06:09:19 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On 2014-07-16 21:10, David Bremner <david@tethera.net> writes:\r
+\r
+>> I'm trying to configure notmuch such that it never searches for files in\r
+>> my Trash folder. I have found in the configuration how to exclude some\r
+>> tags from every search, but not how to exclude a folder.\r
+>>\r
+>> Is it possible?\r
+>\r
+> One thing you can do is mark the trash folder to be ignored by=20\r
+> notmuch new. See the new.ignore setting in man notmuch-config(1).\r
+\r
+Thank you for the suggestion, I've added ".Trash" to this list. As the\r
+current messages will be deleted in about a week, it should be fine.\r
+\r
+By the way, how will notmuch realize that the messages are no longer\r
+there? Does it still scan the directory when it's in new.ignore?\r
+\r
+Thanks again,\r
+\r
+Alan\r
+\r
+=2D-=20\r
+OpenPGP Key ID : 040D0A3B4ED2E5C7\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG/MacGPG2 v2.0.22 (Darwin)\r
+\r
+iQEcBAEBCgAGBQJTx2iFAAoJEAQNCjtO0uXHo2UH/iSc7aBshY893IVwsl4mOU5q\r
+/cD25ndBk1Hvj6pljQ766RWiVdrUOd8PcAbqBy+2K1RFKoSWYGtybNLRMXlx4ZIo\r
+SX35qPLe7NbMB6ywZtZ3YPqvfdu4EfaeuDpZexSpYLOITxx6OWBJ3JjQE/0sK38Z\r
+F5vSS/DDMCPgGge9+4UF1aGqPgkD6EodM8IykQRcf67H7uDnu12oyTXI5JdgFeg0\r
+5xcXCPGpQa/pokYUDVOsJnVp88DYviJMIk1K2z/HfyxoRXpZxwxk2nPp7bfwpcbG\r
+NEBen7Mw6Lr7QokqOZ1X9pvMt+6e7wBhQjoh+xApwYeARf5Q/teXeEfMwSh1nfs=\r
+=ALlP\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r