+2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo.el (elmo-folder-set-message-modified): New method.
+ (elmo-generic-folder-commit): Use it.
+ (elmo-folder-synchronize): Ditto.
+
+ * elmo-pipe.el (elmo-folder-set-message-modified): Define.
+ (elmo-folder-commit): Remove duplicate definition.
+
2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
* elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
(luna-define-method elmo-folder-close-internal ((folder elmo-pipe-folder))
(elmo-folder-close-internal(elmo-pipe-folder-dst-internal folder)))
+(luna-define-method elmo-folder-set-message-modified
+ ((folder elmo-pipe-folder) modified)
+ (elmo-folder-set-message-modified-internal
+ (elmo-pipe-folder-dst-internal folder) modified))
+
(luna-define-method elmo-folder-list-messages ((folder elmo-pipe-folder)
&optional visible-only in-msgdb)
;; Use target folder's killed-list in the pipe folder.
(elmo-pipe-folder-dst-internal new-folder))
(elmo-msgdb-rename-path folder new-folder)))
-(luna-define-method elmo-folder-commit ((folder elmo-pipe-folder))
- (elmo-folder-commit
- (elmo-pipe-folder-dst-internal folder)))
-
(luna-define-method elmo-folder-synchronize ((folder elmo-pipe-folder)
&optional
disable-killed
(or (elmo-folder-msgdb-internal folder)
(elmo-folder-set-msgdb-internal folder
(elmo-msgdb-load folder))))
+
(luna-define-generic elmo-folder-open (folder &optional load-msgdb)
"Open and setup (load saved status) FOLDER.
If optional LOAD-MSGDB is non-nil, msgdb is loaded.
(luna-define-generic elmo-folder-reserve-status-p (folder)
"If non-nil, the folder should not close folder after `elmo-folder-status'.")
+(luna-define-generic elmo-folder-set-message-modified (folder modified)
+ "Set FOLDER as modified.")
+(luna-define-method elmo-folder-set-message-modified ((folder elmo-folder)
+ modified)
+ (elmo-folder-set-message-modified-internal folder modified))
+
(luna-define-generic elmo-folder-list-messages (folder &optional visible-only
in-msgdb)
"Return a list of message numbers contained in FOLDER.
(elmo-folder-set-info-max-by-numdb
folder
(elmo-folder-list-messages folder nil 'in-msgdb))
- (elmo-folder-set-message-modified-internal folder nil)
+ (elmo-folder-set-message-modified folder nil)
(elmo-msgdb-killed-list-save
(elmo-folder-msgdb-path folder)
(elmo-folder-killed-list-internal folder)))
;; process crosspost.
;; Return a cons cell of (NUMBER-CROSSPOSTS . NEW-MARK-ALIST).
(elmo-folder-process-crosspost folder)
- (elmo-folder-set-message-modified-internal folder t)
+ (elmo-folder-set-message-modified folder t)
(elmo-folder-set-mark-modified-internal folder t))
;; return value.
(or crossed 0)))
+2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * wl-summary.el (wl-summary-set-message-modified): Use
+ elmo-folder-set-message-modified instead of
+ elmo-folder-set-message-modified-internal.
+
2003-08-03 Yuuichi Teranishi <teranisi@gohome.org>
* wl-summary.el (wl-summary-sync): Call wl-summary-sync-marks
"folder mode"))
(defun wl-summary-set-message-modified ()
- (elmo-folder-set-message-modified-internal
+ (elmo-folder-set-message-modified
wl-summary-buffer-elmo-folder t)
(setq wl-summary-buffer-message-modified t)
(wl-summary-set-mark-modified))