+2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
+ (elmo-map-folder-list-answereds): New method.
+ (elmo-folder-list-unreads): Fix.
+
2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
* elmo-msgdb.el (elmo-msgdb-mark): New inline function.
(luna-define-generic elmo-map-folder-list-unreads (folder)
"")
+(luna-define-method elmo-map-folder-list-unreads ((folder elmo-map-folder))
+ t)
+
(luna-define-generic elmo-map-folder-list-importants (folder)
"")
(luna-define-method elmo-map-folder-list-importants ((folder elmo-map-folder))
t)
+(luna-define-generic elmo-map-folder-list-answereds (folder)
+ "")
+
+(luna-define-method elmo-map-folder-list-answereds ((folder elmo-map-folder))
+ t)
+
(luna-define-generic elmo-map-folder-delete-messages (folder locations)
"")
(luna-define-method elmo-folder-list-unreads ((folder elmo-map-folder))
(let ((locations (elmo-map-folder-list-unreads folder)))
(if (listp locations)
- (elmo-map-folder-locations-to-numbers
- folder
- (elmo-map-folder-list-unreads folder)))))
+ (elmo-map-folder-locations-to-numbers folder locations)
+ (luna-call-next-method))))
(luna-define-method elmo-folder-list-importants ((folder elmo-map-folder))
(let ((locations (elmo-map-folder-list-importants folder)))
(elmo-map-folder-locations-to-numbers folder locations)
(luna-call-next-method))))
+(luna-define-method elmo-folder-list-answereds ((folder elmo-map-folder))
+ (let ((locations (elmo-map-folder-list-answereds folder)))
+ (if (listp locations)
+ (elmo-map-folder-locations-to-numbers folder locations)
+ (luna-call-next-method))))
+
(luna-define-method elmo-folder-delete-messages ((folder elmo-map-folder)
numbers)
(elmo-map-folder-delete-messages