On Wednesday, February 14, 2007 at 08:16:44, Patrick Campbell-Preston wrote: > > 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.
In CVS bbdb-quiet-about-name-mismatches can be a function or sexp now in order to tweak handling of name mismatches. This is not as mighty as modifying bbdb-readonly-p would be, but it is meant for what Len originally wanted. Using bbdb-readonly-p might cause trouble elsewhere as it is not as locally used as bbdb-quiet-about-name-mismatches. Robert ------------------------------------------------------------------------- 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/