Re: [PATCH] Check for erroneous subjects

Subject: Re: [PATCH] Check for erroneous subjects

Date: Thu, 25 Jul 2024 19:55:25 +0900

To: Tony Zorman, notmuch@notmuchmail.org

Cc:

From: David Bremner


Tony Zorman <soliditsallgood@mailbox.org> writes:

> Hi,
>
> this adds a new custom variable, `notmuch-mua-subject-regexp`, and an
> associated function, `notmuch-mua-subject-check`, to warn the user when
> the subject contains potentially troublesome things (e.g., nothing at
> all). The idea is the same as `notmuch-mua-attachment-regexp`—which has
> saved my skin quite a few times in the past—but for the subject instead
> of an attachment. By default, it checks for empty subjects, as that
> seems to be a reasonable thing to safeguard against.

Applied to master. Thanks for writing such nice tests.

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

Thread: