+2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
+ original mark is non-nil.
+
2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
* elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
(let* ((target-folder (elmo-filter-folder-target-internal folder))
(len (length numlist))
(msgdb (elmo-folder-msgdb target-folder))
- overview number-alist mark-alist message-id entity)
+ overview number-alist mark-alist message-id entity mark)
(when (> len elmo-display-progress-threshold)
(elmo-progress-set 'elmo-folder-msgdb-create
len "Creating msgdb..."))
message-id (elmo-msgdb-overview-entity-get-id entity)
number-alist (elmo-msgdb-number-add number-alist
number
- message-id)
- mark-alist (elmo-msgdb-mark-append
- mark-alist
- number
- (elmo-msgdb-get-mark msgdb number))))
+ message-id))
+ (when (setq mark (elmo-msgdb-get-mark msgdb number))
+ (setq mark-alist (elmo-msgdb-mark-append
+ mark-alist
+ number
+ mark))))
(elmo-progress-notify 'elmo-folder-msgdb-create))
(elmo-progress-clear 'elmo-folder-msgdb-create))
(list overview number-alist mark-alist))