+2004-05-06 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
+
+ * gnus-art.el (article-strip-banner): Use original from fields
+ instead of MIME-decoded from fields, when checking
+ `gnus-article-address-banner-alist'.
+
2004-05-03 Jesper Harder <harder@ifa.au.dk>
* nnrss.el (nnrss-check-group, nnrss-read-group-data): Hash on
2004-05-02 Steve Youngs <steve@youngs.au.com>
- * dgnushack.el: Autoload `mail-fetch-field' for XEmacs.
+ * dgnushack.el: Autoload `mail-fetch-field' for XEmacs.
2004-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2004-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-agent.el (gnus-agent-read-agentview): Inline
- gnus-uncompress-range.
+ gnus-uncompress-range.
2004-05-01 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
(article-really-strip-banner
(gnus-parameter-banner gnus-newsgroup-name)))
(when gnus-article-address-banner-alist
- (article-really-strip-banner
- (let ((from (save-restriction
- (widen)
- (article-narrow-to-head)
- (mail-fetch-field "from"))))
- (when (and from
- (setq from
- (caar (mail-header-parse-addresses from))))
- (catch 'found
- (dolist (pair gnus-article-address-banner-alist)
- (when (string-match (car pair) from)
- (throw 'found (cdr pair)))))))))))))
+ (let ((from (caar (mail-header-parse-addresses
+ (gnus-fetch-original-field "from")))))
+ (when from
+ (catch 'found
+ (dolist (pair gnus-article-address-banner-alist)
+ (when (string-match (car pair) from)
+ (throw 'found
+ (article-really-strip-banner (cdr pair)))))))))))))
(defun article-really-strip-banner (banner)
"Strip the banner specified by the argument."