> * In message <[EMAIL PROTECTED]>
> * On the subject of "Re: name canonicalization"
> * Sent on Wed, 23 Jul 2003 22:27:22 +0100
> * Honorable Ronan Waide <[EMAIL PROTECTED]> writes:
>
> On July 23, [EMAIL PROTECTED] said:
> > 
> > bbdb-extract-address-component-ignore-regexp and friends are in
> > bbdb-snarf.el which is not relevant to this issue.
> > I am having the problem with bbdb `noticing' records.
> 
> Ah, but bbdb-extract-address-component* and friends are called by the
> noticing code to try and extract a sane name from the From address
> presented in the mail buffer.

the only function in bbdb-snarf.el which is called is
`bbdb-rfc822-addresses' (apparently via
`bbdb-extract-address-components-func').
[note that `bbdb-rfc822-addresses' calls `append' repeatedly
 instead of `push'+`nreverse'!!!] 

it appears that 
(custom-set-variables
 '(bbdb-extract-address-components-func 'bbdb-extract-address-components)
 '(bbdb-extract-address-component-regexps
   (cons '("\"[EMAIL PROTECTED] via RT\"[EMAIL PROTECTED]" nil
           (cadr (mail-extract-address-components adstring)))
    bbdb-extract-address-component-regexps)))
should do the trick, although I like my original solution better.

I think `bbdb-canonicalize-name-hook' fits well with
`bbdb-canonicalize-net-hook', so please consider my patch.

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
Failure is not an option. It comes bundled with your Microsoft product.



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to