GNU bug report logs - #9351
24.0.50; Gnus nnrss group names in utf-8

Previous Next

Packages: gnus, emacs;

Reported by: Tetsuo Tsukamoto <tt.tetsuo.tsukamoto <at> gmail.com>

Date: Tue, 23 Aug 2011 16:08:01 UTC

Severity: normal

Tags: fixed

Found in version 24.0.50

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9351 in the body.
You can then email your comments to 9351 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9351; Package emacs. (Tue, 23 Aug 2011 16:08:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tetsuo Tsukamoto <tt.tetsuo.tsukamoto <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 23 Aug 2011 16:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tetsuo Tsukamoto <tt.tetsuo.tsukamoto <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; Gnus nnrss group names in utf-8
Date: Tue, 23 Aug 2011 23:06:26 +0900
[Message part 1 (text/plain, inline)]
Recent Gnus may have a problem in handling nnrss data file names
unless encoded in us-ascii.  When I invoke Gnus by M-x gnus, Emacs
signals an error saying that it cannot find the data file.  I am
attaching a backtrace showing the problem.

I am also attaching a diff showing my workaround for the problem.
I am not quite sure if it may be called a right fix.

-- 
Tetsuo Tsukamoto


In GNU Emacs 24.0.50.2 of 2011-08-14

[Backtrace (application/octet-stream, attachment)]
[nnrss.el.diff (text/x-patch, inline)]
--- nnrss.el.orig	2011-08-14 12:05:46.000000000 +0900
+++ nnrss.el	2011-08-23 17:05:37.000000000 +0900
@@ -363,12 +363,13 @@
 
 (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))
 

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#9351; Package emacs,gnus. (Sat, 10 Sep 2011 23:35:02 GMT) Full text and rfc822 format available.

Message #8 received at 9351 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Tetsuo Tsukamoto <tt.tetsuo.tsukamoto <at> gmail.com>
Cc: 9351 <at> debbugs.gnu.org
Subject: Re: bug#9351: 24.0.50; Gnus nnrss group names in utf-8
Date: Sun, 11 Sep 2011 01:26:33 +0200
Tetsuo Tsukamoto <tt.tetsuo.tsukamoto <at> gmail.com> writes:

> I am also attaching a diff showing my workaround for the problem.
> I am not quite sure if it may be called a right fix.

Thanks; applied.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Added tag(s) fixed. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 10 Sep 2011 23:35:03 GMT) Full text and rfc822 format available.

bug marked as fixed in version 24.1, send any further explanations to 9351 <at> debbugs.gnu.org and Tetsuo Tsukamoto <tt.tetsuo.tsukamoto <at> gmail.com> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 10 Sep 2011 23:35:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 09 Oct 2011 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 318 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.