post-new [was: Re: query on a subset of messages ?]
[notmuch-archives.git] / 04 / 02378d3e1146778c7bb635f285ab8643fc05c8
1 Return-Path: <amdragon@mit.edu>\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 05744431FD0\r
6         for <notmuch@notmuchmail.org>; Mon, 26 Sep 2011 15:04:41 -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 cAPGnMRdh1QL for <notmuch@notmuchmail.org>;\r
16         Mon, 26 Sep 2011 15:04:40 -0700 (PDT)\r
17 Received: from dmz-mailsec-scanner-1.mit.edu (DMZ-MAILSEC-SCANNER-1.MIT.EDU\r
18         [18.9.25.12])\r
19         by olra.theworths.org (Postfix) with ESMTP id 63011431FB6\r
20         for <notmuch@notmuchmail.org>; Mon, 26 Sep 2011 15:04:40 -0700 (PDT)\r
21 X-AuditID: 1209190c-b7fd26d0000008df-5c-4e80f6f79879\r
22 Received: from mailhub-auth-3.mit.edu ( [18.9.21.43])\r
23         by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP\r
24         id A3.6A.02271.7F6F08E4; Mon, 26 Sep 2011 18:04:39 -0400 (EDT)\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
26         by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id p8QM4ciw006611; \r
27         Mon, 26 Sep 2011 18:04:39 -0400\r
28 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])\r
29         (authenticated bits=0)\r
30         (User authenticated as amdragon@ATHENA.MIT.EDU)\r
31         by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id p8QM4bUL001025\r
32         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
33         Mon, 26 Sep 2011 18:04:38 -0400 (EDT)\r
34 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.72)\r
35         (envelope-from <amdragon@mit.edu>)\r
36         id 1R8JKH-0003Kf-Cj; Mon, 26 Sep 2011 18:07:01 -0400\r
37 Date: Mon, 26 Sep 2011 18:07:01 -0400\r
38 From: Austin Clements <amdragon@MIT.EDU>\r
39 To: David Bremner <david@tethera.net>\r
40 Subject: Re: [PATCH v6 00/17] Fix 'notmuch new' atomicity issues\r
41 Message-ID: <20110926220701.GL17905@mit.edu>\r
42 References: <87ei34rnc5.fsf@yoom.home.cworth.org>\r
43         <1307822683-848-1-git-send-email-amdragon@mit.edu>\r
44         <BANLkTimeWnn5YtKjarFB8f8Fowvz0PxK2Q@mail.gmail.com>\r
45         <CAH-f9WvAFuVp-6u6tFgbcPEGW304wkGy=uhSOGhbNXd0m7H3mw@mail.gmail.com>\r
46         <87ty8gobv0.fsf@zancas.localnet>\r
47         <87bouabpic.fsf@rocinante.cs.unb.ca>\r
48         <20110924040244.GE17905@mit.edu> <871uv5mjpg.fsf@zancas.localnet>\r
49 MIME-Version: 1.0\r
50 Content-Type: text/plain; charset=us-ascii\r
51 Content-Disposition: inline\r
52 In-Reply-To: <871uv5mjpg.fsf@zancas.localnet>\r
53 User-Agent: Mutt/1.5.20 (2009-06-14)\r
54 X-Brightmail-Tracker:\r
55  H4sIAAAAAAAAA+NgFmpmleLIzCtJLcpLzFFi42IR4hTV1v3+rcHPYM9pFosbrd2MFtdvzmR2\r
56         YPJ4tuoWs8eWQ++ZA5iiuGxSUnMyy1KL9O0SuDLet2xkLnjFUfGq/zZ7A2MXexcjJ4eEgIlE\r
57         0+wNzBC2mMSFe+vZuhi5OIQE9jFKfJvRB+VsYJTY8GgvI4Rzkkniyb4rLBDOEkaJHQsvs4L0\r
58         swioSmydcYMFxGYT0JDYtn85I4gtAhS/um0yG4jNLCAt8e13M1MXIzuHsICDxDc1kCivgI7E\r
59         9m+zmCBGfmGS6H52nx0iIShxcuYTFohWLYkb/14CFXGAjVn+jwMkzCmgK7Hp+CWwElEBFYlr\r
60         +9vZJjAKzULSPQtJ9yyE7gWMzKsYZVNyq3RzEzNzilOTdYuTE/PyUot0DfVyM0v0UlNKNzGC\r
61         w1qSZwfjm4NKhxgFOBiVeHhnbmvwE2JNLCuuzD3EKMnBpCTK2/IJKMSXlJ9SmZFYnBFfVJqT\r
62         WnyIUYKDWUmE1/Q1UI43JbGyKrUoHyYlzcGiJM57cIeDn5BAemJJanZqakFqEUxWhoNDSYL3\r
63         0legRsGi1PTUirTMnBKENBMHJ8hwHqDhyl9AhhcXJOYWZ6ZD5E8xKkqJ8z4AaRYASWSU5sH1\r
64         wtLOK0ZxoFeEeQWASUiIB5iy4LpfAQ1mAhqcU1MLMrgkESEl1cA4fZM/w8wb6tsFameqhexc\r
65         sEZvcWBp6e9Zi4V0Xuo0JUzYtkcsYsqk14dU3uk+TajP7/q95uu9JyyhZxqv8tqY8h9ee6Fb\r
66         KUvTZdvyMJn5qw2OnXeTSllaXbGsuTJ+sVhOwXYtNuZZqedna0y2fXgw+3UVY+n8PbEf94np\r
67         3n1m+GtB6PN/TMprlFiKMxINtZiLihMBVItyHBYDAAA=\r
68 Cc: notmuch@notmuchmail.org\r
69 X-BeenThere: notmuch@notmuchmail.org\r
70 X-Mailman-Version: 2.1.13\r
71 Precedence: list\r
72 List-Id: "Use and development of the notmuch mail system."\r
73         <notmuch.notmuchmail.org>\r
74 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
75         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
76 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
77 List-Post: <mailto:notmuch@notmuchmail.org>\r
78 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
79 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
80         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
81 X-List-Received-Date: Mon, 26 Sep 2011 22:04:41 -0000\r
82 \r
83 Quoth David Bremner on Sep 24 at 11:36 pm:\r
84 > On Sat, 24 Sep 2011 00:03:02 -0400, Austin Clements <amdragon@MIT.EDU> wrote:\r
85 > > \r
86 > > Awesome.  Only seven more to go!\r
87\r
88 > The remaining seven are pushed, along with some related debian packaging\r
89 > things.\r
90 \r
91 Huzzah!\r
92 \r
93 > Austin, could I bug you for some atomicity related items for NEWS? I\r
94 > guess at least the 3 new library calls should be mentioned.\r
95 \r
96 In fact, I've been looking forward to writing some NEWS items!\r
97 \r
98 \r
99 Correct handling of interruptions during "notmuch new"\r
100 \r
101   "notmuch new" now operates as a series of small, self-consistent\r
102   transactions, so it can correctly resume after an interruption or\r
103   crash.  Previously, interruption could lose existing tags, fail to\r
104   detect messages on resume, or leave the database in a state\r
105   temporarily or permanently inconsistent with the mail store.\r
106 \r
107 Library changes\r
108 ---------------\r
109 \r
110 New functions\r
111 \r
112   notmuch_database_begin_atomic and notmuch_database_end_atomic allow\r
113   multiple database operations to be performed atomically.\r
114 \r
115   notmuch_database_find_message_by_filename does exactly what it says.\r