On Mon Sep 10 2012 Leo wrote: > The first group should display info without querying users for anything > and it should also display something when some contacts are not in the > database. > > (defadvice bbdb-mua-display-sender (after sender-not-found-feedback > activate) > "Give user feedback when senders cannot be found in BBDB." > (when (and (eq (ad-get-arg 0) 'search) > (not ad-return-value)) > (let ((names (mapconcat 'car (bbdb-get-address-components 'sender) ", > "))) > (message-nolog "%s not found in BBDB" names))))
This can be made more verbose. - This should also consider the case that a message can have multiple recipients, where only some of them have records in BBDB. > The second group let users update existing contacts as well as adding > new ones i.e. it should ask the users to create new entries. > > These commands are infrequently used i.e. the ability to customise them > is not very important for me if they have good defaults. I hadn't > customised any of these commands in the 4+ years I was using BBDB2. What do you propose more explicitly? Should the latter commands use something else instead of the car of bbdb-mua-update-interactive-p to figure out what action to take? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/