Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / 81 / 7fba993472bdb8462c31265197a1a1e09d3f32
1 Return-Path: <five9a2@gmail.com>\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 62660431FBF\r
6         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 12:47:53 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id LXxLelvsGZND for <notmuch@notmuchmail.org>;\r
11         Sat, 21 Nov 2009 12:47:52 -0800 (PST)\r
12 Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com\r
13         [209.85.218.224])\r
14         by olra.theworths.org (Postfix) with ESMTP id 86A0E431FBC\r
15         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 12:47:52 -0800 (PST)\r
16 Received: by bwz24 with SMTP id 24so3124506bwz.30\r
17         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 12:47:51 -0800 (PST)\r
18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
19         h=domainkey-signature:received:received:sender:from:to:subject\r
20         :in-reply-to:references:date:message-id:mime-version:content-type;\r
21         bh=yz3yH7DOik+tqMMyPFdFVvp3Vg42tNbSA5I2BGG3mA8=;\r
22         b=XF17TNnrDPPxyFaHaOe2dKI9/IEhp+4wmAHBf/qrgsAbonTCi3k2E8ZFBz7WlE3NdA\r
23         /mOeBHQo3NqOA5Zj3dTO8T+Wbe+fYM22Caj+gMc2FBTvk714+plcGFKJ5AxBlrovLib4\r
24         OUqItNf6ows2TaJvR7GwvstOwQZuqM4vZRXfg=\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
26         h=sender:from:to:subject:in-reply-to:references:date:message-id\r
27         :mime-version:content-type;\r
28         b=Nt59rmMbGM3/M05OTxowx2AdIIu35bSc4zBew3iFdjWtHdK1w8Q3sQp3kq22uX2U/x\r
29         I3ssd1dSRHvLyv3g+AtOJQr421QN5Ua/8zOajQyGxkFxuEi67IvTv8NkGRJXTwtcfrq7\r
30         cl8bqQpm0uuT0nkugjyoS3j6tDGfVvhm8jVSE=\r
31 Received: by 10.204.21.4 with SMTP id h4mr2957632bkb.58.1258836471490;\r
32         Sat, 21 Nov 2009 12:47:51 -0800 (PST)\r
33 Received: from kunyang (vawpc43.ethz.ch [129.132.59.11])\r
34         by mx.google.com with ESMTPS id p17sm3346921fka.5.2009.11.21.12.47.49\r
35         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
36         Sat, 21 Nov 2009 12:47:50 -0800 (PST)\r
37 Sender: Jed Brown <five9a2@gmail.com>\r
38 From: Jed Brown <jed@59A2.org>\r
39 To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org\r
40 In-Reply-To: <874oon4pgv.fsf@yoom.home.cworth.org>\r
41 References: <87fx87u3no.fsf@59A2.org> <874oon4pgv.fsf@yoom.home.cworth.org>\r
42 Date: Sat, 21 Nov 2009 21:48:19 +0100\r
43 Message-ID: <87d43btxik.fsf@59A2.org>\r
44 MIME-Version: 1.0\r
45 Content-Type: text/plain; charset=us-ascii\r
46 Subject: Re: [notmuch] Asynchronous tagging\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.12\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Sat, 21 Nov 2009 20:47:53 -0000\r
60 \r
61 On Sat, 21 Nov 2009 21:01:20 +0100, Carl Worth <cworth@cworth.org> wrote:\r
62 > Yes, this is a known bug in Xapian (it rewrites all of the indexed terms\r
63 > for the email message even though you're just trying to add/remove one\r
64 > term). The Xapian ticket for this is here:\r
65\r
66 >       replace_document should make minimal changes to database file\r
67 >       http://trac.xapian.org/ticket/250\r
68 \r
69 This bug report is concerned that it could require an API change, it\r
70 sounds like you think this is unnecessary.  Thanks for the detailed\r
71 explanation.\r
72 \r
73 > Chris Wilson just contributed a patch to enable read-only usage of\r
74 > notmuch while another notmuch process holds the write lock.\r
75 \r
76 I'm running it.\r
77 \r
78 > Does offlineimap use tmp while it's delivering message and then move\r
79 > things to new? If so, then maybe all we need to do to fix notmuch to not\r
80 > look into tmp directories?\r
81 \r
82 Yes, that's how maildir is supposed to work.  Deliver to tmp, hard link\r
83 from new, then unlink in tmp.  The client should never look in tmp.\r
84 Should be very quick to fix in notmuch.\r
85 \r
86 Jed\r