Re: name canonicalization

2003-07-24 Thread Ronan Waide
On July 24, [EMAIL PROTECTED] said: > What you're losing here is that rfc822.el is pretty much the > definitive emacs implementation of correct address parsing, but it's > mechanical in that it returns to you the exact "name" text from the > input email address. On the other hand, Robert Fenk and o

Re: name canonicalization

2003-07-24 Thread Ronan Waide
On July 24, [EMAIL PROTECTED] said: > > where do you call this? It's called in the patch he appended to his original post. > It'd be nice if mail-extract-address-components had a hook somewhere or > some regexp check for parts of the email addr to discard. Maybe there even > is a possibility, bu

Re: name canonicalization

2003-07-24 Thread Klaus Zeitler
> "Sam" == Sam Steingold <[EMAIL PROTECTED]> writes: Sam> Sam> Sometimes I get a message from a mailing list with a From address like Sam> this: Sam> "John Doe via RT <[EMAIL PROTECTED]>" Sam> Sam> I added a variable `bbdb-canonicalize-name-hook', similar to

Re: name canonicalization

2003-07-23 Thread Ronan Waide
On July 23, [EMAIL PROTECTED] said: > > I think `bbdb-canonicalize-name-hook' fits well with > `bbdb-canonicalize-net-hook', so please consider my patch. That was the consideration. The whole reason behind the bbdb-extract-address-components stuff is to provide a useful means of splitting an emai

Re: name canonicalization

2003-07-23 Thread Sam Steingold
> * 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-extrac

Re: name canonicalization

2003-07-23 Thread Ronan Waide
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

Re: name canonicalization

2003-07-23 Thread Sam Steingold
> * In message <[EMAIL PROTECTED]> > * On the subject of "Re: name canonicalization" > * Sent on Wed, 23 Jul 2003 17:19:11 +0100 > * Honorable Ronan Waide <[EMAIL PROTECTED]> writes: > > On July 23, [EMAIL PROTECTED] said: > > Sometimes I get a messag

Re: name canonicalization

2003-07-23 Thread Ronan Waide
On July 23, [EMAIL PROTECTED] said: > Sometimes I get a message from a mailing list with a From address like > this: > "John Doe via RT <[EMAIL PROTECTED]>" > Since I have a record for <[EMAIL PROTECTED]>, BBDB will > offer me to make "John Doe via" the name of this record, which is > cert

name canonicalization

2003-07-23 Thread Sam Steingold
Sometimes I get a message from a mailing list with a From address like this: "John Doe via RT <[EMAIL PROTECTED]>" Since I have a record for <[EMAIL PROTECTED]>, BBDB will offer me to make "John Doe via" the name of this record, which is certainly not what I want. I added a variable `bbdb