Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / 0a / 47269b754c852bc5dbe71d93b40a4add9065b9
1 Return-Path: <pioto@pioto.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 5ABF040BFD3\r
6         for <notmuch@notmuchmail.org>; Tue, 21 Sep 2010 06:23:12 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5\r
12         tests=[BAYES_20=-0.001] 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 ROyrfx5554dl for <notmuch@notmuchmail.org>;\r
16         Tue, 21 Sep 2010 06:23:01 -0700 (PDT)\r
17 X-Greylist: delayed 432 seconds by postgrey-1.32 at olra;\r
18         Tue, 21 Sep 2010 06:23:01 PDT\r
19 Received: from everglades.pioto.org (mail.pioto.org [207.192.71.235])\r
20         by olra.theworths.org (Postfix) with ESMTP id D212A40BD85\r
21         for <notmuch@notmuchmail.org>; Tue, 21 Sep 2010 06:23:01 -0700 (PDT)\r
22 Received: from pit84.pair.com (pit84.pair.com [216.92.130.84])\r
23         (Authenticated sender: pioto)\r
24         by everglades.pioto.org (Postfix) with ESMTPSA id C98C616019D\r
25         for <notmuch@notmuchmail.org>; Tue, 21 Sep 2010 09:15:48 -0400 (EDT)\r
26 Date: Tue, 21 Sep 2010 09:15:44 -0400\r
27 From: Mike Kelly <pioto@pioto.org>\r
28 To: notmuch@notmuchmail.org\r
29 Subject: Re: notmuchsync: handling of the deleted tag\r
30 Message-ID: <20100921091544.3da90fdb@pit84.pair.com>\r
31 In-Reply-To: <87zkvb4eiq.fsf@SSpaeth.de>\r
32 References: <87bp7vewa5.fsf@raven.defaultvalue.org>\r
33  <87mxrcsb8a.fsf@SSpaeth.de>    <87r5gnomt2.fsf@raven.defaultvalue.org>\r
34  <87zkvb4eiq.fsf@SSpaeth.de>\r
35 X-Mailer: Claws Mail 3.7.6 (GTK+ 2.18.7; i386-portbld-freebsd8.0)\r
36 Mime-Version: 1.0\r
37 Content-Type: text/plain; charset=US-ASCII\r
38 Content-Transfer-Encoding: 7bit\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Tue, 21 Sep 2010 13:23:12 -0000\r
52 \r
53 On Tue, 21 Sep 2010 11:44:29 +0200\r
54 Sebastian Spaeth <Sebastian@SSpaeth.de> wrote:\r
55 \r
56 > Right that would be a problem. But I cannot do reference counting\r
57 > unless notmuch can give me the number of copies it knows about for a\r
58 > given mail id (and internally it does know all associated file paths,\r
59 > so it would be a simple API extension a la,\r
60 > "get_all_message_file_paths" or similar, or a\r
61 > get_number_of_mail_files(mailid) to start with.\r
62 \r
63 I agree, and such an API would be useful for other things too. For\r
64 example, I could probably implement a rudamentary gmail syncer with\r
65 that. I may just try to make a patch to do this soon if nobody beats me\r
66 to it.\r
67 \r
68 -- \r
69 Mike Kelly\r