From da50c7d8a5be69af5fcb10df3cf9382ca2c1a594 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 17 Jul 2014 16:10:57 +2100 Subject: [PATCH] Re: excluding files from a folder for searches --- de/e2d0042ac7de6f1678358d32381bdfb36be134 | 66 +++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 de/e2d0042ac7de6f1678358d32381bdfb36be134 diff --git a/de/e2d0042ac7de6f1678358d32381bdfb36be134 b/de/e2d0042ac7de6f1678358d32381bdfb36be134 new file mode 100644 index 000000000..4c7c2f634 --- /dev/null +++ b/de/e2d0042ac7de6f1678358d32381bdfb36be134 @@ -0,0 +1,66 @@ +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 080E4431FC0 + for ; Wed, 16 Jul 2014 12:11:30 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 xs8gebbe1aZF for ; + Wed, 16 Jul 2014 12:11:23 -0700 (PDT) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 30FCF431FBD + for ; Wed, 16 Jul 2014 12:11:23 -0700 (PDT) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1X7Ubf-0007jy-AM; Wed, 16 Jul 2014 16:11:11 -0300 +Received: (nullmailer pid 15320 invoked by uid 1000); Wed, 16 Jul 2014 + 19:10:57 -0000 +From: David Bremner +To: Alan Schmitt , notmuch@notmuchmail.org +Subject: Re: excluding files from a folder for searches +In-Reply-To: +References: +User-Agent: Notmuch/0.18.1+45~gf47eeac (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Wed, 16 Jul 2014 16:10:57 -0300 +Message-ID: <87ha2h86gu.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +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: Wed, 16 Jul 2014 19:11:30 -0000 + +Alan Schmitt writes: + +> Hello, +> +> 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 +notmuch new. See the new.ignore setting in man notmuch-config(1). + +d -- 2.26.2