Unexpected output of "notmuch new --quiet"
david at tethera.net
Thu Apr 18 06:29:28 PDT 2019
Ralph Seichter <abbot at 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.
More information about the notmuch