bbdb-user
[Top][All Lists]
Advanced

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

Re: Handling "via" addresses


From: Sam Steingold
Subject: Re: Handling "via" addresses
Date: Thu, 07 Jul 2022 10:51:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin)

> * Roland Winkler <jvaxyre@tah.bet> [2022-07-06 15:15:39 -0500]:
>
> On Wed, Jul 06 2022, Sam Steingold wrote:
>> Subject: [PATCH] Use `mail-header-parse-address' instead of
>>  `mail-extract-address-components'.
>
> There is also `gnus-extract-address-components' that is supposedly
> faster than `mail-header-parse-address', though less accurate.

I don't think speed is an issue here in bbdb.
The `gnus-extract-address-components' function is a "fast hack" for data
presentation in gnus, it is not intended for "long term storage".

> I believe the approach of `mail-extract-address-components' is rather
> heuristic.  Could it make sense to declare it obsolete or make it an
> alias for one of the other functions?

This is a question for Emacs maintainers.
Empirically, `mail-header-parse-address' is more accurate than
`mail-extract-address-components' so I see no reason not to switch.

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.2113
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
https://iris.org.il https://ffii.org https://mideasttruth.com
debugging, v: Removing the needles from the haystack.



reply via email to

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