The ChangeLog attached below describes several unrelated changes, some of which have previously been discussed on this list
- avoid hard-coded references to xfield notes (is there a better name for the new command bbdb-edit-foo?) - after editing always update display in all BBDB buffers - clean up supercite support - bbdb-pgp.el for BBDB 3 - more flexible editing of xfields - clean up handling of redundant email addresses - check more carefully/frequently that BBDB is editable - display records for messages more flexibly - handle new records more carefully - various bug fixes Comments welcome! 2014-01-03 Roland Winkler <wink...@gnu.org> Update copyright year in all files. 2014-01-03 Roland Winkler <wink...@gnu.org> Avoid hard-coded references to xfield notes. * lisp/bbdb.el (bbdb-default-xfield, bbdb-edit-foo) (bbdb-annotate-field, bbdb-mua-edit-field): New variables. (bbdb-auto-notes-rules): Fix docstring. * lisp/bbdb-com.el (bbdb-edit-foo): New command. (bbdb-search, bbdb-read-record): Use bbdb-default-xfield. (bbdb-insert-field): Do not handle initial value. (bbdb-prompt-for-new-field): Replace arg init by arg record to handle initial value here. * lisp/bbdb.el (bbdb-insert-field-menu): Change accordingly. * lisp/bbdb-mua.el (bbdb-annotate-record): Use bbdb-annotate-field. Allow empty strings for removing an xfield. (bbdb-mua-annotate-field-interactive): New function. (bbdb-mua-annotate-sender, bbdb-mua-annotate-recipients): Use it. New optional arg field. (bbdb-mua-edit-field-interactive, bbdb-mua-edit-field) (bbdb-mua-edit-field-sender, bbdb-mua-edit-field-recipients): Use variable bbdb-mua-edit-field. (bbdb-mua-edit-field-recipients): Use bbdb-default-xfield. * lisp/bbdb-snarf.el (bbdb-snarf-notes): Use bbdb-default-xfield. 2014-01-03 Roland Winkler <wink...@gnu.org> After editing always update display in all BBDB buffers. * lisp/bbdb.el (bbdb-delete-record-internal): Rename optional arg remhash to completely. Undisplay record if non-nil. (bbdb-maybe-update-display): Update record in all BBDB buffers. (bbdb-change-record): Call it. (bbdb-redisplay-records): Remove. (bbdb-undisplay-records): New optional arg all-buffers. (bbdb-revert-buffer): Use it. * lisp/bbdb-com.el (bbdb-insert-field, bbdb-transpose-fields) (bbdb-delete-field-or-record, bbdb-delete-records) (bbdb-merge-records, bbdb-sort-addresses, bbdb-sort-phones) (bbdb-sort-xfields, bbdb-add-mail-alias) * lisp/bbdb-mua.el (bbdb-mua-edit-field): Do not call bbdb-maybe-update-display. * README: update accordingly. 2014-01-03 Roland Winkler <wink...@gnu.org> Clean up supercite support. * lisp/bbdb.el (bbdb-utilities-sc): New custom group (bbdb-initialize): Update docstring. * lisp/bbdb-sc.el: Update doc. (bbdb-sc-attribution-field): Rename from bbdb/sc-attribution-field, keeping the old name as obsolete alias. (bbdb-sc-update-records-p): New variable. (bbdb-sc-update-attrib-p): Rename from bbdb/sc-replace-attr-p. (bbdb-sc-last-attrib): Rename from bbdb/sc-last-attribution. Make it internal variable. (bbdb-sc-set-attrib): Rename from bbdb/sc-set-attr, keeping the old name as obsolete alias. (bbdb-sc-update-from): Rename from bbdb/sc-default, keeping the old name as obsolete alias. 2014-01-03 Roland Winkler <wink...@gnu.org> Overhaul lisp/bbdb-pgp.el for BBDB 3. * lisp/bbdb-pgp.el (bbdb-pgp-field): Rename from bbdb/pgp-field. (bbdb-pgp-default): Rename from bbdb/pgp-default-action. (bbdb-pgp-ranked-actions, bbdb-pgp-headers) (bbdb-pgp-method-alist): New variables. (bbdb/pgp-quiet): Obsolete. (bbdb-pgp-method): Rename from bbdb/pgp-method. Include support for PGP-auto format. (bbdb-read-xfield-pgp-mail): New function. (bbdb-pgp): Rename from bbdb/pgp-sign. Consider all message recipients in bbdb-pgp-headers. Use bbdb-pgp-ranked-actions, bbdb-pgp-headers, and bbdb-pgp-method-alist. * lisp/bbdb.el (bbdb-utilities-pgp): New custom group (bbdb-init-forms): Add init form for bbdb-pgp. (bbdb-initialize): Update docstring accordingly. * lisp/Makefile.am, lisp/makefile-temp: Support lisp/bbdb-pgp.el. 2014-01-03 Gijs Hillenius <g...@hillenius.com> * lisp/bbdb-pgp.el: Adapt for BBDB 3. Remove outdated mailcrypt interface. (bbdb/pgp-method): New default mml-pgpmime. (bbdb/pgp-get-pgp): Use bbdb-message-search and bbdb-record-field. 2014-01-03 Kevin Davidson <t...@quadstone.com> * lisp/bbdb-pgp.el: New file (taken from BBDB 2). 2014-01-03 Roland Winkler <wink...@gnu.org> More flexible editing of xfields. * lisp/bbdb.el (bbdb-read-string): Rename optional arg default to init. New optional arg require-match. * lisp/bbdb-com.el (bbdb-read-organization) (bbdb-record-edit-address, bbdb-completing-read-mails): Rename optional arg default to init. (bbdb-insert-field): Simplify. (bbdb-read-xfield): New function. (bbdb-prompt-for-new-field, bbdb-edit-field): Use it. 2014-01-03 Roland Winkler <wink...@gnu.org> * lisp/bbdb.el (bbdb-init-forms): Add init form for anniv. (bbdb-initialize): Update docstring accordingly. * lisp/bbdb-anniv.el: Update doc accordingly. 2014-01-03 Roland Winkler <wink...@gnu.org> Clean up handling of redundant email addresses. * lisp/bbdb.el (bbdb-ignore-redundant-mails): Rename from bbdb-canonicalize-redundant-mails, keeping the latter as obsolete alias. (bbdb-add-mails, bbdb-canonicalize-mail-function): Fix docstring. * lisp/bbdb-com.el (bbdb-mail-redundant-re): New function (bbdb-delete-redundant-mails): Move here from lisp/bbdb-mua.el. Merge with command bbdb-delete-duplicate-mails and make the latter an obsolete alias. New optional args query and update. * lisp/bbdb-mua.el (bbdb-annotate-message): Use bbdb-mail-redundant-re and bbdb-delete-redundant-mails. (bbdb-mail-redundant-p): Remove. (bbdb-canonical-hosts): Update docstring. 2014-01-03 Roland Winkler <wink...@gnu.org> Check more carefully/frequently that BBDB is editable. * lisp/bbdb.el (bbdb-editable): Move here from lisp/bbdb-com.el. Revert BBDB buffer if possible. * lisp/bbdb.el (bbdb-record-set-field) * lisp/bbdb-com.el (bbdb-read-record, bbdb-create-internal) (bbdb-merge-records, bbdb-sort-addresses, bbdb-sort-phones) (bbdb-sort-xfields) * lisp/bbdb-snarf.el (bbdb-snarf): Check that BBDB is editable. * lisp/bbdb-mua.el (bbdb-update-records): Obey bbdb-read-only. (bbdb-annotate-message): Ignore bbdb-read-only. (bbdb-auto-notes): Check that BBDB is editable. 2014-01-03 Roland Winkler <wink...@gnu.org> * lisp/bbdb.el (bbdb-check-name, bbdb-extract-address-components): Fix docstring. * lisp/bbdb-com.el (bbdb-search-duplicates): Fix warning message. Sort records. * lisp/bbdb-mua.el (bbdb-auto-notes) (bbdb-mua-update-interactive-p): Fix docstring. 2014-01-03 Roland Winkler <wink...@gnu.org> Display records for messages more flexibly. * lisp/bbdb-mua.el (bbdb-update-records, bbdb-mua-update-records): New optional arg sort. (bbdb-mua-display-records): New optional arg all. (bbdb-mua-display-all-records): New command. (bbdb-mua-display-all-recipients): Renamed from bbdb-display-all-recipients. 2014-01-03 Roland Winkler <wink...@gnu.org> Handle new records more carefully. * lisp/bbdb.el (bbdb-empty-record): New function. (bbdb-change-record): Use bbdb-create-hook. Fix docstring. (bbdb-insert-record-internal, bbdb-overwrite-record-internal): Fix docstring. * lisp/bbdb-com.el (bbdb-create): Do not use bbdb-create-hook. (bbdb-create-internal): Make arg name optional and allow a nil value. Check validity of arguments only if new arg check is non-nil. (bbdb-merge-records): Return record. * lisp/bbdb-mua.el (bbdb-annotate-message): Use bbdb-empty-record. Handle case that arg create-p is a function. Do not use bbdb-create-hook. * lisp/bbdb-snarf.el (bbdb-snarf): Use bbdb-empty-record. Return record. Do not use bbdb-create-hook. 2014-01-03 Roland Winkler <wink...@gnu.org> * lisp/bbdb-snarf.el (bbdb-snarf-rule-interactive): Use symbol-name. BBDB is available at http://savannah.nongnu.org/projects/bbdb/ To check it out, use git clone git://git.savannah.nongnu.org/bbdb.git ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/