Re: [PATCH 0/2] Move pick to use prefix-arg rather than Escape
[notmuch-archives.git] / b7 / 4c4bd72e6d7fbf4a0d1219b96d033781deb66e
1 Return-Path: <madduck@lapse.rw.madduck.net>\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 99172431FBC\r
6         for <notmuch@notmuchmail.org>; Thu, 14 Jan 2010 12:37:47 -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: -1.506\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.506 tagged_above=-999 required=5 tests=[AWL=1.093,\r
12         BAYES_00=-2.599] 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 WINmVbJF9TVM for <notmuch@notmuchmail.org>;\r
16         Thu, 14 Jan 2010 12:37:45 -0800 (PST)\r
17 Received: from clegg.madduck.net (clegg.madduck.net [193.242.105.96])\r
18         by olra.theworths.org (Postfix) with ESMTP id 6C0E4431FAE\r
19         for <notmuch@notmuchmail.org>; Thu, 14 Jan 2010 12:37:45 -0800 (PST)\r
20 Received: from lapse.rw.madduck.net (unknown\r
21         [IPv6:2404:130:0:1000:20a:e4ff:fe30:4316])\r
22         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
23         (Client CN "lapse.rw.madduck.net",\r
24         Issuer "CAcert Class 3 Root" (verified OK))\r
25         by clegg.madduck.net (postfix) with ESMTPS id 4FD941D4099;\r
26         Thu, 14 Jan 2010 21:37:35 +0100 (CET)\r
27 Received: by lapse.rw.madduck.net (Postfix, from userid 1000)\r
28         id 0008E256B; Fri, 15 Jan 2010 09:37:30 +1300 (NZDT)\r
29 Date: Fri, 15 Jan 2010 09:37:30 +1300\r
30 From: martin f krafft <madduck@madduck.net>\r
31 To: Asheesh Laroia <asheesh@asheesh.org>\r
32 Message-ID: <20100114203730.GE4691@lapse.rw.madduck.net>\r
33 Mail-Followup-To: Asheesh Laroia <asheesh@asheesh.org>,\r
34         notmuch <notmuch@notmuchmail.org>\r
35 References: <20100111221909.GA30299@lapse.rw.madduck.net>\r
36         <1263267603-sup-302@elise>\r
37         <20100112045152.GA15275@lapse.rw.madduck.net>\r
38         <alpine.DEB.2.00.1001140254240.27198@vellum>\r
39 MIME-Version: 1.0\r
40 Content-Type: multipart/signed; micalg=pgp-ripemd160;\r
41         protocol="application/pgp-signature"; boundary="EgVrEAR5UttbsTXg"\r
42 Content-Disposition: inline\r
43 In-Reply-To: <alpine.DEB.2.00.1001140254240.27198@vellum>\r
44 X-Motto: Keep the good times rollin'\r
45 X-OS: Debian GNU/Linux squeeze/sid kernel 2.6.32-trunk-686 i686\r
46 X-Spamtrap: madduck.bogus@madduck.net\r
47 X-Subliminal-Message: debian/rules!\r
48 User-Agent: Mutt/1.5.20 (2009-06-14)\r
49 X-Virus-Scanned: clamav-milter 0.95.3 at clegg\r
50 X-Virus-Status: Clean\r
51 Cc: notmuch <notmuch@notmuchmail.org>\r
52 Subject: Re: [notmuch] Potential problem using Git for mail (was: Idea for\r
53  storing tags)\r
54 X-BeenThere: notmuch@notmuchmail.org\r
55 X-Mailman-Version: 2.1.13\r
56 Precedence: list\r
57 List-Id: "Use and development of the notmuch mail system."\r
58         <notmuch.notmuchmail.org>\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
62 List-Post: <mailto:notmuch@notmuchmail.org>\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
66 X-List-Received-Date: Thu, 14 Jan 2010 20:37:47 -0000\r
67 \r
68 \r
69 --EgVrEAR5UttbsTXg\r
70 Content-Type: text/plain; charset=utf-8\r
71 Content-Disposition: inline\r
72 Content-Transfer-Encoding: quoted-printable\r
73 \r
74 also sprach Asheesh Laroia <asheesh@asheesh.org> [2010.01.14.2112 +1300]:\r
75 > Sure. But the MDA doesn't need to do the commit immediately. Since\r
76 > (presumably) we're using Maildir, the MDA on the mail receiving\r
77 > server is going to generate filenames that won't cause conflicts.\r
78 > So it's okay to leave the files uncommitted.\r
79 \r
80 So when does the commit happen?\r
81 \r
82 > When I did the "git merge", git would create the Maildir files in\r
83 > ~/Maildir/cur/... non-atomically.\r
84 \r
85 This might be something that the Git people could address if it was\r
86 brought up on the mailing list. Then again, it might not be possible\r
87 without going via a temporary file, which I doubt will fly.\r
88 \r
89 I suppose that I never actually considered merges on the IMAP server\r
90 side, but obviously the IMAP server has to work off a clone, and\r
91 that means it needs to merge.\r
92 \r
93 > Dovecot would notice the file in ~/Maildir/cur/ and think, "This\r
94 > file must be ready!" So it would parse it even though git hadn't\r
95 > finished writing it. This caused me to only see partial headers in\r
96 > Alpine since Dovecot parsed it before it was a complete message.\r
97 \r
98 I wonder if a custom merge driver could address this to properly use\r
99 =E2=80=A6/tmp/ to assemble the message and only then move it.\r
100 \r
101 --=20\r
102 martin | http://madduck.net/ | http://two.sentenc.es/\r
103 =20\r
104 "this week dragged past me so slowly;\r
105  the days fell on their knees..."\r
106                                                         -- david bowie\r
107 =20\r
108 spamtraps: madduck.bogus@madduck.net\r
109 \r
110 --EgVrEAR5UttbsTXg\r
111 Content-Type: application/pgp-signature; name="digital_signature_gpg.asc"\r
112 Content-Description: Digital signature (see http://martin-krafft.net/gpg/)\r
113 Content-Disposition: inline\r
114 \r
115 -----BEGIN PGP SIGNATURE-----\r
116 Version: GnuPG v1.4.10 (GNU/Linux)\r
117 \r
118 iEYEAREDAAYFAktPgIoACgkQIgvIgzMMSnVOxACglW8o2QY3jVflophey9wA/96q\r
119 CuMAnRcUK+UCu9N2p9YsEf/9+gGGp8gB\r
120 =NFKE\r
121 -----END PGP SIGNATURE-----\r
122 \r
123 --EgVrEAR5UttbsTXg--\r