From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47363 Path: main.gmane.org!not-for-mail From: Henrik Enberg Newsgroups: gmane.emacs.gnus.general Subject: Re: Agent gone mad? Date: Tue, 22 Oct 2002 21:10:51 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <87k7kanvb8.fsf@enberg.org> References: <874rbicfno.fsf@enberg.org> <847kgcrj6z.fsf@crybaby.cs.uni-dortmund.de> <878z0slk92.fsf@enberg.org> <84bs5os371.fsf@crybaby.cs.uni-dortmund.de> <87u1jfadtb.fsf@enberg.org> <84r8ej7gij.fsf@crybaby.cs.uni-dortmund.de> <87elaj7fko.fsf@enberg.org> <84znt7vx85.fsf@crybaby.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035314282 8794 80.91.224.249 (22 Oct 2002 19:18:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 22 Oct 2002 19:18:02 +0000 (UTC) Cc: ding@gnus.org Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1844XQ-0002H8-00 for ; Tue, 22 Oct 2002 21:18:00 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1844VZ-0004HE-00; Tue, 22 Oct 2002 14:16:05 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 22 Oct 2002 14:16:50 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id OAA22245 for ; Tue, 22 Oct 2002 14:16:31 -0500 (CDT) Original-Received: (qmail 28813 invoked by alias); 22 Oct 2002 19:15:39 -0000 Original-Received: (qmail 28807 invoked from network); 22 Oct 2002 19:15:39 -0000 Original-Received: from mailf.telia.com (194.22.194.25) by gnus.org with SMTP; 22 Oct 2002 19:15:39 -0000 Original-Received: from d1o1112.telia.com (d1o1112.telia.com [213.67.192.241]) by mailf.telia.com (8.12.5/8.12.5) with ESMTP id g9MJFTNS026982; Tue, 22 Oct 2002 21:15:30 +0200 (CEST) X-Original-Recipient: ding@gnus.org Original-Received: from rocksteady (h222n2fls32o1112.telia.com [213.65.65.222]) by d1o1112.telia.com (8.10.2/8.10.1) with ESMTP id g9MJFTg22445; Tue, 22 Oct 2002 21:15:29 +0200 (CEST) Original-Received: by rocksteady (Postfix, from userid 1000) id 2234937B72; Tue, 22 Oct 2002 21:13:52 +0200 (CEST) Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) In-Reply-To: <84znt7vx85.fsf@crybaby.cs.uni-dortmund.de> (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Tue, 22 Oct 2002 07:50:02 +0200") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47363 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47363 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > Henrik Enberg writes: > >> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: >> >>> (when (<=3D low high) >>> (setq articles (gnus-list-range-intersection >>> articles (list (cons low high))))))) >>> >> Whee, it works when I remove that condition. Both with >> `gnus-agent-consider-all-articles' set to nil and t. `low' is indeed >> higher than `high' for my groups.=20 > > Fascinating. What are those values, more precisely?=20=20 Running the below function to mimic the behaviour in the above code, I always get "high" as 1 less than "low", so the when clause will never be executed. (defun high/low () (interactive) (let ((low (1+ (caar (last gnus-agent-article-alist)))) (high (cdr (gnus-active gnus-newsgroup-name)))) (message "high =3D %s, low =3D %s" high low))) > I found that (gnus-list-range-intersection '(1 2 3 4 5) '((5 . 4))) > evals to nil, for instance. So when low > high, no articles were > downloaded in my case. What happens when you eval that expression? > If you get non-nil, then something is fishy in Gnus. I also get nil when I eval that. --=20 Booting... /vmemacs.el