Re: Confusing message from notmuch-maildir-fcc-with-notmuch-insert

Subject: Re: Confusing message from notmuch-maildir-fcc-with-notmuch-insert

Date: Fri, 04 Mar 2022 07:10:35 -0400

To: Carl Worth, Notmuch List

Cc:

From: David Bremner


Carl Worth <cworth@cworth.org> writes:

>
> Certainly if the code had just created the directory for me, everything
> would have been fine. But I guess I can understand why the code doesn't
> do that if we're trying to support a case where users are manually
> typing random strings in for the Fcc header and might typo something?  I
> don't know how much I _really_ care about that use case, (if notmuch
> creates a directory based on a typo the mail will still be indexed and
> perhaps some notmuch users don't care much about directory names inside
> the mail store).
>
> Otherwise, if the message had said:
>
>   Failed to save sent message in local mail store. Directory
>   /home/cworth/mail/sent does not exist. Create? (y/n)
>
> Then I definitely would have understood the message and things would
> have been much smoother for me.
>

I agree your message is clearer, if the only possible failure is a
missing directory. I'm not sure if that's the case though. Probably a
first step is to make sure a sensible description of the error is
reported by notmuch insert and made available to the user.

d

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: