Subject: Re: bug#22594: 25.1.50; mail-extract-address-components doesn't work on single-named people

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 08 Feb 2016 16:46:12 +1100

Lars Ingebrigtsen <[email-masked]> writes:

> (mail-extract-address-components "Rasmus <[email-masked]>")
> => (nil "[email-masked]")
>
> There's the weird
>
> (setq mail-extr-ignore-single-names t)
>
> variable, but there is no difference in the result.

It was because the user name and the full name were the same.  I've now
changed it to return the name, anyway (if mail-extr-ignore-single-names
isn't set).

That's one weird and huge function with a *lot* of functionality...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no