+2000-10-17 Kenichi OKADA <okada@opaopa.org>
+
+ * wl-expire.el (wl-summary-expire): Change messages.
+ * wl-summary.el (wl-summary-delete-messages-on-buffer): Use
+ `deleing-info' instead of "Deleting..."
+
2000-10-15 Osamu Yamane <yamane@green.ocn.ne.jp>
* wl-summary.el (wl-summary-refile-subr): Fix.
(interactive)
(let ((folder (or folder-name wl-summary-buffer-folder-name))
(alist wl-expire-alist)
+ (deleting-info "Expiring...")
expires)
(when (and (or (setq expires (wl-expire-folder-p folder))
(progn (and (interactive-p)
(setq delete-list
(cond ((eq rm-type nil) nil)
((eq rm-type 'remove)
- (car (wl-expire-delete folder delete-list msgdb)))
+ (car (wl-expire-delete folder delete-list msgdb))
+ (setq deleting-info "Deleting..."))
((eq rm-type 'trash)
- (car (wl-expire-refile folder delete-list msgdb wl-trash-folder)))
+ (car (wl-expire-refile folder delete-list msgdb wl-trash-folder))
+ (setq deleting-info "Deleting..."))
((eq rm-type 'hide)
- (car (wl-expire-hide folder delete-list msgdb)))
+ (car (wl-expire-hide folder delete-list msgdb))
+ (setq deleting-info "Hiding..."))
((stringp rm-type)
- (car (wl-expire-refile folder delete-list msgdb rm-type)))
+ (car (wl-expire-refile folder delete-list msgdb rm-type))
+ (setq deleting-info "Refiling..."))
((fboundp rm-type)
(apply rm-type (append (list folder delete-list msgdb)
args)))
(t
(error "%s: invalid type" rm-type))))
(when (and (not notsummary) delete-list)
- (wl-summary-delete-messages-on-buffer delete-list t)
+ (wl-summary-delete-messages-on-buffer delete-list deleting-info)
(wl-summary-folder-info-update)
(wl-summary-set-message-modified)
(wl-summary-set-mark-modified)
(setq i (1+ i))
(if (or (zerop (% i 5)) (= i len))
(elmo-display-progress
- 'wl-summary-delete-messages-on-buffer "Deleting..."
+ 'wl-summary-delete-messages-on-buffer deleting-info
(/ (* i 100) len))))
(setq msgs (cdr msgs)))
(when (eq wl-summary-buffer-view 'thread)
(message "Deleting...")
(elmo-msgdb-delete-msgs folder delete-list msgdb t) ; reserve cache.
;;(set-buffer cur-buf)
- (wl-summary-delete-messages-on-buffer delete-list t)
+ (wl-summary-delete-messages-on-buffer delete-list "Deleting...")
(message "Deleting...done."))
;;(set-buffer cur-buf)
;; Change "New" marks to "Uncached Unread" marks.