From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/16243 Path: main.gmane.org!not-for-mail From: Mike McEwan Newsgroups: gmane.emacs.gnus.general Subject: Re: Suggestion: *Group* SPC to show only new articles? Date: 24 Aug 1998 15:38:28 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: 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 1035155143 26572 80.91.224.250 (20 Oct 2002 23:05:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:05:43 +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 HAA07786 for ; Mon, 24 Aug 1998 07:57:18 -0700 Original-Received: from sina.hpc.uh.edu (Sina.HPC.UH.EDU [129.7.3.5]) by gwyn.tux.org (8.8.8/8.8.8) with ESMTP id KAA18232 for ; Mon, 24 Aug 1998 10:46:31 -0400 Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id JAK19342; Mon, 24 Aug 1998 09:45:52 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 24 Aug 1998 09:42:33 -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 JAA19329 for ; Mon, 24 Aug 1998 09:42:22 -0500 (CDT) Original-Received: from post.mail.demon.net (post-20.mail.demon.net [194.217.242.27]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA09992 for ; Mon, 24 Aug 1998 10:42:13 -0400 (EDT) Original-Received: from [158.152.62.156] (helo=lotusland.demon.co.uk) by post.mail.demon.net with smtp (Exim 2.02 #1) id 0zAxov-00070o-00 for ding@gnus.org; Mon, 24 Aug 1998 14:42:10 +0000 Original-Received: from mike by lotusland.demon.co.uk with local (Exim 2.02 #1) id 0zAxou-0006nc-00 for ding@gnus.org; Mon, 24 Aug 1998 15:42:08 +0100 Original-To: ding@gnus.org In-Reply-To: (Jari Aalto+list.ding)'s message of "24 Aug 1998 13:10:17 +0300" X-Mailer: Gnus v5.6.39/XEmacs 20.4 - "Emerald" Original-Lines: 43 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:16243 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:16243 (Jari Aalto+list.ding) writes: > Gnus must know which articles are new, so building summary based on > them only should be trivial. And when combined with > > (gnus-fetch-old-headers nil) > > that'd be the fast access to new articles. > What gnus functions variables is needed here? Well, maybe you didn't see my followup mailing to yours in an earlier thread "Marking new unread articles differently?", or maybe you did, but didn't like what you saw :-). Gnus does *not* know which headers/articles are `new' (here I am taking `new' to mean headers/articles that have arrived since the last time a given group was selected). It only knows which articles are `unread'. This may suffice for folks that mark everything as `read' each time they select a group, but this is not the case with me, particularly where large groups are concerned. In order to ascertain what is genuinely `new' since a group was last selected, you have to have some mechanism of knowing what the last header/article retrieved for a group was. `new' headers/articles *only* can then be selected via use of the SELECT-ARTICLES argument to `gnus-group-read-group'. Just selecting a number of `new' headers/articles does not always do it where real newsgroups are concerned as some articles may have been cancelled and you get `old' non-new articles in their place. I'm still tweaking with the patch I mailed on the above-mentioned thread, but generally everything works just fine. Lars has said he will not consider such new function until we're into the `pgnus' cycle, at which time I'll re-mail what I have to this group. In the meantime I'm using CVS to re-merge my patch with each release of gnus (I like that CVS), there aren't enough hooks to keep the code isolated. If you really did miss my previous mailing, and want, I'll mail my current patch to you. If not, and you don't, I'll understand :-). -- Mike.