[gnus git] branch master updated: n0-17-285-gdab1408 =1= * nnrss.el (nnrss-retrieve-groups): Decode the charset before looking up the file

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  dab1408c08eac3d001f985267250ee46a29305bb (commit)
      from  831913f3adf29e739eac8e50ace75ba772a4985c (commit)


- Log -----------------------------------------------------------------
commit dab1408c08eac3d001f985267250ee46a29305bb
Author: Tetsuo Tsukamoto <[email protected]>
Date:   Sun Sep 11 01:26:21 2011 +0200

    * nnrss.el (nnrss-retrieve-groups): Decode the charset before looking up the file

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b770523..f5ea083 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-10  Tetsuo Tsukamoto  <[email protected]>  (tiny change)
+
+	* nnrss.el (nnrss-retrieve-groups): Decode the charset before looking
+	up the file (bug#9351).
+
 2011-09-10  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* nnimap.el: Redo the charset handling.  Let Gnus encode the names, as
diff --git a/lisp/nnrss.el b/lisp/nnrss.el
index b12700f..3e3b732 100644
--- a/lisp/nnrss.el
+++ b/lisp/nnrss.el
@@ -363,12 +363,13 @@ for decoding when the cdr that the data specify is not available.")
 
 (deffoo nnrss-retrieve-groups (groups &optional server)
   (dolist (group groups)
+    (setq group (nnrss-decode-group-name group))
     (nnrss-possibly-change-group group server)
     (nnrss-check-group group server))
   (with-current-buffer nntp-server-buffer
     (erase-buffer)
     (dolist (group groups)
-      (let ((elem (assoc group nnrss-server-data)))
+      (let ((elem (assoc (gnus-group-decoded-name group) nnrss-server-data)))
 	(insert (format "%S %s 1 y\n" group (or (cadr elem) 0)))))
     'active))
 

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    5 +++++
 lisp/nnrss.el  |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.