Re: bbdb--how to Take from address at point?

2001-07-01 Thread Ronan Waide
On July 1, [EMAIL PROTECTED] said: hmm.. then i am gonna try to program it.. unles sosmeone else can already do it in the blink of an eye and kindly mail/post the facility.. any hints/pointers? i was thinking along the lines of: this fcn should repeatedly do what tab does in a

Re: User Name -vs- 'User Name'

2001-07-01 Thread Ronan Waide
On June 28, [EMAIL PROTECTED] said: More and more, I'm getting: Change User Name to 'User Name' and when I say no: Add 'User Name' as an alias for User Name Has anybody written some elisp that'll strip leading and trailing single quotes from such cases? Hmm. What BBDB

'smart' name parsing

2001-07-01 Thread Ronan Waide
I'm looking at the rather trivial task of getting BBDB to properly parse what I'll disparagingly refer to as Outlook-format names, whereby my own moniker is rendered Waide, Ronan. The basic problem is making sure that you also do the right thing with John Smith, Sr - i.e. that it doesn't get

Re: bbdb--how to Take from address at point?

2001-07-01 Thread Deepak Goel
Hi Ronan If your MTA highlights URLs with an overlay, you could simply loop what is MTA? Thanks ___ [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/

Re: bbdb--how to Take from address at point?

2001-07-01 Thread Ronan Waide
On July 1, [EMAIL PROTECTED] said: Hi Ronan If your MTA highlights URLs with an overlay, you could simply loop what is MTA? Thanks Mail Transfer Agent. Do you use Gnus, VM, MH-E, RMAIL, Mew, or something else? Cheers, Waider. -- [EMAIL PROTECTED] / Yes, it /is/ very personal of me.

Re: bbdb--how to Take from address at point?

2001-07-01 Thread Ronan Waide
On July 1, [EMAIL PROTECTED] said: Mail Transfer Agent. Do you use Gnus, VM, MH-E, RMAIL, Mew, or Of course, I really shouldn't be allowed use technical terms. I meant MUA, Mail User Agent. MTA is something like sendmail or PostFix. D'oh... Waider. -- [EMAIL PROTECTED] / Yes, it /is/ very

quick, dirty, etc.

2001-07-01 Thread Ronan Waide
Okay; here's the first stab at getting addresses parsed properly by mail-extr. It's brute force; it uses rfc822.el to determine if the addresses have been separated correctly, and backs off and retries if they haven't. This probably isn't an issue on your 22GHz processor, but it makes me unhappy

Re: 'smart' name parsing

2001-07-01 Thread Kai Großjohann
FWIW, mail-extr.el as of Emacs 21 has this comment: / | revision 1.25 | date: 1997/11/20 21:45:59; author: kwzh; state: Exp; lines: +714 -681 | (mail-extract-address-components): | New arg ALL says return info about all the addresses. | Clarify buffer switching logic using save-excursion.

Re: 'smart' name parsing

2001-07-01 Thread Ronan Waide
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.

Re: 'smart' name parsing

2001-07-01 Thread Kai Großjohann
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

Re: 'smart' name parsing

2001-07-01 Thread Ronan Waide
On July 2, [EMAIL PROTECTED] said: 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. Yes, if you set

Re: 'smart' name parsing

2001-07-01 Thread Ronan Waide
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