From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38115 Path: main.gmane.org!not-for-mail From: "David Z. Maze" Newsgroups: gmane.emacs.gnus.general Subject: Re: More fun with nnweb Date: Mon, 20 Aug 2001 09:47:40 -0400 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035173746 19116 80.91.224.250 (21 Oct 2002 04:15:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:15:46 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 6907 invoked from network); 20 Aug 2001 13:47:42 -0000 Original-Received: from fort-point-station.mit.edu (18.72.0.53) by gnus.org with SMTP; 20 Aug 2001 13:47:42 -0000 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.21.75]) by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id JAA25157 for ; Mon, 20 Aug 2001 09:47:41 -0400 (EDT) Original-Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by central-city-carrier-station.mit.edu (8.9.2/8.9.2) with ESMTP id JAA17187; Mon, 20 Aug 2001 09:47:41 -0400 (EDT) Original-Received: from pickled-herring.mit.edu (PICKLED-HERRING.MIT.EDU [18.187.1.250]) by melbourne-city-street.mit.edu (8.9.2/8.9.2) with ESMTP id JAA08360; Mon, 20 Aug 2001 09:47:40 -0400 (EDT) Original-To: ding@gnus.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 19 Aug 2001 22:58:05 +0200") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.1 (Arches) X-Attribution: DZM Original-Lines: 36 Xref: main.gmane.org gmane.emacs.gnus.general:38115 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38115 Lars Magne Ingebrigtsen writes: LMI> "David Z. Maze" writes: DZM> The other problem is if I try to create a persistent group (C-u G w DZM> ...). This works fine, but each time I check for new articles ('g') DZM> it returns duplicates of every article. (That is, the first time, I DZM> have 19 articles, the second, 19 new out of 38, the third, 19 out of DZM> 57, etc.) LMI> LMI> Ah, yes, I've seen that before, but I thought I had fixed that. The LMI> problem was that nnweb wasn't able to create a consistent mapping LMI> between articles and Gnus article numbers. Do the debbugs provide LMI> something that identifies the articles uniquely? The bug number is unique, and I should correctly parse it out of the initial list-of-bugs page. This seems suggest that I would want to use it instead of (cdr active) as the number parameter to make-full-mail-header, yes? Is there better documentation than C-h f for this function and how it's relevant to things? (It looks like the way I do things now is to parse out the URL and bug name from the list-of-bugs page, and then, if the URL isn't already in nnweb-hashtb, I do (push (list (incf (cdr active)) (make-full-mail-header (cdr active) subject from nil nil nil 0 0 url)) map) This looks like it should guarantee that each "article" has a unique number, but if the same thing is encountered more than once with different URLs, it winds up in the list multiple times.) -- David Maze dmaze@mit.edu http://www.mit.edu/~dmaze/ "Theoretical politics is interesting. Politicking should be illegal." -- Abra Mitchell