* wl-util.el (wl-current-message-buffer): Follow the API change.
* wl-summary.el (wl-summary-redisplay-internal): Call
`wl-summary-mark-as-read' with 2nd argument as nil and update
unread count instead of persistent mark.
* wl-message.el (wl-message-buffer-mime-entity): New buffer local
variable.
(wl-message-redisplay): Follow the API change.
(wl-message-buffer-display): Managed mime-entity directly and
return preview buffer only.
(wl-message-display-internal): Rewrite.
(wl-message-buffer-prefetch-subr): Not save return value of
`wl-message-buffer-display'.
* elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
and added `number', `require-entireness'.
(elmo-find-fetch-strategy): Rewrite.
(elmo-message-fetch): Unset `unread' flag when argument unread is
non-nil.
* elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
* elmo-multi.el (elmo-find-fetch-strategy): Ditto.
(elmo-message-fetch): Notify event `flag-changed'.
* elmo-pipe.el: Likewise.
* elmo-mime.el (elmo-mime-entity): New class.
(elmo-mime-entity-display-p): New generic function.
(elmo-mime-entity-display): Ditto.
(elmo-mime-entity-display-as-is): Ditto.
(mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
elmo-mime-entity.
(elmo-make-mime-message-location): Removed.
(elmo-mime-message-display): Ditto.
(elmo-mime-display-as-is): Ditto.
(elmo-message-mime-entity): New function.
* elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
* elmo-filter.el (elmo-find-fetch-strategy): Follow the API
change.
(elmo-message-fetch): Re-count flagged message number and notify
event `flag-changed'.
12 files changed: