Re: Unexpected output of "notmuch new --quiet"

Subject: Re: Unexpected output of "notmuch new --quiet"

Date: Thu, 18 Apr 2019 10:29:28 -0300

To: Ralph Seichter, notmuch@notmuchmail.org

Cc:

From: David Bremner


Ralph Seichter <abbot@monksofcool.net> writes:

> * David Bremner:
>
>> I could imagine more levels of quiet, but I don't know if it is worth
>> the trouble.
>
> I currently redirect stderr to /dev/null because the actual number of
> these "ignoring non-mail file" notices is much higher, but that means I
> don't get to see actual errors which is quite a disadvantage.
>

Unfortunately its not very easy for notmuch to distinguish between
different kinds of parsing failures (at least, not easy to do so
quickly). The recommended solution for things like dovecot index files
is to set to set "new.ignore" (see notmuch-config(1)).
 
> An option like --veryquiet or --errorsonly would be helpful, but I can
> understand you asking if it would be worth the effort. For somebody like
> me who uses Dovecot as a backend it would be. ;-)

I guess if you have a simple way of distinguishing the cases which you
want to consider as errrors, we can revisit the idea.

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: