From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67926 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: nnrss-generate-download-script wrong-type-argument Date: Tue, 16 Dec 2008 11:25:32 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86y6ygjalv.fsf@lifelogs.com> References: <86bpvhqd24.fsf@lifelogs.com> <87d4fu5d48.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1229448369 25102 80.91.229.12 (16 Dec 2008 17:26:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Dec 2008 17:26:09 +0000 (UTC) Cc: ding@gnus.org To: jidanni@jidanni.org Original-X-From: ding-owner+M16372@lists.math.uh.edu Tue Dec 16 18:27:14 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LCdhO-0004Sv-FR for ding-account@gmane.org; Tue, 16 Dec 2008 18:27:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LCdgA-0007jm-AA; Tue, 16 Dec 2008 11:25:54 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LCdg8-0007jP-UB for ding@lists.math.uh.edu; Tue, 16 Dec 2008 11:25:52 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LCdg4-00037V-JR for ding@lists.math.uh.edu; Tue, 16 Dec 2008 11:25:52 -0600 Original-Received: from ip114.208-100-47.static.steadfast.net ([208.100.47.114] helo=mail.blockstar.com) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LCdgH-0005Rb-00 for ; Tue, 16 Dec 2008 18:26:01 +0100 Original-Received: from tzlatanov-ubuntu-desktop.jumptrading.com (unknown [38.98.147.130]) by mail.blockstar.com (Postfix) with ESMTP id C8963A6860A; Tue, 16 Dec 2008 11:25:48 -0600 (CST) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" X-Hashcash: 1:20:081216:ding@gnus.org::EaEdG9Knky/uv8rs:00000dCp X-Hashcash: 1:20:081216:jidanni@jidanni.org::XL27I+27JQv3gTEo:0000000000000000000000000000000000000000009404 In-Reply-To: <87d4fu5d48.fsf@jidanni.org> (jidanni@jidanni.org's message of "Mon, 15 Dec 2008 11:30:31 +0800") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) X-Spam-Score: -2.3 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67926 Archived-At: On Mon, 15 Dec 2008 11:30:31 +0800 jidanni@jidanni.org wrote:=20 j> It turns out that often, one's nnrss-server-data has accrued several j> junk groups that do not have exact matches in nnrss-group-alist. j> This will cause nnrss-generate-download-script to fail mid-sentence j> upon stumbling upon one. j> It should be more cautious, and skip over such items. Agreed, + a warning. j> Better yet, there should be a way for the user to clean out such j> zombies the proper way (instead of doing surgery on whatever deep j> dark files store them behind gnus' back.) nnrss, when loading, could find such problems and offer to eliminate them. Is that a good solution? I'd rather not introduce a special new command only 2 people will ever use. Ted j> Proof: j> (let ((nnrss-group-alist '( j> ("DreamHost Discussion Board POSTS" "http://discussion.dreamhost.com/fe= eds/all_posts.rss" "EVERY post on the DreamHost Discussion Board!") j> ("DreamHost Discussion Board" "http://discussion.dreamhost.com/feeds/al= l_threads.rss" "All threads on the DreamHost Discussion Board!") j> ("=E8=A8=82=E9=96=B1=E8=8B=A6=E5=8B=9E =E6=80=A7=E5=88=A5 =E7=9A=84=E6= =96=87=E7=AB=A0" "http://www.coolloud.org.tw/tag/%E6%80%A7%E5%88%A5/feed" "= =E6=AC=A1=E9=A0=81=E9=9D=A2=E7=9A=84list - tag") j> ("DebCentral" "http://debcentral.org/backend.php" "The Center for all t= hings Debian based"))) j> (nnrss-server-data=20 j> '( j> ("=E8=A8=82=E9=96=B1=E8=8B=A6=E5=8B=9E =E6=80=A7=E5=88=A5 =E7=9A=84=E6= =96=87=E7=AB=A0" 116) j> ("DreamHost Discussion Board POSTS" 726) j> ("DreamHostDiscussion Board POSTS" 100) ;no corresponding entry. BOOM. j> ("DreamHost Discussion Board" 50) j> ("DebCentral" 25)))) j> (nnrss-generate-download-script)) ^X^E j> #!/bin/sh j> WGET=3Dwget j> RSSDIR=3D'/home/jidanni/News/rss/' j> $WGET -q -O "$RSSDIR"/'=E8=A8=82=E9=96=B1=E8=8B=A6=E5=8B=9E =E6=80=A7=E5= =88=A5 =E7=9A=84=E6=96=87=E7=AB=A0.xml' 'http://www.coolloud.org.tw/tag/%E6= %80%A7%E5%88%A5/feed' j> $WGET -q -O "$RSSDIR"/'DreamHost Discussion Board POSTS.xml' 'http://dis= cussion.dreamhost.com/feeds/all_posts.rss' j> $WGET -q -O "$RSSDIR"/'DreamHostDiscussion Board POSTS.xml' ' --=20