From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/26380 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: counting of unread articles in IMAP Date: 08 Nov 1999 10:14:01 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035163600 19103 80.91.224.250 (21 Oct 2002 01:26:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:26:40 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id EAA00803 for ; Mon, 8 Nov 1999 04:14:42 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id DAB28740; Mon, 8 Nov 1999 03:14:38 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 08 Nov 1999 03:14:55 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id DAA05010 for ; Mon, 8 Nov 1999 03:14:41 -0600 (CST) Original-Received: from badis.pdc.kth.se (root@badis.pdc.kth.se [130.237.221.45]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id EAA00798 for ; Mon, 8 Nov 1999 04:14:09 -0500 (EST) Original-Received: (from jas@localhost) by badis.pdc.kth.se (8.9.3/8.9.3) id KAA05176; Mon, 8 Nov 1999 10:14:02 +0100 Original-To: Denys Duchier In-Reply-To: Denys Duchier's message of "08 Nov 1999 04:01:21 +0100" Original-Lines: 18 User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) Emacs/20.4.90 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:26380 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:26380 Denys Duchier writes: > My IMAP folders often indicate an incorrect number of unread articles > (in the Group buffer), e.g. it will say 8 when there are in fact 5 > unread messages. Simply visiting the corresponding folder seems to > resynchronize the counter, which suggests that the correct number is > available. Is there a good reason why I am at first presented with > guess work rather than fact? I.e. isn't there a way to ask the IMAP > server for the number of unread messages (I understand the limitations > of NNTP, but isn't IMAP supposed to be way cooler?). Yes, but Gnus uses a protocol similar to NNTP to talk to the backends, so there is no way to tell Gnus about that number (w/o changing the backend interface in Gnus), it can only report low/high article number and Gnus make a educated guess about the number of unread articles. Hopefully this will change once the more important nnimap bugs has been solved.