* elmo-msgdb.el (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
+ * elmo.el (elmo-message-field): Use elmo-message-entity-field.
+
* elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
(elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
(elmo-msgdb-flag-table): Ditto.
+ (elmo-msgdb-sort-by-date): Ditto.
* modb.el (elmo-msgdb-create-message-entity-from-file): Define.
(condition-case nil
(string<
(timezone-make-date-sortable
- (elmo-msgdb-message-entity-field msgdb x 'date))
+ (elmo-message-entity-field x 'date))
(timezone-make-date-sortable
- (elmo-msgdb-message-entity-field msgdb y 'date)))
+ (elmo-message-entity-field y 'date)))
(error)))))
(luna-define-method elmo-message-field ((folder elmo-folder) number field)
(when (zerop (elmo-folder-length folder))
(error "Cannot treat this folder correctly."))
- (elmo-msgdb-message-entity-field (elmo-folder-msgdb folder)
- (elmo-message-entity folder number)
- field))
+ (elmo-message-entity-field (elmo-message-entity folder number) field))
(luna-define-method elmo-message-use-cache-p ((folder elmo-folder) number)
nil) ; default is not use cache.