Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 8b / eed1b283e5794f2c1a39c31c3c93a825e0c93d
1 Return-Path: <bart@po8.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 03317431FBF\r
6         for <notmuch@notmuchmail.org>; Tue, 23 Feb 2010 13:32:02 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.414\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.414 tagged_above=-999 required=5\r
12         tests=[AWL=-0.229, BAYES_40=-0.185] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id jEwZ8qzWbEgQ for <notmuch@notmuchmail.org>;\r
16         Tue, 23 Feb 2010 13:32:01 -0800 (PST)\r
17 Received: from po8.org (po8.org [69.168.48.167])\r
18         by olra.theworths.org (Postfix) with ESMTP id 36C76431FBC\r
19         for <notmuch@notmuchmail.org>; Tue, 23 Feb 2010 13:32:01 -0800 (PST)\r
20 Received: from po8.org ([127.0.0.1]) by po8.org with esmtp (Exim 4.69)\r
21         (envelope-from <bart@po8.org>)\r
22         id 1Nk2MF-0007RY-IT; Tue, 23 Feb 2010 13:31:58 -0800\r
23 To: Stewart Smith <stewart@flamingspork.com>\r
24 In-reply-to: <20100223061542.GR17878@flamingspork.com> \r
25 References: <E1NjeZ1-0001qw-HZ@po8.org>\r
26         <20100223061542.GR17878@flamingspork.com>\r
27 Comments: In-reply-to Stewart Smith <stewart@flamingspork.com>\r
28         message dated "Tue, 23 Feb 2010 17:15:42 +1100."\r
29 Date: Tue, 23 Feb 2010 13:31:55 -0800\r
30 From: Bart Massey <bart@po8.org>\r
31 Message-Id: <E1Nk2MF-0007RY-IT@po8.org>\r
32 Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
33 Subject: Re: [notmuch] [PATCH] Added mail directory filename pattern support.\r
34 X-BeenThere: notmuch@notmuchmail.org\r
35 X-Mailman-Version: 2.1.13\r
36 Precedence: list\r
37 List-Id: "Use and development of the notmuch mail system."\r
38         <notmuch.notmuchmail.org>\r
39 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
40         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
41 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
42 List-Post: <mailto:notmuch@notmuchmail.org>\r
43 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
44 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
46 X-List-Received-Date: Tue, 23 Feb 2010 21:32:02 -0000\r
47 \r
48 In message <20100223061542.GR17878@flamingspork.com> you wrote:\r
49 > On Mon, Feb 22, 2010 at 12:07:31PM -0800, Bart Massey wrote:\r
50 > > Typically, the filenames in a mail directory that actually\r
51 > > contain mail obey some specific format.  For example, in my\r
52 > > MH email directory, all mail filenames consist only of\r
53 > > digits.\r
54 > > \r
55 > > This patch adds support for a config file variable\r
56 > > "filename_pattern" which maybe set to a regex used to filter\r
57 > > only valid mail filenames when scanning.  Effective use of\r
58 > > filename_pattern cuts down on the noise from notmuch, and\r
59 > > may speed it up in some cases.\r
60\r
61 > What about the other way around?\r
62\r
63 > e.g. if anybody has ever pointed Evolution at a Maildir, you get a\r
64 > bunch of Maildir-name.ev-summary and .ev-summary-meta and .ibex.index\r
65 > and whatever.\r
66\r
67 > A default list of ignored patterns would be pretty easy to come up with. \r
68 \r
69 I'm not understanding your use case?  For the most common\r
70 cases, Maildir and MH, setting the appropriate\r
71 filename_pattern will ignore whatever garbage is lying\r
72 around the tree and just look at the mail messages.\r
73 \r
74 Maybe my documentation is confusing?  By "filter only valid\r
75 mail filenames" I mean "accept only valid mail filenames", not\r
76 "filter out only valid mail filenames". :-)\r
77 \r
78 Thanks much for any clarification you can provide.\r
79 \r
80     Bart Massey\r
81     bart@cs.pdx.edu\r