From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67288 Path: news.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus and imap Date: Mon, 25 Aug 2008 10:00:50 +1000 Organization: I know I put it down here, somewhere. Message-ID: <8763pq6k0d.fsf@rimspace.net> References: <877iabwtjx.fsf@randomsample.de> <87abf51c4m.fsf@marauder.physik.uni-ulm.de> <874p5dm35l.fsf@randomsample.de> <87iqttq7ja.fsf@randomsample.de> <87d4k0t7ga.fsf@randomsample.de> <87myj3wzp7.fsf@randomsample.de> <878wumqo7z.fsf@randomsample.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219627121 6563 80.91.229.12 (25 Aug 2008 01:18:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2008 01:18:41 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15739@lists.math.uh.edu Mon Aug 25 03:19:34 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KXQk1-0006Ed-Er for ding-account@gmane.org; Mon, 25 Aug 2008 03:19:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KXQiW-0006Ze-GF; Sun, 24 Aug 2008 20:18:00 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KXPW5-0006Fz-Ug for ding@lists.math.uh.edu; Sun, 24 Aug 2008 19:01:05 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KXPW2-00076t-O8 for ding@lists.math.uh.edu; Sun, 24 Aug 2008 19:01:05 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KXPW4-0005fZ-00 for ; Mon, 25 Aug 2008 02:01:04 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KXPW2-0000G9-4F for ding@gnus.org; Mon, 25 Aug 2008 00:01:02 +0000 Original-Received: from ppp59-167-189-244.static.internode.on.net ([59.167.189.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Aug 2008 00:01:02 +0000 Original-Received: from daniel by ppp59-167-189-244.static.internode.on.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Aug 2008 00:01:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-Distribution: bofh Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp59-167-189-244.static.internode.on.net User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:W6UCzjGifoUkAHjaA7knItU7y9s= X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67288 Archived-At: David Engster writes: > Vitaly Mayatskikh writes: >>> Absolutely. The problem is that active information is used throughout >>> Gnus, and the code is in parts already pretty convoluted, especially the >>> ones dealing with updating groups and checking for unread messages. I >>> guess that putting unread information in gnus-info would affect fewer >>> parts of the code. >> >> Yes, but we still have to fix all this convoluted code (for >> gnus-unread-info or whatever). Unread articles calculations (count of >> articles, list of articles) are totally wrong for the case of IMAP. > > I wonder why it's that bad with the Zimbra imapd. Doesn't it produce > contiguous UIDs? No, it doesn't. They increment, I strongly suspect, on a partially time based counter, or possibly an account-wide number of deliveries based counter, since one email in a group overnight gets around the same total UID increment as the Linux kernel list in the same period, with some hundred. I have not yet taken the time to see if they available source code explains why this is, or if it can be fixed, but the UID space is *definitely* non-contiguous in Zimbra. (Which, yes, does rather suck.) Regards, Daniel