1 Return-Path: <amdragon@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 2B178429E5F
\r
6 for <notmuch@notmuchmail.org>; Wed, 29 Jun 2011 00:35:00 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,
\r
13 RCVD_IN_DNSWL_LOW=-0.7] 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 JCAdjm0ovK9o for <notmuch@notmuchmail.org>;
\r
17 Wed, 29 Jun 2011 00:34:59 -0700 (PDT)
\r
18 Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com
\r
19 [209.85.216.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 9BD51429E5B
\r
22 for <notmuch@notmuchmail.org>; Wed, 29 Jun 2011 00:34:59 -0700 (PDT)
\r
23 Received: by qyk9 with SMTP id 9so626357qyk.5
\r
24 for <notmuch@notmuchmail.org>; Wed, 29 Jun 2011 00:34:59 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=mime-version:sender:in-reply-to:references:date
\r
27 :x-google-sender-auth:message-id:subject:from:to:cc:content-type;
\r
28 bh=mpMO3OKuarI4kVVg29vq4iT6gfAKloRMnxzbY2Sq/rk=;
\r
29 b=RMQE1tqXcmpeffRmbo0bouKMdNZPEb/PQCHwCd1iyELbjd/IpRFPtUjvTrUOP/oZlh
\r
30 1GajUIUSdY5l6OBdHcU2HlrDQ5pJWIogoSJFH8wpKQGwTfL6TF+nskwlXAsp66GuqwLU
\r
31 1SUffUD0Lb0+TSYXFYyxPN5H/Z8T+LvZ2KslQ=
\r
33 Received: by 10.229.2.89 with SMTP id 25mr335790qci.39.1309332898837; Wed, 29
\r
34 Jun 2011 00:34:58 -0700 (PDT)
\r
35 Sender: amdragon@gmail.com
\r
36 Received: by 10.229.249.193 with HTTP; Wed, 29 Jun 2011 00:34:58 -0700 (PDT)
\r
37 In-Reply-To: <87r56d7as1.fsf@yoom.home.cworth.org>
\r
38 References: <1309236311-2162-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
39 <1309236311-2162-10-git-send-email-dmitry.kurochkin@gmail.com>
\r
40 <87hb798uz7.fsf@yoom.home.cworth.org> <87wrg5wq8o.fsf@gmail.com>
\r
41 <87r56d7as1.fsf@yoom.home.cworth.org>
\r
42 Date: Wed, 29 Jun 2011 03:34:58 -0400
\r
43 X-Google-Sender-Auth: kq-Gqsb4iTPxIycmxYtRjUb89xE
\r
45 <CAH-f9Wv1HA4HB1fFz01nWYPyYaEpj9GF5ydryNY050RmmOvXxA@mail.gmail.com>
\r
46 Subject: Re: [PATCH 10/10] test: use emacsclient(1) for Emacs tests
\r
47 From: Austin Clements <amdragon@mit.edu>
\r
48 To: Carl Worth <cworth@cworth.org>
\r
49 Content-Type: text/plain; charset=ISO-8859-1
\r
50 Cc: notmuch@notmuchmail.org
\r
51 X-BeenThere: notmuch@notmuchmail.org
\r
52 X-Mailman-Version: 2.1.13
\r
54 List-Id: "Use and development of the notmuch mail system."
\r
55 <notmuch.notmuchmail.org>
\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
59 List-Post: <mailto:notmuch@notmuchmail.org>
\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
63 X-List-Received-Date: Wed, 29 Jun 2011 07:35:00 -0000
\r
65 On Tue, Jun 28, 2011 at 8:15 PM, Carl Worth <cworth@cworth.org> wrote:
\r
66 > That means that if the emacs_deliver_message code is fast enough, (less
\r
67 > than 1 second), and if the test suite is being run on a lame filesystem
\r
68 > without sub-second timestamp granularity (including ext3fs) that the
\r
69 > "notmuch new" invocation will not see the mail[*].
\r
71 Or, really, any file system, since notmuch doesn't currently take
\r
72 advantage of sub-second mtimes.
\r
74 > [*] And, yes, this does mean that there are race conditions under which
\r
75 > mail can be delivered and notmuch won't see it, (unless subsequent mails
\r
76 > are delivered to the same directory). Austin has a plan to fix the use
\r
77 > of the mtime timestamp in notmuch, (never storing the current mtime in
\r
78 > the database if it's the same as the current time), that should
\r
79 > hopefully close this race window.
\r