1 Return-Path: <david@tethera.net>
\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 133BF431FC0
\r
6 for <notmuch@notmuchmail.org>; Thu, 14 Nov 2013 08:12:04 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 NSzw2I2cKMFz for <notmuch@notmuchmail.org>;
\r
16 Thu, 14 Nov 2013 08:11:56 -0800 (PST)
\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])
\r
18 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 0B0C7431FB6
\r
21 for <notmuch@notmuchmail.org>; Thu, 14 Nov 2013 08:11:56 -0800 (PST)
\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)
\r
23 (envelope-from <david@tethera.net>)
\r
24 id 1VgzWG-0004pe-6a; Thu, 14 Nov 2013 12:11:48 -0400
\r
25 Received: (nullmailer pid 32333 invoked by uid 1000); Thu, 14 Nov 2013
\r
27 From: David Bremner <david@tethera.net>
\r
28 To: Jani Nikula <jani@nikula.org>, Tomi Ollila <tomi.ollila@iki.fi>,
\r
29 notmuch@notmuchmail.org
\r
30 Subject: Re: [PATCH v2 5/5] compact: provide user more information on
\r
31 after-compaction failures
\r
32 In-Reply-To: <871u2jnkai.fsf@nikula.org>
\r
33 References: <1384362167-12740-1-git-send-email-tomi.ollila@iki.fi>
\r
34 <1384362167-12740-6-git-send-email-tomi.ollila@iki.fi>
\r
35 <871u2jnkai.fsf@nikula.org>
\r
36 User-Agent: Notmuch/0.16+164~gfcbf06a (http://notmuchmail.org) Emacs/24.3.1
\r
37 (x86_64-pc-linux-gnu)
\r
38 Date: Thu, 14 Nov 2013 12:11:44 -0400
\r
39 Message-ID: <87y54rx8sf.fsf@unb.ca>
\r
41 Content-Type: text/plain
\r
42 Cc: tomi.ollila@iki.fi
\r
43 X-BeenThere: notmuch@notmuchmail.org
\r
44 X-Mailman-Version: 2.1.13
\r
46 List-Id: "Use and development of the notmuch mail system."
\r
47 <notmuch.notmuchmail.org>
\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
51 List-Post: <mailto:notmuch@notmuchmail.org>
\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
55 X-List-Received-Date: Thu, 14 Nov 2013 16:12:04 -0000
\r
57 Jani Nikula <jani@nikula.org> writes:
\r
59 > On Wed, 13 Nov 2013, Tomi Ollila <tomi.ollila@iki.fi> wrote:
\r
60 >> After database has been compacted, there are steps to put the new
\r
61 >> database into place -- and these steps may fail. In case such
\r
62 >> failure happens, provide better information how to resolve it.
\r
64 > I disagree with having a library spew all this information out. For each
\r
65 > case, I think it should be sufficient to just say what happened
\r
66 > (e.g. "rename a -> b failed" + strerror). I don't think a library's
\r
67 > error messages should be a tutorial on how to fix things.
\r
70 I can live with whatever the concensus level of verbosity, but not the
\r
71 fprintf's; as I mentioned, for once we have a log hook.
\r
73 That might also somewhat comfort Jani, since the library client has the
\r
74 option of ignoring the spewing.
\r