bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22594: 25.1.50; mail-extract-address-components doesn't work on sing


From: Rasmus
Subject: bug#22594: 25.1.50; mail-extract-address-components doesn't work on single-named people
Date: Mon, 08 Feb 2016 21:54:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Lars Ingebrigtsen <address@hidden> writes:

> Lars Ingebrigtsen <address@hidden> writes:
>
>> (mail-extract-address-components "Rasmus <address@hidden>")
>> => (nil "address@hidden")
>>
>> 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...

I haven't check your patch, but I noticed the following funny behavior as
well:

(mail-extract-address-components "Rasmu s  <address@hidden>")
=> ("Rasmu s." "address@hidden")

Why is the period added?  That seems uncalled for...

Rasmus

-- 
Summon the Mothership!






reply via email to

[Prev in Thread] Current Thread [Next in Thread]