On July 2, [EMAIL PROTECTED] said:
> On Sun, 1 Jul 2001, Ronan Waide wrote:
> > On July 1, [EMAIL PROTECTED] said:
> >> | New arg ALL says return info about all the addresses.
> >> | Clarify buffer switching logic using save-excursion.
> >
> > Yes, this is in the emacs 20.7 version - the code, if not the
> > changelog comment. But it's broken as of 20.7. Perhaps they've fixed
> > it for 21.
>
> Not sure. Is this any indication?
>
> /----
> | *** Welcome to IELM *** Type (describe-mode) for help.
> | ELISP> (mail-extract-address-components "foo, bar,baz" t)
> | ((nil "foo")
> | (nil "bar")
> | (nil "baz"))
> |
> | ELISP>
> \----
>
> kai
> --
> ~/.signature: No such file or directory
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"))
which has, as you can see, destroyed the last two addresses pretty
spectacularly. Of course, perhaps I'm feeding it improperly formatted
data, but I don't think so. I've seen the above variants and more in
my mailbox.
Cheers,
Waider. I'm sure someone has a test suite for this, right?
--
[EMAIL PROTECTED] / Yes, it /is/ very personal of me.
"it's this new keyboard. damn thing types faster than i do. i wish i knew
where my old one went. it was connected to the computer when i went to bed
last night." - Nikolai Kingsley
_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/