[PATCH 2/9] lib: private string map (associative array) API
[notmuch-archives.git] / 36 / ede36597606b8a456463ea213dbc9c458dbe0b
1 Return-Path:\r
2  <return-bm6jd5aha6jitda2txqa44rvus@temporary-address.scs.stanford.edu>\r
3 X-Original-To: notmuch@notmuchmail.org\r
4 Delivered-To: notmuch@notmuchmail.org\r
5 Received: from localhost (localhost [127.0.0.1])\r
6         by olra.theworths.org (Postfix) with ESMTP id F0DCE431FD0\r
7         for <notmuch@notmuchmail.org>; Mon, 24 Jan 2011 17:35:38 -0800 (PST)\r
8 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
9 X-Spam-Flag: NO\r
10 X-Spam-Score: -2.3\r
11 X-Spam-Level: \r
12 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
13         tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id Wy9-jG-ob8eH for <notmuch@notmuchmail.org>;\r
17         Mon, 24 Jan 2011 17:35:38 -0800 (PST)\r
18 Received: from market.scs.stanford.edu (market.scs.stanford.edu [171.66.3.10])\r
19         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 6A99A431FB6\r
22         for <notmuch@notmuchmail.org>; Mon, 24 Jan 2011 17:35:38 -0800 (PST)\r
23 Received: from market.scs.stanford.edu (localhost.scs.stanford.edu\r
24  [127.0.0.1])   by market.scs.stanford.edu (8.14.3/8.14.3) with ESMTP id\r
25  p0P1Zbt9023157;        Mon, 24 Jan 2011 17:35:37 -0800 (PST)\r
26 Received: from garage.uun.org.scs.stanford.edu (dm@localhost)\r
27         by market.scs.stanford.edu (8.14.3/8.13.3/Submit) with ESMTP id\r
28         p0P1Za3K014267; Mon, 24 Jan 2011 17:35:36 -0800 (PST)\r
29 X-Authentication-Warning: market.scs.stanford.edu: dm owned process doing -bs\r
30 Date: Mon, 24 Jan 2011 17:35:36 -0800\r
31 Message-ID: <x74o8xojdj.wl@ta.scs.stanford.edu>\r
32 From: dm-list-email-notmuch@scs.stanford.edu\r
33 To: Tim Stoakes <notmuch@stoakes.net>\r
34 Subject: Re: Tag timestamps and synchronization\r
35 In-Reply-To: <20110124233812.GB23628@mail.stoakes.net>\r
36 References: <x78vyanmnb.wl@ta.scs.stanford.edu>\r
37         <20110124233812.GB23628@mail.stoakes.net>\r
38 User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=)\r
39         APEL/10.8 Emacs/23.2 (x86_64-unknown-linux-gnu) MULE/6.0\r
40         (HANACHIRUSATO)\r
41 MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")\r
42 Content-Type: text/plain; charset=US-ASCII\r
43 Cc: notmuch@notmuchmail.org\r
44 X-BeenThere: notmuch@notmuchmail.org\r
45 X-Mailman-Version: 2.1.13\r
46 Precedence: list\r
47 Reply-To: David Mazieres expires 2011-02-24 PST\r
48         <mazieres-dk52ay6556wfznqabtbkpvzdq6@temporary-address.scs.stanford.edu>\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Tue, 25 Jan 2011 01:35:39 -0000\r
59 \r
60 At Tue, 25 Jan 2011 10:08:12 +1030,\r
61 Tim Stoakes wrote:\r
62\r
63 > I do something like this by using some shell scripts with formail, to\r
64 > 'store' notmuch tags into the X-Label headers of the individual mails.\r
65 > Offlineimap then syncs these headers. If I need the tags to become\r
66 > notmuch-ified on the target, I just scan all the mail's X-Label headers.\r
67 \r
68 How well does offlineimap work when you modify the contents of\r
69 messages?  This doesn't change the message UIDs, does it?  Are you\r
70 syncing between two imapd instances, or one imapd and a maildir?  (I\r
71 currently run a local imap server as well, because it seems to be a\r
72 lot faster.)\r
73 \r
74 How does the imap server even detect that the message contents has\r
75 been modified?  Does it have to stat 300,000 files every time you\r
76 check your email?\r
77 \r
78 In my setup, I regularly check email from three or four different\r
79 machines, so the syncing is not just for backup purposes.  When I\r
80 switch between computers all my label changes need to be visible.\r
81 \r
82 > I'm happy to share this hack glue if it would help.\r
83 \r
84 Yes, I'd be glad to take a look at your scripts.\r
85 \r
86 Thanks,\r
87 David\r