From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47295 Path: main.gmane.org!not-for-mail From: Barry Fishman Newsgroups: gmane.emacs.gnus.general Subject: Re: Please test: agent downloading of all articles Date: Sat, 19 Oct 2002 14:34:39 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: <84k7kfddkh.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: 8bit X-Trace: main.gmane.org 1035054257 2693 80.91.224.249 (19 Oct 2002 19:04:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 19 Oct 2002 19:04:17 +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 182ytR-0000h0-00 for ; Sat, 19 Oct 2002 21:04:13 +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 182ysK-0008MK-00; Sat, 19 Oct 2002 14:03:04 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 19 Oct 2002 14:03:47 -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 OAA13281 for ; Sat, 19 Oct 2002 14:03:35 -0500 (CDT) Original-Received: (qmail 11270 invoked by alias); 19 Oct 2002 19:02:34 -0000 Original-Received: (qmail 11265 invoked from network); 19 Oct 2002 19:02:34 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 19 Oct 2002 19:02:34 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 182zjy-0005C4-00 for ; Sat, 19 Oct 2002 21:58:30 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 25 Original-NNTP-Posting-Host: 214.tampa-25-30rs16rt.fl.dial-access.att.net Original-X-Trace: quimby.gnus.org 1035057510 19729 12.77.179.214 (19 Oct 2002 19:58:30 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 19 Oct 2002 19:58:30 GMT X-Face: ,b"GM7)/AGw6p$#|B#Rk'k,tEyoUap#?/bbfxLu<.uA(VNR9mfm&hF~hX6C24G=\|>E>y[5 FSZx)~.YQn,Je23!f:'_)Jo{#1>atqPQJC I've committed something that is supposed to allow downloading of all > articles, if the variable gnus-agent-consider-all-articles is set > appropriately. > > I think it does not work, though :-( Would it not be better to take a more circumspect approach. If I am reading the code right, presently, the default predicate is to only consider short articles. One could do something like: (defun gnus-category-read () "Read the category alist." (setq gnus-category-alist (or (gnus-agent-read-file (nnheader-concat gnus-agent-directory "lib/categories")) (list (list 'default (if gnus-agent-default-all-articles 'true 'short) nil nil))))) So that only the case where there isn't any categories file is effected. Once people set up their own categories, they presumably know what they are doing and another global flag will cause more problems than it helps.