Re: [notmuch] [PATCH] Added mail directory filename pattern support.
authorStewart Smith <stewart@flamingspork.com>
Tue, 23 Feb 2010 06:15:42 +0000 (17:15 +1100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:15 +0000 (09:36 -0800)
c3/e7660d4387de62e0b11d615c378c52d93b7095 [new file with mode: 0644]

diff --git a/c3/e7660d4387de62e0b11d615c378c52d93b7095 b/c3/e7660d4387de62e0b11d615c378c52d93b7095
new file mode 100644 (file)
index 0000000..2c67fe7
--- /dev/null
@@ -0,0 +1,74 @@
+Return-Path: <stewart@flamingspork.com>\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 E083E431FBC\r
+       for <notmuch@notmuchmail.org>; Mon, 22 Feb 2010 22:15:47 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.725\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.725 tagged_above=-999 required=5\r
+       tests=[AWL=-0.726, BAYES_50=0.001] autolearn=ham\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 c6R4OScWsmG8 for <notmuch@notmuchmail.org>;\r
+       Mon, 22 Feb 2010 22:15:47 -0800 (PST)\r
+Received: from kaylee.flamingspork.com (kaylee.flamingspork.com\r
+       [74.207.245.61])\r
+       by olra.theworths.org (Postfix) with ESMTP id 4CDF0431FAE\r
+       for <notmuch@notmuchmail.org>; Mon, 22 Feb 2010 22:15:47 -0800 (PST)\r
+Received: from willster (localhost [127.0.0.1])\r
+       by kaylee.flamingspork.com (Postfix) with ESMTPS id EABCF6393;\r
+       Tue, 23 Feb 2010 06:12:27 +0000 (UTC)\r
+Received: from flamingspork.com (localhost.localdomain [127.0.0.1])\r
+       by willster (Postfix) with ESMTPS id B8B0E1115838;\r
+       Tue, 23 Feb 2010 17:15:43 +1100 (EST)\r
+Date: Tue, 23 Feb 2010 17:15:42 +1100\r
+From: Stewart Smith <stewart@flamingspork.com>\r
+To: Bart Massey <bart@po8.org>\r
+Message-ID: <20100223061542.GR17878@flamingspork.com>\r
+References: <E1NjeZ1-0001qw-HZ@po8.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <E1NjeZ1-0001qw-HZ@po8.org>\r
+User-Agent: Mutt/1.5.20 (2009-06-14)\r
+Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: Re: [notmuch] [PATCH] Added mail directory filename pattern support.\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, 23 Feb 2010 06:15:48 -0000\r
+\r
+On Mon, Feb 22, 2010 at 12:07:31PM -0800, Bart Massey wrote:\r
+> Typically, the filenames in a mail directory that actually\r
+> contain mail obey some specific format.  For example, in my\r
+> MH email directory, all mail filenames consist only of\r
+> digits.\r
+> \r
+> This patch adds support for a config file variable\r
+> "filename_pattern" which maybe set to a regex used to filter\r
+> only valid mail filenames when scanning.  Effective use of\r
+> filename_pattern cuts down on the noise from notmuch, and\r
+> may speed it up in some cases.\r
+\r
+What about the other way around?\r
+\r
+e.g. if anybody has ever pointed Evolution at a Maildir, you get a\r
+bunch of Maildir-name.ev-summary and .ev-summary-meta and .ibex.index\r
+and whatever.\r
+\r
+A default list of ignored patterns would be pretty easy to come up with. \r
+\r
+-- \r
+Stewart Smith\r