recent value is returned from imap folder.
2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
+ * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
+ recent value is returned from imap folder.
+
* elmo.el (elmo-folder-newsgroups): New generic function.
* elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
(unsync 0)
(messages 0)
num-list
- diffs)
+ diffs nums)
;; If first time, dummy numbers is used as current number list.
(unless numbers
(let ((i 0)
(elmo-number-set-to-number-list killed)
numbers))))
(while flds
- (setq diffs (nconc diffs (list (elmo-folder-diff
- (car flds)
- (car num-list)))))
+ (setq nums (elmo-folder-diff (car flds) (car num-list))
+ nums (cons (elmo-diff-unread nums) (elmo-diff-all nums)))
+ (setq diffs (nconc diffs (list nums)))
(setq count (+ 1 count))
(setq num-list (cdr num-list))
(setq flds (cdr flds)))