to `reads' slot only if `in-msgdb' is nil.
+2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
+ to `reads' slot only if `in-msgdb' is nil.
+
2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
flag &optional in-msgdb)
;; 2.3. elmo-folder-list-unreads return unread message list according to
;; `reads' slot.
- (case flag
- (unread
- (elmo-living-messages (luna-call-next-method)
- (elmo-nntp-folder-reads-internal folder)))
- ;; Should consider read, digest and any flag?
- (otherwise
- (luna-call-next-method))))
+ (let ((msgs (luna-call-next-method)))
+ (if in-msgdb
+ msgs
+ (case flag
+ (unread
+ (elmo-living-messages msgs (elmo-nntp-folder-reads-internal folder)))
+ ;; Should consider read, digest and any flag?
+ (otherwise
+ msgs)))))
(require 'product)
(product-provide (provide 'elmo-nntp) (require 'elmo-version))