[PATCH 05/18] insert: move file from Maildir tmp to new
[notmuch-archives.git] / d8 / 3f6637d14dab37a84f0c428b963f8b63f3ec81
1 Return-Path: <tomi.ollila@nixu.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 71A1640771D\r
6         for <notmuch@notmuchmail.org>; Fri,  6 Jan 2012 13:31:20 -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 7UszYFmxeUvB for <notmuch@notmuchmail.org>;\r
16         Fri,  6 Jan 2012 13:31:20 -0800 (PST)\r
17 Received: from mail-gw3.nixu.fi (mail-gw3.nixu.fi [193.209.237.7])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id A829B40770E\r
21         for <notmuch@notmuchmail.org>; Fri,  6 Jan 2012 13:31:19 -0800 (PST)\r
22 Received: from pps.filterd (mail-gw3 [127.0.0.1])\r
23         by mail-gw3.nixu.fi (8.14.4/8.14.4) with SMTP id q06LUnEK032496;\r
24         Fri, 6 Jan 2012 23:31:06 +0200\r
25 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
26         by mail-gw3.nixu.fi with ESMTP id 114cs0xtxa-1\r
27         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
28         Fri, 06 Jan 2012 23:31:05 +0200\r
29 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
30         by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id\r
31         q06LV4CY004390; Fri, 6 Jan 2012 23:31:04 +0200\r
32 From: Tomi Ollila <tomi.ollila@iki.fi>\r
33 To: Jani Nikula <jani@nikula.org>,\r
34         Jameson Graef Rollins <jrollins@finestructure.net>,\r
35         Aaron Ecay <aaronecay@gmail.com>, notmuch@notmuchmail.org\r
36 Subject: Re: [PATCH] emacs: call "notmuch tag" only once when archiving a\r
37         thread\r
38 In-Reply-To: <87d3axamtl.fsf@nikula.org>\r
39 References: <1325615346-8302-1-git-send-email-jani@nikula.org>\r
40         <m2hb09kj0m.fsf@gmail.com> <87fwftao1b.fsf@nikula.org>\r
41         <87vcop3mx1.fsf@servo.finestructure.net>\r
42         <87d3axamtl.fsf@nikula.org>\r
43 User-Agent: Notmuch/0.10.2+157~g442d405 (http://notmuchmail.org) Emacs/23.3.1\r
44         (i686-pc-linux-gnu)\r
45 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
46         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
47         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
48 Date: Fri, 06 Jan 2012 23:31:04 +0200\r
49 Message-ID: <yf662gojz6v.fsf@taco2.nixu.fi>\r
50 MIME-Version: 1.0\r
51 Content-Type: text/plain; charset=us-ascii\r
52 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,\r
53  1.0.211,       0.0.0000        definitions=2012-01-05_05:2012-01-05, 2012-01-05,\r
54         1970-01-01 signatures=0\r
55 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0\r
56         ipscore=0 suspectscore=0\r
57         phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0\r
58         reason=mlx\r
59         scancount=1 engine=6.0.2-1012030000 definitions=main-1201060257\r
60 X-BeenThere: notmuch@notmuchmail.org\r
61 X-Mailman-Version: 2.1.13\r
62 Precedence: list\r
63 List-Id: "Use and development of the notmuch mail system."\r
64         <notmuch.notmuchmail.org>\r
65 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
66         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
67 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
68 List-Post: <mailto:notmuch@notmuchmail.org>\r
69 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
70 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
71         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
72 X-List-Received-Date: Fri, 06 Jan 2012 21:31:20 -0000\r
73 \r
74 On Thu, 05 Jan 2012 22:58:30 +0200, Jani Nikula <jani@nikula.org> wrote:\r
75 > On Thu, 05 Jan 2012 12:38:18 -0800, Jameson Graef Rollins <jrollins@finestructure.net> wrote:\r
76 > > On Thu, 05 Jan 2012 22:32:16 +0200, Jani Nikula <jani@nikula.org> wrote:\r
77 > > > In the search view it does exactly this.\r
78 > > \r
79 > > I worry about race conditions in this case, though.  I frequently\r
80 > > archive threads after I've read everything, but I still want to know if\r
81 > > new message to that thread come in.  If I attempt to archive a thread in\r
82 > > notmuch-search, but a new message has entered the thread without me\r
83 > > knowing it, I'll archive the new message before I had a chance to look\r
84 > > at it.\r
85\r
86 > Just to be clear: The patch in question does not alter this\r
87 > behaviour. The race you describe is there already.\r
88\r
89 > And at a glance, it does not look like something that would be trivial\r
90 > to fix. The buffer does not have the information to do that.\r
91 \r
92 Hmm, I currently run 'notmuch new' from command line... I've been thinking\r
93 changing that but now knowing this issue I think I'm not going to do that...\r
94 \r
95 \r
96 > BR,\r
97 > Jani.\r
98 \r
99 Tomi\r