From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47381 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-agent typo? Date: Wed, 23 Oct 2002 17:40:44 +0200 Organization: University of Dortmund, Germany Sender: owner-ding@hpc.uh.edu Message-ID: <84of9l6u4j.fsf@crybaby.uni-duisburg.de> References: <84n0pbipvq.fsf@crybaby.cs.uni-dortmund.de> <84hefe3m48.fsf@crybaby.cs.uni-dortmund.de> <84of9l7f3h.fsf@crybaby.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035387819 28205 80.91.224.249 (23 Oct 2002 15:43:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 15:43:39 +0000 (UTC) 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 184NfR-0007KG-00 for ; Wed, 23 Oct 2002 17:43:34 +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 184NdH-0000KH-00; Wed, 23 Oct 2002 10:41:19 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 23 Oct 2002 10:42:04 -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 KAA24398 for ; Wed, 23 Oct 2002 10:41:48 -0500 (CDT) Original-Received: (qmail 24454 invoked by alias); 23 Oct 2002 15:40:50 -0000 Original-Received: (qmail 24445 invoked from network); 23 Oct 2002 15:40:48 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 23 Oct 2002 15:40:48 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 184NdV-00020j-00 for ; Wed, 23 Oct 2002 17:41:33 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 36 Original-NNTP-Posting-Host: crybaby.uni-duisburg.de Original-X-Trace: quimby.gnus.org 1035387693 6049 134.91.30.116 (23 Oct 2002 15:41:33 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 23 Oct 2002 15:41:33 GMT User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:tc+o1VaeoAXI2mxFP3xE4iPquNI= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47381 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47381 prj@po.cwru.edu (Paul Jarc) writes: > You guessed that the original logic was buggy, and I guess the same, > because it seems odd to treat seen and recent articles similarly. > (Could someone who knows what that code is really supposed to do > comment here?) We would expect *un*seen and recent articles to be > treated similarly, since they're semantically similar - but since > they're implemented differently (recent is a normal mark; unseen is > the lack of the seen mark), the code should look different than it > does now. So to fix the apparent bug, but otherwise produce the same > range, we should take the initial list of article and add (seen - > recent). (This is different from ((initial + seen) - recent).) The original code is supposed to add ticked and dormant messages, I think. And messages with other marks. Except for the unseen and the recent mark. I think adding (seen - recent) does not achieve the objective of abstaining from adding unseen articles. What the code does is to go through the list of ticked articles and add them. Then it goes through the list of dormant articles and adds them. But it should not go through the list of unseen articles and add them. So it should also not go through the list of seen articles and remove them. See? The original logic was correct after all, even if it is counter-intuitive. kai -- ~/.signature is: umop ap!sdn (Frank Nobis)