* elmo-pipe.el (elmo-pipe-drain): Follow the change above.
* wl-summary.el (wl-summary-buffer-msgdb): Abolish.
* wl-expire.el (wl-expire-refile): Follow the API change on
`elmo-folder-move-messages'.
(wl-expire-refile-with-copy-reserve-msg): Ditto.
* wl-action.el (wl-summary-move-mark-list-messages): Ditto.
(wl-summary-exec-action-refile): Ditto.
(wl-summary-exec-action-copy): Ditto.
(wl-summary-no-auto-refile-message-p): No use
`wl-summary-buffer-msgdb'.
(wl-summary-auto-refile): Ditto.
* elmo-version.el (elmo-version): Up to 2.11.8.
+ * elmo.el (elmo-folder-move-messages): Removed unused arguments.
+
+ * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
+
2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
* elmo.el (elmo-folder-detach-messages): Undo last change.
"Copying messages..."
"Moving messages...")))
(unwind-protect
- (elmo-folder-move-messages src msgs dst
- nil nil copy)
+ (elmo-folder-move-messages src msgs dst copy)
(elmo-progress-clear 'elmo-folder-move-messages))
(when (and copy msgs)
(setq ignore-list (elmo-number-set-append-list ignore-list
;; Arguments should be reduced.
(defun elmo-folder-move-messages (src-folder msgs dst-folder
- &optional msgdb
- no-delete-info
+ &optional
no-delete
- same-number
- save-unread)
+ same-number)
(save-excursion
(let* ((messages msgs)
(elmo-inhibit-display-retrieval-progress t)
* Version number is increased to 2.11.8.
+ * wl-summary.el (wl-summary-buffer-msgdb): Abolish.
+
+ * wl-expire.el (wl-expire-refile): Follow the API change on
+ `elmo-folder-move-messages'.
+ (wl-expire-refile-with-copy-reserve-msg): Ditto.
+
+ * wl-action.el (wl-summary-move-mark-list-messages): Ditto.
+ (wl-summary-exec-action-refile): Ditto.
+ (wl-summary-exec-action-copy): Ditto.
+ (wl-summary-no-auto-refile-message-p): No use
+ `wl-summary-buffer-msgdb'.
+ (wl-summary-auto-refile): Ditto.
+
2003-08-19 Yoichi NAKAYAMA <yoichi@geiin.org>
* wl-summary.el (wl-summary-sync): Fix regexp for last: and first:.
refiles
(if (eq folder-name 'null)
'null
- (wl-folder-get-elmo-folder folder-name))
- (wl-summary-buffer-msgdb)
- (not (null (cdr dst-msgs)))
- nil ; no-delete
- nil ; same-number
- t))
+ (wl-folder-get-elmo-folder folder-name))))
(error nil))
(when result ; succeeded.
;; update buffer.
(setq result (elmo-folder-move-messages
wl-summary-buffer-elmo-folder
(cdr (car dst-msgs))
- (wl-folder-get-elmo-folder
- (car (car dst-msgs)))
- (wl-summary-buffer-msgdb)
- (not (null (cdr dst-msgs)))
- nil ; no-delete
- nil ; same-number
- t))
+ (wl-folder-get-elmo-folder (car (car dst-msgs)))))
(error nil))
(if result ; succeeded.
(progn
(setq result nil)
(condition-case nil
(setq result (elmo-folder-move-messages
- wl-summary-buffer-elmo-folder
- (cdr (car dst-msgs))
- (wl-folder-get-elmo-folder
- (car (car dst-msgs)))
- (wl-summary-buffer-msgdb)
- (not (null (cdr dst-msgs)))
- t ; t is no-delete (copy)
- nil ; same-number
- t))
+ wl-summary-buffer-elmo-folder
+ (cdr (car dst-msgs))
+ (wl-folder-get-elmo-folder (car (car dst-msgs)))
+ 'no-delete))
(error nil))
(if result ; succeeded.
(progn
(wl-summary-prev)
(wl-summary-next)))
-(defsubst wl-summary-no-auto-refile-message-p (msg)
- (member (elmo-msgdb-get-mark (wl-summary-buffer-msgdb) msg)
+(defsubst wl-summary-no-auto-refile-message-p (number)
+ (member (elmo-message-mark wl-summary-buffer-elmo-folder number)
wl-summary-auto-refile-skip-marks))
(defun wl-summary-auto-refile (&optional open-all)
(setq dst
(wl-folder-get-realname
(wl-refile-guess-by-rule
- (elmo-msgdb-overview-get-entity
- number (wl-summary-buffer-msgdb)))))
+ (elmo-message-entity wl-summary-buffer-elmo-folder
+ number))))
(not (equal dst spec))
(let ((pair (assoc dst checked-dsts))
ret)
(if (elmo-folder-move-messages folder
refile-list
dst-folder
- nil ; XXX
- t
copy
- preserve-number
- wl-expire-add-seen-list)
+ preserve-number)
(progn
(wl-expire-append-log
(elmo-folder-name-internal folder)
(elmo-folder-move-messages folder
refile-list
dst-folder
- nil ;
- t
copy-reserve-message
- preserve-number
- wl-expire-add-seen-list))
+ preserve-number))
(error "Expire: move msgs to %s failed"
(elmo-folder-name-internal dst-folder)))
(wl-expire-append-log (elmo-folder-name-internal folder)
(` (and wl-summary-buffer-elmo-folder
(elmo-folder-name-internal wl-summary-buffer-elmo-folder))))
-(defmacro wl-summary-buffer-msgdb ()
- (` (and wl-summary-buffer-elmo-folder
- (elmo-folder-msgdb wl-summary-buffer-elmo-folder))))
-
(defvar wl-summary-buffer-disp-msg nil)
(defvar wl-summary-buffer-disp-folder nil)
(defvar wl-summary-buffer-temp-mark-list nil)