Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / f7 / e2bbb682b40a5b635c0bb9b9760352ede2e9c4
1 Return-Path: <stebalien@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 arlo.cworth.org (Postfix) with ESMTP id 5A7F26DE15DC\r
6  for <notmuch@notmuchmail.org>; Sun, 25 Oct 2015 14:02:27 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.681\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.681 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001,\r
14  T_FREEMAIL_FORGED_FROMDOMAIN=0.01,\r
15  T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] autolearn=disabled\r
16 Received: from arlo.cworth.org ([127.0.0.1])\r
17  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
18  with ESMTP id UsXHT5xb54uT for <notmuch@notmuchmail.org>;\r
19  Sun, 25 Oct 2015 14:02:24 -0700 (PDT)\r
20 Received: from mail-yk0-f171.google.com (mail-yk0-f171.google.com\r
21  [209.85.160.171])\r
22  by arlo.cworth.org (Postfix) with ESMTPS id 086986DE1585\r
23  for <notmuch@notmuchmail.org>; Sun, 25 Oct 2015 14:02:24 -0700 (PDT)\r
24 Received: by ykdr3 with SMTP id r3so166225054ykd.1\r
25  for <notmuch@notmuchmail.org>; Sun, 25 Oct 2015 14:02:22 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27  h=sender:date:from:to:subject:message-id:mime-version:content-type\r
28  :content-disposition:phone:user-agent;\r
29  bh=bcvY5qV4kdmK9HvLn0bXpIYqCLb2VLIL9ZW+KnKjDZY=;\r
30  b=TFbJPFeJ2NhhbXGVNwix7DGPYboNdf1V/jr26qLjfimwz1G3FzuRiaxeNkgV5ZKq1V\r
31  nnyLjsuHN72UydrjaBO5OCWVazqO/0my8KZArJGiMYU6826JBpw6Ojf2dJ+dOr5rTbXZ\r
32  UqWa7LCggKvygQ/lI+bwAWNP0vcAg8EreW6P9nvZ7si8By6iYPdpNi9ot2U6IXIJZjfZ\r
33  PEgfjuH/c7BcZKve2dVwG+o3bOyYoowYoH9hMHAhQa/pKnaYfzaKSUiQ1mosZ5+UF8+n\r
34  eIsSrgo7qG97jM71Zo37TpKk1m0yLmn8KaRcdx+IkpUp5QR1jaEFn2IVxnWkqoOJOA7i\r
35  r8gg==\r
36 X-Received: by 10.13.241.135 with SMTP id a129mr23111341ywf.325.1445806940965;\r
37   Sun, 25 Oct 2015 14:02:20 -0700 (PDT)\r
38 Received: from localhost (pool-71-174-176-247.bstnma.east.verizon.net.\r
39  [71.174.176.247])\r
40  by smtp.gmail.com with ESMTPSA id r185sm5978967ywg.26.2015.10.25.14.02.19\r
41  for <notmuch@notmuchmail.org>\r
42  (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
43  Sun, 25 Oct 2015 14:02:20 -0700 (PDT)\r
44 Sender: Steven <stebalien@gmail.com>\r
45 Date: Sun, 25 Oct 2015 17:02:15 -0400\r
46 From: Steven Allen <steven@stebalien.com>\r
47 To: notmuch@notmuchmail.org\r
48 Subject: [bug] notmuch doesn't commit changes before an open transaction on\r
49  close\r
50 Message-ID: <20151025210215.GA3754@stebalien.com>\r
51 MIME-Version: 1.0\r
52 Content-Type: multipart/signed; micalg=pgp-sha256;\r
53  protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn"\r
54 Content-Disposition: inline\r
55 Phone: +1-310-433-5865\r
56 X-PGP-Key: https://stebalien.com/assets/media/uploads/key.pgp\r
57 X-PGP-Fingerprint: 327B 20CE 21EA 68CF A774  8675 7C92 3221 5899 410C\r
58 User-Agent: Mutt/1.5.23.1 (2014-03-12)\r
59 X-Mailman-Approved-At: Sun, 25 Oct 2015 14:07:00 -0700\r
60 X-BeenThere: notmuch@notmuchmail.org\r
61 X-Mailman-Version: 2.1.20\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: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
71  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
72 X-List-Received-Date: Sun, 25 Oct 2015 21:02:27 -0000\r
73 \r
74 \r
75 --x+6KMIRAuhnl3hBn\r
76 Content-Type: text/plain; charset=us-ascii\r
77 Content-Disposition: inline\r
78 Content-Transfer-Encoding: quoted-printable\r
79 \r
80 Notmuch claims to commit changes made before an open transaction on\r
81 close but actually throws them away (according to the documentation).\r
82 \r
83 According to the notmuch documentation,\r
84 \r
85 > For writable databases, notmuch_database_close commits all changes\r
86 > to disk before closing the database.  If the caller is currently in\r
87 > an atomic section (there was a notmuch_database_begin_atomic\r
88 > without a matching notmuch_database_end_atomic), this will discard\r
89 > changes made in that atomic section (but still commit changes made\r
90 > prior to entering the atomic section).\r
91 \r
92 However, this isn't true. Notmuch atomic transactions don't flush on\r
93 entry so, this comment from the xapian documentation applies:\r
94 \r
95 > If you're applying atomic groups of changes and only wish to ensure\r
96 > that each group is either applied or not applied, then you can prevent\r
97 > the automatic commit() before and after the transaction by starting\r
98 > the transaction with begin_transaction(false). However, if\r
99 > cancel_transaction is called (or if commit_transaction isn't called\r
100 > before the WritableDatabase object is destroyed) then any changes\r
101 > which were pending before the transaction began will also be\r
102 > discarded.\r
103 \r
104 source: http://xapian.org/docs/apidoc/html/classXapian_1_1WritableDatabase.=\r
105 html\r
106 \r
107 This means that, in theory at least, xapian could throw away *all*\r
108 changes to the database if a transaction is open.\r
109 \r
110 --=20\r
111 Steven Allen\r
112 (310) 433-5865\r
113 ((Do Not Email <honeypot@stebalien.com>))\r
114 \r
115 --x+6KMIRAuhnl3hBn\r
116 Content-Type: application/pgp-signature; name="signature.asc"\r
117 \r
118 -----BEGIN PGP SIGNATURE-----\r
119 Version: GnuPG v2\r
120 \r
121 iQIcBAEBCAAGBQJWLUNUAAoJEGVqlrqQ0li+dg0QAKDqTok9X+n7hZ51dSoss861\r
122 GzhJ1HmE0ikcSDiMzMWT6tUkjKf+WdVl/abXliZZdMnccJGEr3kB5uakt+3HybBN\r
123 s3hLZdKjDhFLatdFdDUJzOHWI3nJENXT614lb3RhCjGK6fiyloQ543sDPxT3PQ+D\r
124 PGknZ3LZI54R/L93hEdR1OCBcMSNRw5+7tmEfrHj+P12duYcgL5Nj9XY+wv9GqYY\r
125 WA/58qEeDVlKkt7K4zTkw8Chrzb58o0whrqJGojw+5eTOA1MUA7/wkcfb1nsEW87\r
126 eRRc+KjgzFclEdE/XYwkdIqFhuurB4KflLo5f1k9Py2O7qPeQssru9RDcdjFACB+\r
127 w7CEKvHvo6RX+j+Vq1h25fXxG3bogOfp08AlTJFZLp75KNRjGdS1frvgaF1ufhZq\r
128 1aTxKbnXo+OTRhriMFWS7P94410Sm7cbhCe7IJJbpu3LFi2ZLkT7jwOgSB+Oj7HQ\r
129 CJtLgyJsRBjrfTmexV3aUU94NhNJGfFj6R7GueckjNdPcH/MVIu52cQxfSLo7DTg\r
130 waReepRIc5xdjRwXI+xr0xjtlnNbFOz2fQVe1/RSxvsLb5elEeTAINjMZ7WF9hOe\r
131 bWjsLEB+CyPmDT5mxfvFSdWtN385S4foWWsnvhqCz1+gc22ZRQLwWqUOQKFayH0Q\r
132 STSUYWPnPA+mOq2+lTQv\r
133 =q6/j\r
134 -----END PGP SIGNATURE-----\r
135 \r
136 --x+6KMIRAuhnl3hBn--\r