On Sun, 1 Jul 2001, Ronan Waide wrote:

> Try feeding it this: (mail-extract-address-components "\"Waide,
> Ronan\" <[EMAIL PROTECTED]> (Waider), Fred Mbogo <[EMAIL PROTECTED]>,
> \"John\" <[EMAIL PROTECTED]>, waider" t)
> 
> My version returns (("Ronan Waide" "[EMAIL PROTECTED]") ("Fred Mbogo"
> "[EMAIL PROTECTED]") ("Joh" "\"John\" <[EMAIL PROTECTED] ") ("Joh"
> "joh waider"))

I get this:

/----
| ELISP> (mail-extract-address-components "\"Waide, Ronan\" <[EMAIL PROTECTED]> 
|(Waider), Fred Mbogo <[EMAIL PROTECTED]>, \"John\" <[EMAIL PROTECTED]>,
|  waider" t)
| 
| (("Ronan Waide" "[EMAIL PROTECTED]")
|  ("Fred Mbogo" "[EMAIL PROTECTED]")
|  (nil "[EMAIL PROTECTED]")
|  (nil "waider"))
| 
| ELISP> 
\----

I wonder why one of the Johns disappeared.  But I think it's because
mail-extract-address-components avoids redundancy.  Putting John Foo
there rather than just John (but with the quotes, as before) produces
the right full name.

Does that mean that you don't need your hacks anymore, just a working
mail-extract-address-components?  I'm not sure -- maybe your hacks do
more.

kai
-- 
~/.signature: No such file or directory

_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to