Fixed how to set extra field into entity.
(elmo-msgdb-message-entity-set-field): Fixed mistake string for
symbol.
* modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
Fixed how to set extra field into entity.
(elmo-msgdb-message-entity-set-field): Fixed mistake string for
symbol.
+2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
+ Fixed how to set extra field into entity.
+ (elmo-msgdb-message-entity-set-field): Fixed mistake string for
+ symbol.
+
+ * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
+ Fixed how to set extra field into entity.
+ (elmo-msgdb-message-entity-set-field): Fixed mistake string for
+ symbol.
+
2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
* modb.el (elmo-message-entity-db): New function.
(setq size 0)))
(while extras
(if (setq field-body (elmo-field-body (car extras)))
- (setq extra (cons (cons (downcase (car extras))
- field-body) extra)))
+ (elmo-msgdb-message-entity-set-field
+ msgdb entity (intern (downcase (car extras))) field-body))
(setq extras (cdr extras)))
- (dolist (field '(message-id number references from subject date to cc
- size extra))
+ (dolist (field '(message-id number references from subject
+ date to cc size))
(when (symbol-value field)
(elmo-msgdb-message-entity-set-field
msgdb entity field (symbol-value field))))
(t
(let ((extras (and entity (aref (cdr entity) 8)))
extra)
- (if (setq extra (assoc field extras))
+ (if (setq extra (assoc (symbol-name field) extras))
(setcdr extra value)
(aset (cdr entity) 8 (cons (cons (symbol-name field)
value) extras))))))))
(setq size 0)))
(while extras
(if (setq field-body (elmo-field-body (car extras)))
- (setq extra (cons (cons (downcase (car extras))
- field-body) extra)))
+ (elmo-msgdb-message-entity-set-field
+ msgdb entity (intern (downcase (car extras))) field-body))
(setq extras (cdr extras)))
- (dolist (field '(number message-id references from subject date to cc
- size extra))
+ (dolist (field '(number message-id references from subject
+ date to cc size))
(when (symbol-value field)
(elmo-msgdb-message-entity-set-field
msgdb entity field (symbol-value field))))
(t
(let ((extras (and entity (aref (cdr entity) 8)))
extra)
- (if (setq extra (assoc field extras))
+ (if (setq extra (assoc (symbol-name field) extras))
(setcdr extra value)
(aset (cdr entity) 8 (cons (cons (symbol-name field)
value) extras))))))))