From: teranisi Date: Mon, 22 Sep 2003 03:33:41 +0000 (+0000) Subject: * elmo.el (elmo-message-field): Use elmo-message-entity-field. X-Git-Tag: wl-2_11_17~2 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=1757a3594b18a902939fdea5b0f5ec8207ac3a7c;p=elisp%2Fwanderlust.git * elmo.el (elmo-message-field): Use elmo-message-entity-field. * elmo-msgdb.el (elmo-msgdb-sort-by-date): Use elmo-message-entity-field. --- diff --git a/elmo/ChangeLog b/elmo/ChangeLog index 52dfc5d..d0d4af8 100644 --- a/elmo/ChangeLog +++ b/elmo/ChangeLog @@ -1,8 +1,11 @@ 2003-09-22 Yuuichi Teranishi + * 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. diff --git a/elmo/elmo-msgdb.el b/elmo/elmo-msgdb.el index 3d93027..79b33ad 100644 --- a/elmo/elmo-msgdb.el +++ b/elmo/elmo-msgdb.el @@ -118,9 +118,9 @@ (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))))) diff --git a/elmo/elmo.el b/elmo/elmo.el index a06abb0..9d606fc 100644 --- a/elmo/elmo.el +++ b/elmo/elmo.el @@ -1279,9 +1279,7 @@ FIELD is a symbol of the field.") (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.