From a69a742ec24000a6f4f63d8008cef8235fd3734b Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sat, 29 Dec 2012 08:44:43 +2000 Subject: [PATCH] Re: [PATCH] emacs: tweak error buffer handling --- d7/cf5e79bce02e16b47f4614c8e3226c607fc82e | 82 +++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 d7/cf5e79bce02e16b47f4614c8e3226c607fc82e diff --git a/d7/cf5e79bce02e16b47f4614c8e3226c607fc82e b/d7/cf5e79bce02e16b47f4614c8e3226c607fc82e new file mode 100644 index 000000000..a979a6698 --- /dev/null +++ b/d7/cf5e79bce02e16b47f4614c8e3226c607fc82e @@ -0,0 +1,82 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id AF5ED431FB6 + for ; Fri, 28 Dec 2012 04:44:53 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 5OyEsxHbDOOq for ; + Fri, 28 Dec 2012 04:44:53 -0800 (PST) +Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 290A8431FAF + for ; Fri, 28 Dec 2012 04:44:53 -0800 (PST) +Received: from fctnnbsc30w-156034082078.dhcp-dynamic.fibreop.nb.bellaliant.net + ([156.34.82.78] helo=zancas.localnet) + by tesseract.cs.unb.ca with esmtpsa + (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) + (envelope-from ) + id 1ToZIu-0004iz-Re; Fri, 28 Dec 2012 08:44:48 -0400 +Received: from bremner by zancas.localnet with local (Exim 4.80) + (envelope-from ) + id 1ToZIp-0003xl-3x; Fri, 28 Dec 2012 08:44:43 -0400 +From: David Bremner +To: Mark Walters , + Austin Clements +Subject: Re: [PATCH] emacs: tweak error buffer handling +In-Reply-To: <87ip7my2er.fsf@qmul.ac.uk> +References: <1356209345-11712-1-git-send-email-markwalters1009@gmail.com> + <87k3s4fnz8.fsf@qmul.ac.uk> + <20121227230402.GY6187@mit.edu> <87ip7my2er.fsf@qmul.ac.uk> +User-Agent: Notmuch/0.14+229~g5a1b22e (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-pc-linux-gnu) +Date: Fri, 28 Dec 2012 08:44:43 -0400 +Message-ID: <87wqw2pcqs.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-Spam_bar: - +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 28 Dec 2012 12:44:53 -0000 + +Mark Walters writes: + +> Austin Clements writes: + +>> How about showing all errors in the minibuffer (which could simply +>> mean calling (error ...) and letting the Emacs top-level show it in +>> the mini-buffer)? We could log the verbose error details (like +>> stdout) to some other buffer that we don't automatically show, but +>> instead simply reference from the minibuffer message +> +> That sounds great. In an ideal world we could behave slightly +> differently for fatal errors but the common errors are likely to be +> transient (locked database errors) so getting these right (which this +> would do) seems the important step. +> +> My view is that we should push a fix like the above for 0.15. What do +> other people think? + +Sounds reasonable. I have to admit the new reporting is a bit annoying +for transient messages. + +d -- 2.26.2