# HG changeset patch # User Katsumi Yamaoka # Date 1247227514 0 # Node ID 65b0cbb5b077b682f105ebd2477c1b2a1f1fe3a7 # Parent a7805f91abdd78fd4958f42398eab527e4a0bb40 (gnus-group-make-rss-group): Strip newlines and excessive whitespace from the default values of title and description. diff -r a7805f91abdd -r 65b0cbb5b077 lisp/gnus/ChangeLog --- a/lisp/gnus/ChangeLog Fri Jul 10 11:30:37 2009 +0000 +++ b/lisp/gnus/ChangeLog Fri Jul 10 12:05:14 2009 +0000 @@ -1,3 +1,8 @@ +2009-07-10 Katsumi Yamaoka + + * gnus-group.el (gnus-group-make-rss-group): Strip newlines and + excessive whitespace from the default values of title and description. + 2009-06-22 Katsumi Yamaoka * mm-decode.el (mm-dissect-buffer): Use message-fetch-field instead of diff -r a7805f91abdd -r 65b0cbb5b077 lisp/gnus/gnus-group.el --- a/lisp/gnus/gnus-group.el Fri Jul 10 11:30:37 2009 +0000 +++ b/lisp/gnus/gnus-group.el Fri Jul 10 12:05:14 2009 +0000 @@ -3055,12 +3055,21 @@ (let* ((title (gnus-newsgroup-savable-name (read-from-minibuffer "Title: " (gnus-newsgroup-savable-name - (or (cdr (assoc 'title + (mapconcat + 'identity + (split-string + (or (cdr (assoc 'title + feedinfo)) + "")) + " "))))) + (desc (read-from-minibuffer "Description: " + (mapconcat + 'identity + (split-string + (or (cdr (assoc 'description feedinfo)) - ""))))) - (desc (read-from-minibuffer "Description: " - (cdr (assoc 'description - feedinfo)))) + "")) + " "))) (href (cdr (assoc 'href feedinfo))) (coding (gnus-group-name-charset '(nnrss "") title))) (when coding