when field is from or subject.
* wl-refile.el (wl-refile-get-field-value): Call
`elmo-message-entity-field' with 3rd argument is non-nil.
+2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
+ when field is from or subject.
+
2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
* elmo-multi.el (elmo-message-entity-parent): Define.
(references (aref (cdr entity) 1))
(size (aref (cdr entity) 7))
(t (cdr (assoc (symbol-name field) (aref (cdr entity) 8)))))))
- (if decode
+ (if (and decode (memq field '(from subject)))
(elmo-msgdb-get-decoded-cache field-value)
field-value))))
+2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * wl-refile.el (wl-refile-get-field-value): Call
+ `elmo-message-entity-field' with 3rd argument is non-nil.
+
2003-08-26 Yuuichi Teranishi <teranisi@gohome.org>
* wl-vars.el (wl-draft-preview-attributes): New user option.
(defun wl-refile-get-field-value (entity field)
"Get FIELD value from ENTITY."
- (elmo-message-entity-field entity (intern (downcase field))))
+ (elmo-message-entity-field entity (intern (downcase field)) 'decode))
(defun wl-refile-guess-by-rule (entity)
(let ((rules wl-refile-rule-alist)