From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/15591 Path: main.gmane.org!not-for-mail From: Mike McEwan Newsgroups: gmane.emacs.gnus.general Subject: [patch] `undownloaded' marks not displayed for `old' headers Date: 13 Jul 1998 20:04:23 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035154596 22943 80.91.224.250 (20 Oct 2002 22:56:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:56:36 +0000 (UTC) Return-Path: Original-Received: from gwyn.tux.org (gwyn.tux.org [207.96.122.8]) by altair.xemacs.org (8.9.1/8.9.1) with ESMTP id MAA17166 for ; Mon, 13 Jul 1998 12:17:21 -0700 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by gwyn.tux.org (8.8.8/8.8.8) with ESMTP id PAA29873 for ; Mon, 13 Jul 1998 15:14:15 -0400 Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id NAT21150; Mon, 13 Jul 1998 13:47:40 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 13 Jul 1998 14:10:24 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id OAA16511 for ; Mon, 13 Jul 1998 14:09:58 -0500 (CDT) Original-Received: from post.mail.demon.net (post-11.mail.demon.net [194.217.242.40]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id PAA06447 for ; Mon, 13 Jul 1998 15:09:49 -0400 (EDT) Original-Received: from (lotusland.demon.co.uk) [158.152.62.156] by post.mail.demon.net with smtp (Exim 1.82 #2) id 0yvnys-0002Xe-00; Mon, 13 Jul 1998 19:09:46 +0000 Original-Received: from mike by lotusland.demon.co.uk with local (Exim 2.00 #1) for ding@gnus.org id 0yvnyr-0000xj-00; Mon, 13 Jul 1998 20:09:45 +0100 Original-To: ding@gnus.org X-Mailer: Gnus v5.6.24/XEmacs 20.4 - "Emerald" Original-Lines: 42 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:15591 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:15591 A little annoyance I noticed. When selecting a group covered by the Agent and limiting the number of articles to something less than that available, the `gnus-undownloaded-mark' ?\@ is not displayed for `old' headers fetched because of `gnus-fetch-old-headers' being `t'. The patch below fixes this for me: --- ChangeLog.orig Sat Jul 11 02:05:48 1998 +++ ChangeLog Mon Jul 13 19:39:48 1998 @@ -1,3 +1,8 @@ +1998-07-13 Mike McEwan + + * gnus-sum.el (gnus-select-newsgroup): Don't call the Agent to + mark articles as read until *all* headers have been retrieved. + Sat Jul 11 03:03:53 1998 Lars Magne Ingebrigtsen * gnus.el: Gnus v5.6.24 is released. --- gnus-sum.el.orig Sat Jul 11 02:05:50 1998 +++ gnus-sum.el Mon Jul 13 19:22:38 1998 @@ -3915,15 +3915,15 @@ ;; Removed marked articles that do not exist. (gnus-update-missing-marks (gnus-sorted-complement fetched-articles articles)) - ;; Let the Gnus agent mark articles as read. - (when gnus-agent - (gnus-agent-get-undownloaded-list)) ;; We might want to build some more threads first. (when (and gnus-fetch-old-headers (eq gnus-headers-retrieved-by 'nov)) (if (eq gnus-fetch-old-headers 'invisible) (gnus-build-all-threads) (gnus-build-old-threads))) + ;; Let the Gnus agent mark articles as read. + (when gnus-agent + (gnus-agent-get-undownloaded-list)) ;; Check whether auto-expire is to be done in this group. (setq gnus-newsgroup-auto-expire (gnus-group-auto-expirable-p group)) -- Mike.