2001-10-07 Per Abrahamsen <abraham@dina.kvl.dk>
+ * gnus-util.el (gnus-decode-newsgroups): No space in newsgroup
+ header.
+
+ * gnus-art.el (article-decode-group-name): Also decode
+ "Followup-To".
+
* rfc2047.el (rfc2047-encode-message-header): Encode without
asking for null methods.
(method (gnus-find-method-for-group gnus-newsgroup-name)))
(when (and (or gnus-group-name-charset-method-alist
gnus-group-name-charset-group-alist)
- (gnus-buffer-live-p gnus-original-article-buffer)
- (mail-fetch-field "Newsgroups"))
- (nnheader-replace-header "Newsgroups"
- (gnus-decode-newsgroups
- (with-current-buffer
- gnus-original-article-buffer
- (mail-fetch-field "Newsgroups"))
- gnus-newsgroup-name method)))))
+ (gnus-buffer-live-p gnus-original-article-buffer))
+ (when (mail-fetch-field "Newsgroups")
+ (nnheader-replace-header "Newsgroups"
+ (gnus-decode-newsgroups
+ (with-current-buffer
+ gnus-original-article-buffer
+ (mail-fetch-field "Newsgroups"))
+ gnus-newsgroup-name method)))
+ (when (mail-fetch-field "Followup-To")
+ (nnheader-replace-header "Followup-To"
+ (gnus-decode-newsgroups
+ (with-current-buffer
+ gnus-original-article-buffer
+ (mail-fetch-field "Followup-To"))
+ gnus-newsgroup-name method))))))
(defun article-de-quoted-unreadable (&optional force read-charset)
"Translate a quoted-printable-encoded article.
(mapconcat (lambda (group)
(gnus-group-name-decode group (gnus-group-name-charset
method group)))
- (message-tokenize-header newsgroups ", ")
- ", ")))
+ (message-tokenize-header newsgroups)
+ ",")))
(defun gnus-remove-text-with-property (prop)
"Delete all text in the current buffer with text property PROP."