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 0B6D540D14D
\r
6 for <notmuch@notmuchmail.org>; Sat, 23 Oct 2010 10:16:25 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9] 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 vzc8N+Kxl2qK for <notmuch@notmuchmail.org>;
\r
16 Sat, 23 Oct 2010 10:16:14 -0700 (PDT)
\r
17 Received: from defaultvalue.org (defaultvalue.org [70.85.129.156])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 9272740D148
\r
19 for <notmuch@notmuchmail.org>; Sat, 23 Oct 2010 10:16:14 -0700 (PDT)
\r
20 Received: from omen.defaultvalue.org (localhost [127.0.0.1])
\r
21 by defaultvalue.org (Postfix) with ESMTP id E948190D34
\r
22 for <notmuch@notmuchmail.org>; Sat, 23 Oct 2010 12:16:11 -0500 (CDT)
\r
23 Received: from raven.defaultvalue.org (raven.defaultvalue.org [192.168.1.7])
\r
24 by omen.defaultvalue.org (Postfix) with ESMTP id 836013E0007
\r
25 for <notmuch@notmuchmail.org>; Sat, 23 Oct 2010 12:16:11 -0500 (CDT)
\r
26 Received: by raven.defaultvalue.org (Postfix, from userid 1000)
\r
27 id 699C37C400D; Sat, 23 Oct 2010 12:16:11 -0500 (CDT)
\r
28 From: Rob Browning <rlb@defaultvalue.org>
\r
29 To: notmuch@notmuchmail.org
\r
30 Subject: Adding support for "notmuch new ... PATH"
\r
31 Date: Sat, 23 Oct 2010 12:16:11 -0500
\r
32 Message-ID: <87pqv096ec.fsf@raven.defaultvalue.org>
\r
33 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
\r
35 Content-Type: text/plain; charset=us-ascii
\r
36 X-BeenThere: notmuch@notmuchmail.org
\r
37 X-Mailman-Version: 2.1.13
\r
39 List-Id: "Use and development of the notmuch mail system."
\r
40 <notmuch.notmuchmail.org>
\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
42 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
44 List-Post: <mailto:notmuch@notmuchmail.org>
\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
48 X-List-Received-Date: Sat, 23 Oct 2010 17:16:25 -0000
\r
51 I'm working on support for something like
\r
53 notmuch new [--] [PATH ..]
\r
55 where PATH can be any path (file or dir) within the mail directory, and
\r
56 I had a couple of questions:
\r
58 1) What happens if you call notmuch_database_add_message() for a path
\r
59 that's already in the database. Is that OK?
\r
61 2) Does add_files_recursive() assume it always sees all paths?
\r
62 i.e. is it safe to call it with just a sub-directory of the mail
\r
63 directory? I haven't finished investigating the code, but some
\r
64 bits made me wonder.
\r
69 rlb @defaultvalue.org and @debian.org
\r
70 GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
\r