* wl.el (wl-check-environment): Don't check wl-draft-folder is file.
* wl-vars.el (wl-folder-sync-range-alist): Changed default value.
* wl-util.el (wl-require-update-all-folder-p): New function.
(wl-get-assoc-list-value): Added `function' to match directive.
(wl-collect-draft): Rewrite.
* wl-summary.el (wl-summary-sync-update): Clear faces
when both wl-summary-lazy-highlight and wl-summary-lazy-update-mark
are non-nil.
(wl-summary-get-sync-range): Call wl-get-assoc-list-value with match
argument as function.
(wl-summary-input-range): Ditto.
* wl-folder.el (wl-draft-get-folder): New function.
(wl-folder-get-elmo-folder): Consider draft folder.
* wl-draft.el (wl-draft-buf-name, wl-draft-buffer-file-name): Abolish.
(wl-draft-buffer-message-number): New buffer local variable.
(wl-draft-folder-internal): New internal variable.
(wl-draft-delete): Rewrite.
(wl-draft-save): Ditto.
(wl-draft-create-buffer): Use wl-draft-get-folder instead of
wl-folder-get-elmo-folder.
(wl-draft-config-info-operation): Ditto.
(wl-jump-to-draft-folder): Ditto.
(wl-draft-prepare-edit): Set up auto-save-file-name-transforms.
(wl-draft-reedit): Rewrite.
* im-wl.el (wl-draft-send-with-imput-async): Follow the changes
in draft (Not tested).
* elmo.el (elmo-folder-next-message-number): New API.
(elmo-folder-next-message-number): Define.
(elmo-message-field): Don't check folder length.
* elmo-net.el (elmo-folder-next-message-number): Define.
(elmo-folder-next-message-number-unplugged): Define.
* elmo-map.el (elmo-folder-next-message-number): Define.
(elmo-folder-delete-messages): Clear hash value.
* elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
* elmo-dop.el (elmo-folder-next-message-number-dop): New function.
(elmo-folder-delete-messages-dop-delayed): Always return t.
15 files changed: