Subject: Re: bug#51733: 27.1; Detect impossible email addresses better

From: Robert Pluim <[email-masked]>
Date: Wed, 19 Jan 2022 10:21:22 +0100

>>>>> On Tue, 18 Jan 2022 20:44:51 +0200, Eli Zaretskii <[email-masked]> said:

    >> From: Lars Ingebrigtsen <[email-masked]>
    >> Cc: [email-masked]
    >> Date: Tue, 18 Jan 2022 13:51:38 +0100
    >> 
    >> Lars Ingebrigtsen <[email-masked]> writes:
    >> 
    >> > The next step would be to make other packages use this. 
    >> 
    >> (But I'm taking the rest of the day off, and possibly tomorrow, too, so
    >> if somebody else wants to tinker with this, please do go ahead.)

    Eli> Does textsec-email-suspicious-p expect non-ASCII email addresses to be
    Eli> RFC 2047 encoded?  If so, it will not work in the Rmail display
    Eli> buffers, where email addresses are shown decoded.  For non-ASCII names
    Eli> the function signals an error.

It does? Do you have an example? The following works fine

ELISP> (textsec-email-suspicious-p "rpluimм <[email-masked]>")
=> "`rpluimм' isn't restrictive enough"

Although I think that message should say something like

"Mailbox name contains non-ASCII characters"

Robert
--