2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+ * elmo.el (elmo-folder-synchronize): Don't check important mark in
+ mark folder.
+
+2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
* elmo.el (elmo-message-fetch): Define.
(elmo-message-fetch-with-cache-process): New generic method.
(elmo-message-fetch-internal): New generic method.
+ (elmo-folder-synchronize):
* elmo-archive.el (elmo-message-fetch-internal): Define.
(elmo-message-fetch): Eliminated.
(elmo-msgdb-append-to-killed-list folder (car diff-2)))
;; Don't delete important marked messages.
(setq delete-list
- (elmo-delete-if
- (lambda (x)
- (and (setq mark (cadr (assq x mark-alist)))
- (string= mark important-mark)))
- ;; delete message list
- (cadr diff)))
+ (if (eq (elmo-folder-type-internal folder) 'mark)
+ (cadr diff)
+ (elmo-delete-if
+ (lambda (x)
+ (and (setq mark (cadr (assq x mark-alist)))
+ (string= mark important-mark)))
+ ;; delete message list
+ (cadr diff))))
(if (or (equal diff '(nil nil))
(equal diff '(nil))
(and (eq (length (car diff)) 0)