From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 4F8786DE0EF9 for ; Thu, 18 Apr 2019 06:52:29 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[AWL=-0.199, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yRq4qppoh4TJ for ; Thu, 18 Apr 2019 06:52:28 -0700 (PDT) Received: from ra.horus-it.com (ra.horus-it.com [94.130.34.199]) by arlo.cworth.org (Postfix) with ESMTPS id 138766DE0EE7 for ; Thu, 18 Apr 2019 06:52:28 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by ra.horus-it.com (Postfix) with ESMTP id C0BA948C1812 for ; Thu, 18 Apr 2019 15:52:24 +0200 (CEST) X-Virus-Scanned: at horus-it.com From: Ralph Seichter DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monksofcool.net; s=k1; t=1555595539; bh=I8VU2ZqfeZxI/UeQMZKsp1npMvEUZeH0J8awmd+XJLI=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: Content-Type; b=Wcr7fozLFCAUFAnx2Ry0MJ4OwO08MmMkz53+0BHbX6lVvk2d5Gy7kW97pTxVE0tCc CPK90/Dv4ScGOo/0ptRK8+c9OFDeh3E+edAo01cSCIF67aZmRBCnlmgllKf0TcaTYE 9sNuCmpo/hl62HEMUClTBSpvJYOmwh4TfnFBAag+yF3NAf2EPDu5qobs0QGWNEOVAx FIM4lHTWxqAJTreSgARjm5t/YpaGCVCyKo/Sy5gr9y0520En6ineAwtW8AbdCyilB4 SefmJ8zFrRmYklqsp6bhKYla4YCVKwFC/vjufituMD+ohkLDotrLfxIZh34AzYsygM hDIZCI0OvKYiA== To: notmuch@notmuchmail.org Subject: Re: Unexpected output of "notmuch new --quiet" In-Reply-To: <87d0ljfnlz.fsf@tethera.net> References: <87imvc5pvg.fsf@ra.horus-it.com> <87bm14gqib.fsf@tethera.net> <87y3471ml9.fsf@ra.horus-it.com> <87d0ljfnlz.fsf@tethera.net> Mail-Followup-To: notmuch@notmuchmail.org Date: Thu, 18 Apr 2019 15:52:19 +0200 Message-ID: <87ftqfctf0.fsf@ra.horus-it.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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: Thu, 18 Apr 2019 13:52:29 -0000 * David Bremner: > I guess if you have a simple way of distinguishing the cases which you > want to consider as errrors, we can revisit the idea. Personally, I'd go with these decreasing levels of severity: Fatal: Execution must stop immediately to prevent damage, error message may or may not be displayed before exiting the process. Error: Serious trouble, program may or may not be able to recover, user intervention required. Warning: Minor trouble, program will recover without user intervention. Notice: Inform the user of a less-than-ideal situation (non-mail file found, deprecated functionality used, etc). Program will ignore the cause and carry on. I don't know if this is a fit for Notmuch, but it would be great if I could prevent warnings and notices from being reported by using a command line option. -Ralph