* wl-score.el (wl-summary-score-update-all-lines): Use
wl-summary-set-mark.
(wl-summary-score-update-all-lines): Kill expunged messages.
* wl-expire.el (wl-expire-hide): Use elmo-folder-kill-messages.
* elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
* elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
(elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
messages.
* elmo.el (elmo-folder-kill-messages-before): New function.
(elmo-folder-kill-messages): Ditto.
(elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
* elmo-imap4.el (elmo-folder-list-messages-plugged):
Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
killed not by synchronize (e.g. scoring).