1 Return-Path: <rlb@defaultvalue.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 16720431FC3
\r
6 for <notmuch@notmuchmail.org>; Sat, 1 Mar 2014 08:22:10 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 XP2It1mdbpZt for <notmuch@notmuchmail.org>;
\r
16 Sat, 1 Mar 2014 08:22:06 -0800 (PST)
\r
17 Received: from defaultvalue.org (defaultvalue.org [70.85.129.156])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 720C4431FC2
\r
19 for <notmuch@notmuchmail.org>; Sat, 1 Mar 2014 08:22:06 -0800 (PST)
\r
20 Received: from trouble.defaultvalue.org (localhost [127.0.0.1])
\r
21 (Authenticated sender: rlb@defaultvalue.org)
\r
22 by defaultvalue.org (Postfix) with ESMTPSA id DF98890D2B;
\r
23 Sat, 1 Mar 2014 10:22:03 -0600 (CST)
\r
24 Received: by trouble.defaultvalue.org (Postfix, from userid 1000)
\r
25 id 9014E14E14E; Sat, 1 Mar 2014 10:22:03 -0600 (CST)
\r
26 From: Rob Browning <rlb@defaultvalue.org>
\r
27 To: Mark Walters <markwalters1009@gmail.com>, Jani Nikula <jani@nikula.org>,
\r
28 Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org
\r
29 Subject: Re: [DRAFT PATCH] notmuch new: do not ignore '.notmuch' in
\r
30 non-toplevel directories
\r
31 In-Reply-To: <87r46mgrxm.fsf@qmul.ac.uk>
\r
32 References: <87mwhifu9a.fsf@trouble.defaultvalue.org>
\r
33 <1393183127-31869-1-git-send-email-tomi.ollila@iki.fi>
\r
34 <87ios5v59p.fsf@nikula.org> <87r46mgrxm.fsf@qmul.ac.uk>
\r
35 User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1
\r
36 (x86_64-pc-linux-gnu)
\r
37 Date: Sat, 01 Mar 2014 10:22:03 -0600
\r
38 Message-ID: <87ha7hvqhg.fsf@trouble.defaultvalue.org>
\r
40 Content-Type: text/plain
\r
41 Cc: tomi.ollila@iki.fi
\r
42 X-BeenThere: notmuch@notmuchmail.org
\r
43 X-Mailman-Version: 2.1.13
\r
45 List-Id: "Use and development of the notmuch mail system."
\r
46 <notmuch.notmuchmail.org>
\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
50 List-Post: <mailto:notmuch@notmuchmail.org>
\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
54 X-List-Received-Date: Sat, 01 Mar 2014 16:22:10 -0000
\r
56 Mark Walters <markwalters1009@gmail.com> writes:
\r
58 > An alternative would be to ignore any .notmuch path with a xapian
\r
59 > sub-directory. This would mean if a user indexed some subset of their
\r
60 > mail before trying to index the whole thing they wouldn't accidentally
\r
61 > index the old xapian database.
\r
63 If you wanted to be fairly careful, perhaps test for
\r
64 exists(".notmuch/.xapian/flintlock" or ".notmuch/.xapian/iamchert"), or
\r
65 some other very specific test.
\r
67 > I think the above was suggested by rlb on irc but I don't think it got
\r
70 Not sure. Though I'm wondering if I may have suggested we could add a
\r
71 notmuch specific token file, i.e. .notmuch/this-really-is-a-notmuch-dir,
\r
72 which lead to someone else suggesting we could just use .xapian.
\r
74 Of course broadly speaking, ".xapian" might be a legitimate maildir too,
\r
75 but ".notmuch/.xapian" seems fairly unlikely.
\r
77 In any case, while I might prefer a very narrow test (as long as it
\r
78 wasn't unduly expensive), all of the proposed solutions would have
\r
79 handled my situation.
\r
84 rlb @defaultvalue.org and @debian.org
\r
85 GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
\r
86 GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
\r