Re: [PATCH] emacs: show: improve handling of mark read tagging errors
authorDavid Bremner <david@tethera.net>
Tue, 28 Jun 2016 07:57:02 +0000 (09:57 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:22:08 +0000 (16:22 -0700)
64/626994fb5820341c762a8b0236be51ac49d33d [new file with mode: 0644]

diff --git a/64/626994fb5820341c762a8b0236be51ac49d33d b/64/626994fb5820341c762a8b0236be51ac49d33d
new file mode 100644 (file)
index 0000000..c334524
--- /dev/null
@@ -0,0 +1,64 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id AB0A36DE025F\r
+ for <notmuch@notmuchmail.org>; Tue, 28 Jun 2016 00:57:35 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.011\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.011 tagged_above=-999 required=5 tests=[AWL=0.000,\r
+  SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id EAW_J11RKhgA for <notmuch@notmuchmail.org>;\r
+ Tue, 28 Jun 2016 00:57:28 -0700 (PDT)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 6E0646DE00CC\r
+ for <notmuch@notmuchmail.org>; Tue, 28 Jun 2016 00:57:07 -0700 (PDT)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1bHnt1-0006Au-V4; Tue, 28 Jun 2016 03:56:48 -0400\r
+Received: (nullmailer pid 10174 invoked by uid 1000);\r
+ Tue, 28 Jun 2016 07:57:02 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: show: improve handling of mark read tagging errors\r
+In-Reply-To: <1465466050-27220-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1465336292-18704-1-git-send-email-markwalters1009@gmail.com>\r
+ <1465466050-27220-1-git-send-email-markwalters1009@gmail.com>\r
+User-Agent: Notmuch/0.22+51~gcc1a6d2 (https://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Tue, 28 Jun 2016 09:57:02 +0200\r
+Message-ID: <87r3bh3fw1.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 28 Jun 2016 07:57:35 -0000\r
+\r
+Mark Walters <markwalters1009@gmail.com> writes:\r
+\r
+> Previously if a marking read tag change (i.e., removing the unread\r
+> tag) failed for some reason, such as a locked database, then no more\r
+> mark read tag changes would be attempted in that buffer.\r
+>\r
+> This handles the error more gracefully. There is not much we can do\r
+> yet about dealing with the error itself, and marking read is probably\r
+> not important enough to warrant keeping a queue of pending changes or\r
+> anything.\r
+\r
+pushed\r
+\r
+d\r