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 EB9596DE0F6E for ; Fri, 19 Apr 2019 06:39:19 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.408 X-Spam-Level: X-Spam-Status: No, score=0.408 tagged_above=-999 required=5 tests=[AWL=-0.494, DATE_IN_PAST_06_12=1.103, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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 KWH-iNDBXdXb for ; Fri, 19 Apr 2019 06:39:18 -0700 (PDT) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id 9CA8C6DE0944 for ; Fri, 19 Apr 2019 06:39:18 -0700 (PDT) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1555681155; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=u4bpjk6hJ/lcYz6u/Hb8BUGSjn7IfbT9cBtaYYVDiE8=; b=DZ/2wur3OI9/cSR5X8JrXWG+Wr4j/bazZ7W5/6SrL3vbcqlo56s+V0M6 JVo7qTCymz2eIVtHpRCIRfSlPpJ4DA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1555681155; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=u4bpjk6hJ/lcYz6u/Hb8BUGSjn7IfbT9cBtaYYVDiE8=; b=RTDTokABKtRyCrVGPFILnUfQ32gXRuLPJeU7+IIiKkrjvgg7CS45Grpw fM3nnlGEgmKOeK0RZOLYLy7vj7BSx/zzSccXuFDyQDSJJFRrcNSZ3C2FbH LVetKMBuTQiU9qcREbC3Xe7MhjHUG/oPuUWd3hb3TEWrg996wg7SuZJQKJ h3V1f4FdPJ94GalgUYS9t8SAK0Lvm8YRg3bskf1cYQ9bh+kudadW5NDB4s /kwOO0eAziTe/BYFr6UXcCQgkLD129zp8SAdszLoML6xw/iJn13a653OgA NJPPucI8w/7CNE6cveliFMqRvXkiV61cxnT8f6vWYUr7TEYIe0Ze3w== Received: from fifthhorseman.net (unknown [38.109.115.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id 77940F9A0; Fri, 19 Apr 2019 09:39:15 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id F3961201CC; Fri, 19 Apr 2019 03:03:31 -0400 (EDT) From: Daniel Kahn Gillmor To: Ralph Seichter , notmuch@notmuchmail.org Subject: Re: Unexpected output of "notmuch new --quiet" In-Reply-To: <87ftqfctf0.fsf@ra.horus-it.com> References: <87imvc5pvg.fsf@ra.horus-it.com> <87bm14gqib.fsf@tethera.net> <87y3471ml9.fsf@ra.horus-it.com> <87d0ljfnlz.fsf@tethera.net> <87ftqfctf0.fsf@ra.horus-it.com> Autocrypt: addr=dkg@fifthhorseman.net; prefer-encrypt=mutual; keydata= mDMEXEK/AhYJKwYBBAHaRw8BAQdAr/gSROcn+6m8ijTN0DV9AahoHGafy52RRkhCZVwxhEe0K0Rh bmllbCBLYWhuIEdpbGxtb3IgPGRrZ0BmaWZ0aGhvcnNlbWFuLm5ldD6ImQQTFggAQQIbAQUJA8Jn AAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBMS8Lds4zOlkhevpwvIGkReQOOXGBQJcQsbzAhkB AAoJEPIGkReQOOXG4fkBAO1joRxqAZY57PjdzGieXLpluk9RkWa3ufkt3YUVEpH/AP9c+pgIxtyW +FwMQRjlqljuj8amdN4zuEqaCy4hhz/1DbgzBFxCv4sWCSsGAQQB2kcPAQEHQERSZxSPmgtdw6nN u7uxY7bzb9TnPrGAOp9kClBLRwGfiPUEGBYIACYWIQTEvC3bOMzpZIXr6cLyBpEXkDjlxgUCXEK/ iwIbAgUJAeEzgACBCRDyBpEXkDjlxnYgBBkWCAAdFiEEyQ5tNiAKG5IqFQnndhgZZSmuX/gFAlxC v4sACgkQdhgZZSmuX/iVWgD/fCU4ONzgy8w8UCHGmrmIZfDvdhg512NIBfx+Mz9ls5kA/Rq97vz4 z48MFuBdCuu0W/fVqVjnY7LN5n+CQJwGC0MIA7QA/RyY7Sz2gFIOcrns0RpoHr+3WI+won3xCD8+ sVXSHZvCAP98HCjDnw/b0lGuCR7coTXKLIM44/LFWgXAdZjm1wjODbg4BFxCv50SCisGAQQBl1UB BQEBB0BG4iXnHX/fs35NWKMWQTQoRI7oiAUt0wJHFFJbomxXbAMBCAeIfgQYFggAJhYhBMS8Lds4 zOlkhevpwvIGkReQOOXGBQJcQr+dAhsMBQkB4TOAAAoJEPIGkReQOOXGe/cBAPlek5d9xzcXUn/D kY6jKmxe26CTws3ZkbK6Aa5Ey/qKAP0VuPQSCRxA7RKfcB/XrEphfUFkraL06Xn/xGwJ+D0hCw== Date: Fri, 19 Apr 2019 03:03:31 -0400 Message-ID: <87zhomxyrg.fsf@fifthhorseman.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: Fri, 19 Apr 2019 13:39:20 -0000 --=-=-= Content-Type: text/plain On Thu 2019-04-18 15:52:19 +0200, Ralph Seichter wrote: > 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. Why is "non-mail file found" in my maildir such a low priority? If there's a malformed message in my maildir i want to know about it as soon as possible, that could be an important e-mail that some other part of my mail ecosystem mangled that i could de-mangle to have access to it if only i know to look there? Seems like using new.ignore to ignore the files that you know are supposed to be there but aren't mail is a cleaner way to go. --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQTJDm02IAobkioVCed2GBllKa5f+AUCXLlywwAKCRB2GBllKa5f +JVtAP9Ezp6jldxMQ072EyzaRKnEK8MnJGMKx33JG4tSMM3inAD/dW/6rsx5/+bI 9AqVjirYBmI1Ezye/eHE41peqUwA4QE= =hWHb -----END PGP SIGNATURE----- --=-=-=--