From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29625 Path: main.gmane.org!not-for-mail From: Sean Doran Newsgroups: gmane.emacs.gnus.general Subject: source of error in nnslashdot.el found Date: Sat, 25 Mar 2000 17:25:38 +0100 (CET) Sender: owner-ding@hpc.uh.edu Message-ID: <200003251625.RAA04895@sean.ebone.net> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035166266 3792 80.91.224.250 (21 Oct 2002 02:11:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:11:06 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 698E6D051E for ; Sat, 25 Mar 2000 11:26:52 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAB15133; Sat, 25 Mar 2000 10:26:41 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 25 Mar 2000 10:25:37 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id KAA06835 for ; Sat, 25 Mar 2000 10:25:27 -0600 (CST) Original-Received: from sean.ebone.net (sean.ebone.net [195.158.227.211]) by mailhost.sclp.com (Postfix) with ESMTP id 2B226D051E for ; Sat, 25 Mar 2000 11:25:39 -0500 (EST) Original-Received: (from smd@localhost) by sean.ebone.net (8.9.3/8.9.3) id RAA04895 for ding@gnus.org; Sat, 25 Mar 2000 17:25:38 +0100 (CET) Original-To: ding@gnus.org Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29625 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29625 Someone who can make commits on gnus might want to fix this: Here is " *temp*": Hubble Delivers Indications Of Black Holes http://slashdot.org/article.pl?sid=00/03/25/0111237 timothy if-you-think-your-/job/-sucks space 32
topicspace.gif This code in nnslashdot.el:nnslashdot-request-list (around line 377 in pgnus-0.99's nnslashdot.el) fails, because there is no match. (re-search-forward "\\([^<]+\\)") (setq sid (match-string 1)) (string-match "/\\([0-9/]+\\).shtml" sid) (setq sid (match-string 1 sid)) Backtrace: Signaling: (args-out-of-range "http://slashdot.org/article.pl?sid=00/03/25/0111237" 167 218) match-string(1 "http://slashdot.org/article.pl?sid=00/03/25/0111237") (setq sid (match-string 1 sid)) (while (search-forward "" nil t) (narrow-to-region (point) (search-forward "")) (goto-char (point-min)) (re-search-forward "\\([^<]+\\)") (setq description (match-string 1)) (re-search-forward "\\([^<]+\\)") (setq sid (match-string 1)) (string-match "/\\([0-9/]+\\).shtml" sid) (setq sid (match-string 1 sid)) (re-search-forward "\\([^<]+\\)") (setq articles (string-to-number ...)) (setq gname (concat description " (" sid ")")) (if (setq elem ...) (setcar ... articles) (push ... nnslashdot-groups)) (goto-char (point-max)) (widen)) Suggested hack: make the .shtml ending optional. (i.e., \\(.shtml\\)?) This works for me. Sean.