1 Aug 2012 10:45
[BBDB] Changelog 2012-07-31
Roland Winkler <winkler <at> gnu.org>
2012-08-01 08:45:22 GMT
2012-08-01 08:45:22 GMT
The patch below gives some minor improvements for bbdb-complete-mail.
- Cycle even if the record contains only one mail address, yet
bbdb-dwim-mail gives us something different from what we have.
For example, a message header "JOHN SMITH <SMITH <at> FOO.COM>" may be
replaced by "John Smith <smith <at> foo.com>".
- Search correctly for RFC 822 addresses containing a full name.
The latter change revealed another unexpected surprise with BBDB:
Part of BBDB (yes, even v2) has allowed the possibility that a mail
address in a record is not just a plain "smith <at> foo.com". But the
record of, say, Johnathan Smith may also contain an RFC 822 address
such as "John Smith <smith <at> foo.com>".
Jognathan Smith
phone (home): (123) 456-7890
mail: smith <at> example.com, John Smith <smith <at> foo.com>,
Joe Smith <joe <at> bar.com>
Obviously, this comes handy, if you want to use different mail
addresses in a record with different real names. But this feature
has been implemented rather incompletely. To make this work
properly, the hash table should always use canonical addresses such
as smith <at> foo.com. But currently BBDB puts "John Smith
<smith <at> foo.com>" in the hash table which makes it really impossible
to find smith <at> foo.com in this table. (A hash table does not allow to
search for a regexp.)
(Continue reading)
RSS Feed