Re: [PATCH 2/2] lib: add better diagnostics for over long filenames.

Subject: Re: [PATCH 2/2] lib: add better diagnostics for over long filenames.

Date: Sun, 02 Oct 2022 21:03:02 +0100

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: Jose A Ortega Ruiz


On Sun, Oct 02 2022, David Bremner wrote:

> Previously we just crashed with an internal error. With this change,
> the caller can handle it better, although the error code could be
> further improved.

This works better for me, yes.  A possible improvement is that, with
this patch, one's only warned once about offending files, which are in
subsequent calls to notmuch new simply ignored.  I think it'd be better
if we could have a behaviour similar to that for "non-email" files in
the maildir, for which you get a warning every time you run new.

At any rate, many thanks David for the quick response!

Cheers,
jao
-- 
Contentment is, after all, simply refined indolence.
  -Thomas Chandler Haliburton, author, judge, and politician (1796-1865)
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: