2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
+ * wl-expire.el (wl-expire-delete): Use elmo-folder-detach-messages
+ instead of elmo-msgdb-delete-msgs.
+ (wl-expire-refile-with-copy-reserve-msg): Ditto.
+ (wl-expire-hide): Ditto.
+
+ * wl-summary.el (wl-summary-delete-all-msgs): Ditto.
+
* wl-thread.el (wl-thread-update-line-on-buffer-sub): Don't use
elmo-msgdb interface.
(wl-thread-get-exist-children): Likewise.
(if (elmo-folder-delete-messages folder
delete-list)
(progn
- (elmo-msgdb-delete-msgs (elmo-folder-msgdb folder)
- delete-list)
+ (elmo-folder-detach-messages folder delete-list)
(wl-expire-append-log
(elmo-folder-name-internal folder)
delete-list nil 'delete)
(elmo-folder-delete-messages folder
refile-list))
(progn
- (elmo-msgdb-delete-msgs (elmo-folder-msgdb folder)
- refile-list)
+ (elmo-folder-detach-messages folder refile-list)
(wl-expire-append-log
(elmo-folder-name-internal folder)
refile-list nil 'delete))))))
hide-list (elmo-msgdb-get-mark-alist msgdb))))
(let ((mess (format "Hiding %s msgs..." (length hide-list))))
(message "%s" mess)
- (elmo-msgdb-delete-msgs (elmo-folder-msgdb folder) hide-list)
+ (elmo-folder-detach-messages folder hide-list)
(elmo-msgdb-append-to-killed-list folder hide-list)
(elmo-folder-commit folder)
(message "%sdone" mess)
(message "Deleting...")
(elmo-folder-delete-messages
wl-summary-buffer-elmo-folder dels)
- ;; XXXX
- (elmo-msgdb-delete-msgs (wl-summary-buffer-msgdb)
- dels)
+ (elmo-folder-detach-messages wl-summary-buffer-elmo-folder dels)
(wl-summary-set-message-modified)
(wl-folder-set-folder-updated (wl-summary-buffer-folder-name)
(list 0 0 0))