unuseful bbdb-notice-hook

1993-10-22 Thread vinson
Well, folks Jamie sent me a note suggesting my simple little bbdb-notice-hook may actually cause problems with creating multiple db entries for the same name. I've now added to that hook code from bbdb-annotate-message-sender that checks for old names that match the username before adding the ne

Re: Getting rid of non-names?

1993-10-22 Thread Jamie Zawinski
Scott Lawrence wrote: > > There are a great many people here using VMS mail, one component > of which adds a date-time stamp into the From field of a mail header > such that I receive header lines like this: > > From: node::user (Real U. Name 01-Oct-1993 1316 -0400) That's absolutely disgus

Re: useful bbdb-notice-hook

1993-10-22 Thread Jamie Zawinski
[EMAIL PROTECTED] wrote: > > (let ((username (car (bbdb-split net "@" >(bbdb-record-set-firstname record username) >(bbdb-puthash (downcase (bbdb-record-name record)) > record) This is t

Getting rid of non-names?

1993-10-22 Thread Scott Lawrence
There are a great many people here using VMS mail, one component of which adds a date-time stamp into the From field of a mail header such that I receive header lines like this: From: node::user (Real U. Name 01-Oct-1993 1316 -0400) I've dealt with translating the net address through th

useful bbdb-notice-hook

1993-10-22 Thread vinson
Ever get annoyed that your bbdb database is full of naked addresses? I've just written a simple little hook for bbdb-notice-hook that grabs the username off the network address and uses that as the bbdb-record-name until you can come up with something better. Sometimes the username is quite cle