elmo-folder-set-message-modified and wl-summary-set-mark-modified.
(wl-summary-set-mark-modified): Abolish.
(wl-summary-mark-modified-p): Ditto.
(wl-summary-save-view): Follow the change above.
* wl-expire.el (wl-summary-expire): Likewise.
* elmo.el (luna-define-class): Remove slot message-modified and
flag-modified.
(elmo-folder-set-message-modified): Abolish.
(elmo-generic-folder-commit): Follow the change above.
(elmo-folder-synchronize): Ditto.
* elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
* elmo-multi.el (elmo-folder-set-message-modified): Ditto.
* elmo-filter.el (elmo-folder-set-message-modified): Ditto.
+2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo.el (luna-define-class): Remove slot message-modified and
+ flag-modified.
+ (elmo-folder-set-message-modified): Abolish.
+ (elmo-generic-folder-commit): Follow the change above.
+ (elmo-folder-synchronize): Ditto.
+
+ * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
+
+ * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
+
+ * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
+
2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
* modb-standard.el (modb-standard-make-message-entity,
(elmo-folder-set-msgdb-internal (elmo-filter-folder-target-internal
folder) nil)))
-(luna-define-method elmo-folder-set-message-modified ((folder
- elmo-filter-folder)
- modified)
- (if (elmo-filter-folder-require-msgdb-internal folder)
- (elmo-folder-set-message-modified-internal
- (elmo-filter-folder-target-internal folder) modified)
- (elmo-folder-set-message-modified-internal folder modified)))
-
(luna-define-method elmo-folder-commit :around ((folder elmo-filter-folder))
;; Save target msgdb if it is used.
(if (elmo-filter-folder-require-msgdb-internal folder)
(elmo-folder-list-flagged child flag in-msgdb)))))
numbers))
-(luna-define-method elmo-folder-set-message-modified ((folder
- elmo-multi-folder)
- modified)
- (dolist (child (elmo-multi-folder-children-internal folder))
- (elmo-folder-set-message-modified child modified)))
-
(luna-define-method elmo-folder-commit ((folder elmo-multi-folder))
(dolist (child (elmo-multi-folder-children-internal folder))
(elmo-folder-commit child)))
(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.
msgdb ; msgdb (may be nil).
killed-list ; killed list.
persistent ; non-nil if persistent.
- message-modified ; message is modified.
- flag-modified ; flag is modified.
process-duplicates ; read or hide
biff ; folder for biff
))
(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-msgdb-killed-list-save
(elmo-folder-msgdb-path folder)
(elmo-folder-killed-list-internal folder)))
- (elmo-folder-set-message-modified folder nil)
- (elmo-folder-set-flag-modified-internal folder nil)
(elmo-msgdb-save msgdb))))
(luna-define-method elmo-folder-close-internal ((folder elmo-folder))
(setq crossed (elmo-folder-append-msgdb folder new-msgdb))
;; process crosspost.
;; Return a cons cell of (NUMBER-CROSSPOSTS . NEW-FLAG-ALIST).
- (elmo-folder-process-crosspost folder)
- (elmo-folder-set-message-modified folder t)
- (elmo-folder-set-flag-modified-internal folder t))
+ (elmo-folder-process-crosspost folder))
;; return value.
(or crossed 0)))
(quit
+2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * wl-summary.el (wl-summary-set-message-modified): No use
+ elmo-folder-set-message-modified and wl-summary-set-mark-modified.
+ (wl-summary-set-mark-modified): Abolish.
+ (wl-summary-mark-modified-p): Ditto.
+ (wl-summary-save-view): Follow the change above.
+
+ * wl-expire.el (wl-summary-expire): Likewise.
+
2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
* wl-summary.el (wl-summary-detect-mark-position): Use
(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)
(sit-for 0)
(set-buffer-modified-p nil))
(wl-expired-alist-save))
"folder mode"))
(defun wl-summary-set-message-modified ()
- (elmo-folder-set-message-modified
- wl-summary-buffer-elmo-folder t)
- (setq wl-summary-buffer-message-modified t)
- (wl-summary-set-mark-modified))
+ (setq wl-summary-buffer-message-modified t))
(defun wl-summary-message-modified-p ()
wl-summary-buffer-message-modified)
-(defun wl-summary-set-mark-modified ()
- (elmo-folder-set-flag-modified-internal
- wl-summary-buffer-elmo-folder t))
-(defun wl-summary-mark-modified-p ()
- (elmo-folder-flag-modified-internal
- wl-summary-buffer-elmo-folder))
(defun wl-summary-set-thread-modified ()
(setq wl-summary-buffer-thread-modified t))
(defun wl-summary-thread-modified-p ()
;; save the current summary buffer view.
(if (and wl-summary-cache-use
(or (wl-summary-message-modified-p)
- (wl-summary-mark-modified-p)
(wl-summary-thread-modified-p)))
(wl-summary-save-view-cache))))