[RFC PATCH] test: add devel/test-in-docker.sh
[notmuch-archives.git] / cb / 67470aa1d39d7c50e20bbccda3c3a6b99f0639
1 Return-Path: <pieter@praet.org>\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 8C24A429E5B\r
6         for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 23:49:19 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 71Ja+ALjLNHI for <notmuch@notmuchmail.org>;\r
16         Mon, 27 Jun 2011 23:49:19 -0700 (PDT)\r
17 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
18  [74.125.82.45])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  EAE16429E54    for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 23:49:18 -0700\r
21  (PDT)\r
22 Received: by wwj40 with SMTP id 40so4326309wwj.2\r
23         for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 23:49:17 -0700 (PDT)\r
24 Received: by 10.227.164.199 with SMTP id f7mr6320984wby.70.1309243757160;\r
25         Mon, 27 Jun 2011 23:49:17 -0700 (PDT)\r
26 Received: from localhost ([109.131.53.225])\r
27         by mx.google.com with ESMTPS id ex2sm4605328wbb.65.2011.06.27.23.49.13\r
28         (version=TLSv1/SSLv3 cipher=OTHER);\r
29         Mon, 27 Jun 2011 23:49:16 -0700 (PDT)\r
30 From: Pieter Praet <pieter@praet.org>\r
31 To: Robin Green <greenrd@greenrd.org>, notmuch@notmuchmail.org\r
32 Subject: Re: Race condition for '*' command\r
33 In-Reply-To: <86aad5c6h2.fsf@dragonfly.greenrd.org>\r
34 References: <86d3i1d06r.fsf@dragonfly.greenrd.org>\r
35         <87sjqx31mp.fsf@servo.factory.finestructure.net>\r
36         <86aad5c6h2.fsf@dragonfly.greenrd.org>\r
37 User-Agent: Notmuch/0.5-243-g5a76944 (http://notmuchmail.org) Emacs/23.1.50.1\r
38         (x86_64-pc-linux-gnu)\r
39 Date: Tue, 28 Jun 2011 08:49:06 +0200\r
40 Message-ID: <87fwmuxxgd.fsf@praet.org>\r
41 MIME-Version: 1.0\r
42 Content-Type: text/plain; charset=us-ascii\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Tue, 28 Jun 2011 06:49:19 -0000\r
56 \r
57 On Sun, 26 Jun 2011 10:00:41 +0100, Robin Green <greenrd@greenrd.org> wrote:\r
58 > On Sat, 25 Jun 2011 16:57:50 -0700, Jameson Graef Rollins <jrollins@finestructure.net> wrote:\r
59 > > On Sat, 25 Jun 2011 23:18:52 +0100, Robin Green <greenrd@greenrd.org> wrote:\r
60 > > > A race condition in the '*' command was noted when it was first\r
61 > > > proposed. It looks to me like it still exists - has anything been done\r
62 > > > about it?\r
63 > > \r
64 > > Hi, Robin.  Can you explain what you mean by the "'*' command"?\r
65\r
66 > Sorry - forgot to say I'm talking about the notmuch emacs mode. In that\r
67 > mode '*' applies tags to all messages matching the current search query,\r
68 > which means that (here's the race condition) new results that have\r
69 > appeared since the last refresh will also be tagged.\r
70 \r
71 This issue appears to stem from the fact that `notmuch-search-operate-all'\r
72 runs (apply 'notmuch-tag notmuch-search-query-string action-split), in which\r
73 `notmuch-search-query-string' points to a moving target.\r
74 \r
75 Could be solved by doing it with `notmuch-search', `mark-whole-buffer'\r
76 and `notmuch-search-{add,remove}-tag-region' instead, but I'm sure\r
77 there's a better way (of which I'm as of yet unaware).\r
78 \r
79 > -- \r
80 > Robin\r
81 > _______________________________________________\r
82 > notmuch mailing list\r
83 > notmuch@notmuchmail.org\r
84 > http://notmuchmail.org/mailman/listinfo/notmuch\r
85 \r
86 Peace\r
87 \r
88 -- \r
89 Pieter\r