[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [nmh-workers] Additional things
From: |
Michael Richardson |
Subject: |
Re: [nmh-workers] Additional things |
Date: |
Mon, 30 Sep 2019 11:08:45 -0400 |
Ken Hornstein <address@hidden> wrote:
>> What does friendly{} do exactly?
>> mh-format just says "user-friendly rendering".
> Hm, I guess we should improve that documentation a bit.
> If there's a "personal name" (Anything before <>), then it will return
> that. If there's no personal name but there IS a "note" (comments
> string AFTER an email address), it will return that. If there is neither
> of those, it will try to parse the email address as an X400 directory
> name and try to extract out a few of the fields from it to return.
> If that fails it will just return the bare email address. Basically,
> it's trying to take it's best guess as to what is the real name in an
> email address.
Thanks.
I think that maybe the X400 part could get ripped out as dead code? :-)
Not sure how to do a pull-request with savannah.
https://github.com/mcr/nmh/commit/e9d8f9d13bb4396be20832b2c1ec003f3edbe9ed
signature.asc
Description: PGP signature