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