From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45399 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: agent/imap offline reading Date: Wed, 26 Jun 2002 10:55:15 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1025081756 24273 127.0.0.1 (26 Jun 2002 08:55:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 26 Jun 2002 08:55:56 +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.33 #1 (Debian)) id 17N8ah-0006JO-00 for ; Wed, 26 Jun 2002 10:55:55 +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 17N8aS-0005YM-00; Wed, 26 Jun 2002 03:55:40 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 26 Jun 2002 03:56:01 -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 DAA24621 for ; Wed, 26 Jun 2002 03:55:49 -0500 (CDT) Original-Received: (qmail 7676 invoked by alias); 26 Jun 2002 08:55:24 -0000 Original-Received: (qmail 7661 invoked from network); 26 Jun 2002 08:55:23 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 26 Jun 2002 08:55:23 -0000 Original-Received: from latte (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.4/8.12.4) with ESMTP id g5Q8tDlf016587; Wed, 26 Jun 2002 10:55:14 +0200 Original-To: Danny Siu Mail-Copies-To: nobody X-Hashcash: 020626:dsiu@adobe.com:4b00c88e0e781d5f X-Hashcash: 020626:ding@gnus.org:3299b7d56db79fd5 In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Wed, 26 Jun 2002 10:48:43 +0200") Original-Lines: 24 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45399 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45399 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: > Simon Josefsson writes: > >> The agent currently has some hard coded default to not download >> already read articles. I wrote a patch long time ago (posted here) >> that added a `read' Agent predicate to fix this, but that isn't >> backwards compatible and means everyone has to change agent >> predicates, which isn't good, so I'm not sure if it can be added. > > Can it be made backwards-compatible? Can't you make it so that by > default, read articles are not downloaded, like now? Then people can > frob their agent predicates to also download read articles. The default value is stored in the agent predicate file, so if we change the default the old default will still be in people's agent predicate file. So people with old agent predicate files that upgrade to new gnus will start to download read articles. The upgrade procedure could contain a step that wraps all old predicates in a (and read ,@OLD) but it isn't nice to do that without telling the user. And what if the user later downgrades? I'm not sure what Gnus does given an unknown predicate. But I guess it isn't impossible to fix.