[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / 9c / 6e1404299b9bbd7bb9035ff80eeb96fc0fce87
1 Return-Path: <edward@4angle.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 1F67D431FBF\r
6         for <notmuch@notmuchmail.org>; Wed, 12 Nov 2014 14:14:21 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 DcnNd+wn+8tm for <notmuch@notmuchmail.org>;\r
16         Wed, 12 Nov 2014 14:14:12 -0800 (PST)\r
17 X-Greylist: delayed 2218 seconds by postgrey-1.32 at olra;\r
18         Wed, 12 Nov 2014 14:14:12 PST\r
19 Received: from 4angle.com (4angle.com [82.145.46.9])\r
20         (using TLSv1 with cipher AES128-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id D0E97431FAF\r
23         for <notmuch@notmuchmail.org>; Wed, 12 Nov 2014 14:14:12 -0800 (PST)\r
24 Received: from cpc19-cmbg14-2-0-cust212.5-4.cable.virginm.net ([86.6.30.213]\r
25         helo=x230)\r
26         by 4angle.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\r
27         (Exim 4.82) (envelope-from <edward@4angle.com>) id 1XofbB-0002K8-Ue\r
28         for notmuch@notmuchmail.org; Wed, 12 Nov 2014 21:37:10 +0000\r
29 Received: from edward by x230 with local (Exim 4.84)\r
30         (envelope-from <edward@x230>) id 1Xofb4-00066L-Kg\r
31         for notmuch@notmuchmail.org; Wed, 12 Nov 2014 21:37:02 +0000\r
32 Date: Wed, 12 Nov 2014 21:37:02 +0000\r
33 From: Edward Betts <edward@4angle.com>\r
34 To: notmuch@notmuchmail.org\r
35 Subject: Synchronising mail and notmuch tags between machines\r
36 Message-ID: <20141112213702.GA22214@x230>\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain; charset=us-ascii\r
39 Content-Disposition: inline\r
40 User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12)\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Wed, 12 Nov 2014 22:14:21 -0000\r
54 \r
55 I've written some code to synchronise mail between my server and laptop. I\r
56 have notmuch running on both machine, whenever mail is added to notmuch, it is\r
57 tagged as needing to be copied to the other machine, the tags are\r
58 sync-to-laptop and sync-to-server. Whenever I modify the tags on a mail I'm\r
59 careful to add the sync tag. My mail reader is configured to add the sync tag\r
60 whenever I make any changes to a mail.\r
61 \r
62 Here is the code:\r
63 \r
64 https://github.com/EdwardBetts/notmuch-pushy/\r
65 \r
66 The synchronise code opens each database and checks for messages that need to\r
67 be synchronised, the tags are copied to the other database, if the mail is new\r
68 then content is copied as well. Then the sync tag is removed from the source\r
69 message.\r
70 \r
71 I'm using a Python RPC module called pushy, it provides a simple way to\r
72 connect two python interpreters on different machines. Pushy provides proxy\r
73 objects to access remote objects as if they are local. These means I can\r
74 access the local and remote notmuch databases from within the same piece of\r
75 code.  All the communication happens over ssh, and pushy even provides methods\r
76 for copying files between the machines.\r
77 \r
78 https://pythonhosted.org/pushy/\r
79 https://github.com/pushyrpc/pushy\r
80 \r
81 My main todo item is reducing the amount of time that the write lock is held.\r
82 I should copy messages back and forth before grabbing the write lock to update\r
83 the tags.\r
84 \r
85 It would be helpful if the notmuch would always add the sync tag when a\r
86 message was modified, unless the sync tag is explicitly being removed. That\r
87 way there is no risk of me forgetting to add the sync tag when I'm modifying\r
88 tags using the command line tools.\r
89 -- \r
90 Edward.\r