From 26da2586ccb8b0cccc52e052d0264beb4075dd1c Mon Sep 17 00:00:00 2001 From: teranisi Date: Mon, 2 Oct 2000 03:02:44 +0000 Subject: [PATCH] * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field. --- elmo/ChangeLog | 2 ++ elmo/elmo-nntp.el | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/elmo/ChangeLog b/elmo/ChangeLog index 4353298..71fc603 100644 --- a/elmo/ChangeLog +++ b/elmo/ChangeLog @@ -1,5 +1,7 @@ 2000-10-02 Yuuichi Teranishi + * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field. + * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed. * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable. diff --git a/elmo/elmo-nntp.el b/elmo/elmo-nntp.el index 2ecba97..7d7de84 100644 --- a/elmo/elmo-nntp.el +++ b/elmo/elmo-nntp.el @@ -1233,7 +1233,10 @@ Returns a list of cons cells like (NUMBER . VALUE)" (delq nil (mapcar (lambda (pair) - (if (string-match val (cdr pair)) + (if (string-match val + (eword-decode-string + (decode-mime-charset-string + (cdr pair) elmo-mime-charset))) (car pair))) (elmo-nntp-retrieve-field spec search-key from-msgs)))) -- 1.7.10.4