The new ChangeLog is attached below. I fixed some autoload problems.
The name clash with the function `search' in cl-seq.el should now be fixed. > MUA-specific BBDB insinuation adds key bindings for BBDB _and_ it > puts bbdb-mua-pop-up-bbdb-buffer into respective MUA hooks to feed > BBDB. Yet if outgoing messages are used to feed BBDB (as in > moy-bbdb) there is no need to have bbdb-mua-pop-up-bbdb-buffer > also in the hook for incoming mail. To make the BBDB initialization more flexible, I removed the code from the BBDB insinuation functions that puts bbdb-mua-pop-up-bbdb-buffer into the respective MUA hooks. Instead the new function bbdb-mua-pop-up-init should be used. The auto-notes stuff did not work well if BBDB hooks both into MUAs for receiving mail as well as into agents for sending mail. Moy-bbdb addressed this problem by duplicating a large part of the MUA auto-notes stuff. I thought that this was an unsatisfactory solution. So I ended up with a complete re-write of bbdb-auto-notes that uses more flexible rules for configuring auto-notes. However, up to now I have not figured out a situation for myself, where I really want to permanently use these auto-notes. So maybe I am missing something here, or the code could possibly be further improved. Suggestions welcome. Normally, it should no longer be necessary to use a prefix arg with bbdb-insert-field when inserting a phone number that does not match bbdb-phone-style. 2011-01-06 Roland Winkler <wink...@gnu.org> * lisp/bbdb.el (bbdb-message-headers, bbdb-accept-name-mismatch) (bbdb-use-alternate-names): Fix docstring. (bbdb-auto-notes-rules): Renamed from bbdb-auto-notes-alist. New format. (bbdb-auto-notes-ignore-messages): Renamed from bbdb-auto-notes-ignore-all. (bbdb-auto-notes-ignore-headers): Renamed from bbdb-auto-notes-ignore. (bbdb-pop-up-window-size): Fix docstring. (bbdb-horiz-pop-up-window-size): New variable. (bbdb-pop-up-buffer): Use it. (bbdb-auto-notes-rules-expanded): New variable. * lisp/bbdb-com.el: Use eval-and-compile. (bbdb-subint): Moved here from lisp/bbdb.el. Simplified. (bbdb-parse-phone): Return value always includes extension. (bbdb-read-record): Simplified accordingly. (bbdb-prompt-for-new-field): Use phone number style as returned from bbdb-parse-phone. * lisp/bbdb-mua.el: Use eval-and-compile. (bbdb-update-records): Avoid name clash with function search in cl-seq.el. (bbdb-message-header-re): New function. (bbdb-accept-message): Use it. (bbdb-get-address-components): Also return MUA. (bbdb-annotate-message): Bug fix. Simplify. (bbdb-mua-pop-up-init): New function. (bbdb-auto-notes): Complete re-write. * lisp/bbdb-message.el (bbdb-insinuate-message) (bbdb-insinuate-mail) * lisp/bbdb-rmail.el (bbdb-insinuate-rmail) * lisp/bbdb-gnus.el (bbdb-insinuate-gnus) * lisp/bbdb-mhe.el (bbdb-insinuate-mh) * lisp/bbdb-vm.el (bbdb-insinuate-vm): Do not hook in bbdb-mua-pop-up-bbdb-buffer. (Use instead bbdb-mua-pop-up-init.) ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/