Add recipient tracking to the Gnus registry. Reindex it on read if necessary.
authorTed Zlatanov <tzz@lifelogs.com>
Sat, 16 Apr 2011 03:33:15 +0000 (22:33 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Sat, 16 Apr 2011 03:33:15 +0000 (22:33 -0500)
commit1e4b51ee2924b45cf986153f994fc25f338d2c17
tree07e56e698cf2e6f0af17bdde9aa95a52bda74fde
parentbab3851c01b455c986eec6cda6c7ab8e1d078735
Add recipient tracking to the Gnus registry.  Reindex it on read if necessary.

* gnus-registry.el (gnus-registry-fixup-registry): Use it if the
tracked field changes.
(gnus-registry-unfollowed-addresses, gnus-registry-track-extra)
(gnus-registry-action, gnus-registry-spool-action)
(gnus-registry-handle-action)
(gnus-registry--split-fancy-with-parent-internal)
(gnus-registry-split-fancy-with-parent)
(gnus-registry-register-message-ids): Add recipient tracking on spool,
move, and delete actions, and for fancy splitting with parent.
(gnus-registry-extract-addresses)
(gnus-registry-fetch-recipients-fast)
(gnus-registry-fetch-header-fast): Convenience functions.
(gnus-registry-misc-test): ERT test of
`gnus-registry-extract-addresses'.

* registry.el (registry-reindex): New method to recreate the secondary
registry indices.
lisp/ChangeLog
lisp/gnus-registry.el
lisp/registry.el