Len Trigg wrote:

> > Robert Widhopf-Fenk wrote:
> > > No, but maybe you just want to ignore the messages which go
> > > to the mailing list.
> 
> I tried setting things up this way and, it doesn't work for me.  
> 
> I have bbdb/mail-auto-create-p and bbdb/news-auto-create-p both set to
> nil, so that new bbdb records are never created based on viewing email
> (to stop being pestered about junk addresses when spam comes in).  I
> have instead configured wanderlust to automatically create new bbdb
> records only on outgoing emails.
> 
> BBDB records for existing addresses do get updated when viewing email
> though, and that's when I want to suppress the name updating.  

This sounds pretty similar to my setup - I have gone away from
bothering with bbdb-ignore-* altogether, and instead plumped for
setting auto-create-p to nil and putting up with making the occasional
new record by hand (with ':', in rmail).  But what you are asking for
sounds sufficiently close to what I get with the following:

(setq bbdb-quiet-about-name-mismatches 1)

that I think you could live with it - it does apply to all records,
but at least like this you see a brief message about any mismatch so
you are aware of it.

The Right BBDB Way to support your exact requirement would seem to be
to over-egg bbdb-quiet-about-name-mismatches still further - so that
if it is set to a function symbol that function is called and the
result acted on (true, nil, or number of seconds to display a message
for) - and then your implementation of the function could look for
your special 'readonly field in order to decide what to do.

On a related note my setting of bbdb-always-add-addresses is a
function which arranges that mismatched email addresses for existing
records are only added from my RMAIL inbox, and never when I am
looking at a different mailbox - thus looking at historic mailboxes
occasionally does not reclutter records unnecessarily.

I have in the past tried to tinker with bbdb-readonly-p to provide
this sort of behaviour but never got it to work in a way that I found
useful.

Patrick


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to