From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel Subject: Re: nnrss-node-just-text: Wrong type argument: sequencep, 62 Date: Tue, 30 Nov 2004 21:38:15 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101818363 31325 80.91.229.6 (30 Nov 2004 12:39:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Nov 2004 12:39:23 +0000 (UTC) Cc: "Andrew M. Scott" , bugs@gnus.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 30 13:39:11 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CZ7Hi-0003Zk-00 for ; Tue, 30 Nov 2004 13:39:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZ7RA-0006y3-Fs for ged-emacs-devel@m.gmane.org; Tue, 30 Nov 2004 07:48:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CZ7Qv-0006uk-Eb for emacs-devel@gnu.org; Tue, 30 Nov 2004 07:48:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CZ7Qt-0006s8-IK for emacs-devel@gnu.org; Tue, 30 Nov 2004 07:48:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZ7Qt-0006rd-GB for emacs-devel@gnu.org; Tue, 30 Nov 2004 07:48:39 -0500 Original-Received: from [69.61.11.2] (helo=washington.hostforweb.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CZ7H6-0003zE-DH for emacs-devel@gnu.org; Tue, 30 Nov 2004 07:38:32 -0500 Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with esmtpa (Exim 4.42) id 1CZ7Gy-0002Tm-5X; Tue, 30 Nov 2004 07:38:25 -0500 Original-To: emacs-devel@gnu.org X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:g8tAspWPPx1w73UEmAEQnFfhjf0= X-Hashcash: 1:20:041130:emacs-devel@gnu.org::pF67Hjwn3g9LXS92:0000000000000000000000000000000000000000000cdh X-Hashcash: 1:20:041130:ascott@sedona.ch.intel.com::yIEZVP4A5omvzqXu:000000000000000000000000000000000002w4X X-Hashcash: 1:20:041130:bugs@gnus.org::Eg8qbRUcdalKPiQB:0000A8wA X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:30531 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30531 Hello, In the bugs@gnus.org list, I found a bug report which is attached below. I don't know which of xml.el and nnrss.el is wrong, but I found a strange behavior of xml.el. (with-temp-buffer (insert "") (xml-parse-region (point-min) (point-max))) => ((rss nil "ding")) (with-temp-buffer (insert " ") (xml-parse-region (point-min) (point-max))) => ((rss nil " " 32 103 110 105 100)) The latter case seems to have returned a mirrored string as characters: (concat '(32 103 110 105 100)) => " gnid" Is it the intended behavior? The problem Andrew M. Scott reported is not the same but similar to this. The same behavior that xml-parse-region returns a mirrored character sequence can be reproduced as follows: cd /tmp wget 'http://www.lockergnome.com/rss/news.php' (with-temp-buffer (insert-file-contents "/tmp/news.php") (xml-parse-region (point-min) (point-max))) Regards, >>>>> In Andrew M. Scott wrote: > I encountered an nnrss-node-just-text: Wrong type argument: sequencep, 62 > error in the 11/29/2004 CVS version of gnus, which precedes the > Emacs-21.3.50 (11/29/2004) gnus in my load-path. > Invocating a fresh emacs, then hitting M-x gnus, produced > the following *Messages* and *Backtrace* > Could nnrss be enhanced not to abort on this kind of error? > My temporary workaround was to execute (gnus-no-server-1 1) and then > "U" the offending group, save from the GNUS summary buffer, quit GNUS, > and then restart via M-x gnus. > No Gnus v0.3 > GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) > of 2004-11-29 on chlr4918 > 200 news01.intel.com InterNetNews NNRP server INN 2.3.3 ready (posting ok). > *Messages* > Opening nnrss server...done > Opening nnrss server on syndic8.com... > Loading /eng/eng10/ascott/News/rss/nnrss-syndic8.com.el (source)...done > Opening nnrss server on syndic8.com...done > Opening nnrss server... > Loading /eng/eng10/ascott/News/rss/nnrss.el (source)...done > Opening nnrss server...done > nnrss-node-just-text: Wrong type argument: sequencep, 62 > *Backtrace* > Debugger entered--Lisp error: (wrong-type-argument sequencep 62) > mapconcat(nnrss-node-just-text (62 112 47 60 62 97 47 60 39 101 108 98 111 78 32 100 110 97 32 115 101 110 114 97 66 32 110 105 32 105 70 45 105 87 39 32 114 111 102 32 115 107 110 105 76 32 100 101 116 97 ...) " ") > nnrss-node-just-text((description nil 62 112 47 60 62 97 47 60 39 101 108 98 111 78 32 100 110 97 32 115 101 110 114 97 66 32 110 105 32 105 70 45 105 87 39 32 114 111 102 32 115 107 110 105 76 32 100 101 ...)) > nnrss-node-text(nil description (item nil "\n " (title nil "Wi-Fi in Barnes and Noble") "\n " (description nil 62 112 47 60 62 97 47 60 39 101 108 98 111 78 32 100 110 97 32 115 101 110 114 97 66 32 110 105 32 105 70 45 105 87 39 32 114 111 102 32 115 107 110 105 76 32 100 101 ...) "\n " (author nil "rss_feedback@lockergnome.com (Meryl Evans)") "\n " (category nil "Wi-Fi") "\n " (pubDate nil "Mon, 29 Nov 2004 11:32:42 -0800") "\n " (link nil "http://channels.lockergnome.com/news/archives/20041129_wifi_in_barnes_and_noble.phtml") "\n " (guid nil "http://channels.lockergnome.com/news/archives/20041129_wifi_in_barnes_and_noble.phtml") "\n \n ")) > nnrss-check-group("Lockergnome's Technology News" "") > nnrss-request-group("Lockergnome's Technology News" "" nil) > gnus-activate-group("nnrss:Lockergnome's Technology News" scan) > gnus-get-unread-articles(nil) > gnus-setup-news(nil nil nil) > byte-code("