[PATCH 0/3] Fix some error handling in notmuch new
authorAustin Clements <amdragon@MIT.EDU>
Mon, 27 Feb 2012 15:49:16 +0000 (10:49 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:45:01 +0000 (09:45 -0800)
8a/307710f2cefcdb086a830d2581dfb978053f4a [new file with mode: 0644]

diff --git a/8a/307710f2cefcdb086a830d2581dfb978053f4a b/8a/307710f2cefcdb086a830d2581dfb978053f4a
new file mode 100644 (file)
index 0000000..af9c322
--- /dev/null
@@ -0,0 +1,75 @@
+Return-Path: <amthrax@drake.mit.edu>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 0E626431FBC\r
+       for <notmuch@notmuchmail.org>; Mon, 27 Feb 2012 07:49:29 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id OfAERKThHtIw for <notmuch@notmuchmail.org>;\r
+       Mon, 27 Feb 2012 07:49:28 -0800 (PST)\r
+Received: from dmz-mailsec-scanner-6.mit.edu (DMZ-MAILSEC-SCANNER-6.MIT.EDU\r
+       [18.7.68.35])\r
+       by olra.theworths.org (Postfix) with ESMTP id 82EAE431FAF\r
+       for <notmuch@notmuchmail.org>; Mon, 27 Feb 2012 07:49:28 -0800 (PST)\r
+X-AuditID: 12074423-b7f9c6d0000008c3-db-4f4ba60681bd\r
+Received: from mailhub-auth-4.mit.edu ( [18.7.62.39])\r
+       by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP\r
+       id 53.4D.02243.606AB4F4; Mon, 27 Feb 2012 10:49:26 -0500 (EST)\r
+Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
+       by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id q1RFnPGQ011624\r
+       for <notmuch@notmuchmail.org>; Mon, 27 Feb 2012 10:49:26 -0500\r
+Received: from drake.mit.edu\r
+       (209-6-116-242.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com\r
+       [209.6.116.242]) (authenticated bits=0)\r
+       (User authenticated as amdragon@ATHENA.MIT.EDU)\r
+       by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q1RFnNnt003376\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT)\r
+       for <notmuch@notmuchmail.org>; Mon, 27 Feb 2012 10:49:25 -0500 (EST)\r
+Received: from amthrax by drake.mit.edu with local (Exim 4.77)\r
+       (envelope-from <amthrax@drake.mit.edu>) id 1S22pH-0000N3-EF\r
+       for notmuch@notmuchmail.org; Mon, 27 Feb 2012 10:49:23 -0500\r
+From: Austin Clements <amdragon@MIT.EDU>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/3] Fix some error handling in notmuch new\r
+Date: Mon, 27 Feb 2012 10:49:16 -0500\r
+Message-Id: <1330357759-1337-1-git-send-email-amdragon@mit.edu>\r
+X-Mailer: git-send-email 1.7.7.3\r
+X-Brightmail-Tracker:\r
+ H4sIAAAAAAAAA+NgFupnkeLIzCtJLcpLzFFi42IRYrdT12Vb5u1vsOC8gsX1mzOZHRg9nq26\r
+       xRzAGMVlk5Kak1mWWqRvl8CV0XH/O1vBPcaKJy9vszQwbmLsYuTkkBAwkVi8/CALhC0mceHe\r
+       erYuRi4OIYF9jBKvz71hhXDOMUpMPdbEBlIlJPCXSWLCLD+IxF5Gic0XdrKCJNgENCS27V8O\r
+       NlZEQFpi593ZYHFhAWuJ2+97weIsAqoSD/49BlvHK2Av0f3oFCvEagWJc6vPsU9g5FnAyLCK\r
+       UTYlt0o3NzEzpzg1Wbc4OTEvL7VI10wvN7NELzWldBMj2N8uyjsY/xxUOsQowMGoxMNbPMvb\r
+       X4g1say4MvcQoyQHk5Ior+cSoBBfUn5KZUZicUZ8UWlOavEhRgkOZiURXv1soBxvSmJlVWpR\r
+       PkxKmoNFSZxXQ+udn5BAemJJanZqakFqEUxWhoNDSYLXZylQo2BRanpqRVpmTglCmomDE2Q4\r
+       D9BwU5Aa3uKCxNzizHSI/ClGRSlxXj+QhABIIqM0D64XFo+vGMWBXhHmtQSp4gHGMlz3K6DB\r
+       TECDAzjBBpckIqSkGhivh+1V0v/xxM37oda5VXUliRb3rTREuHp2ciwQO3iGT+6LNk99Z9fh\r
+       qQfy0uW/OLw8xP/5/kXNORs+N3UHW664wOUX77D2SUjz8hBTEcFNZbdzixL+i4duipvX8/Vq\r
+       +DuxuJTEv95OihODfv8yPbfjVfHZfL8tl175HsjI6Z214UrfaXfpyxJKLMUZiYZazEXFiQCp\r
+       wJ0WogIAAA==\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 27 Feb 2012 15:49:29 -0000\r
+\r
+This series cleans up some bad error handling in notmuch new.  In many\r
+cases, fatal errors were being ignored, sometimes blatantly and\r
+sometimes because the caller did not treat them as fatal even if the\r
+callee did.\r
+\r