From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67287 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus and imap Date: Mon, 25 Aug 2008 01:39:03 +0200 Message-ID: <87d4jydluw.fsf@randomsample.de> 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> <87y72mus85.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219621217 22324 80.91.229.12 (24 Aug 2008 23:40:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Aug 2008 23:40:17 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15738@lists.math.uh.edu Mon Aug 25 01:41:10 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 1KXPCm-0005cc-PZ for ding-account@gmane.org; Mon, 25 Aug 2008 01:41:09 +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 1KXPAy-00067u-RB; Sun, 24 Aug 2008 18:39:16 -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 1KXPAw-00067d-5g for ding@lists.math.uh.edu; Sun, 24 Aug 2008 18:39:14 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KXPAs-00073W-Ub for ding@lists.math.uh.edu; Sun, 24 Aug 2008 18:39:14 -0500 Original-Received: from m61s02.vlinux.de ([83.151.21.164]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KXPAu-00054q-00 for ; Mon, 25 Aug 2008 01:39:12 +0200 Original-Received: from dslb-082-083-032-075.pools.arcor-ip.net ([82.83.32.75] helo=honk) by m61s02.vlinux.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KXPBG-00054v-Ml for ding@gnus.org; Mon, 25 Aug 2008 01:39:35 +0200 Mail-Copies-To: never Mail-Followup-To: ding@gnus.org In-Reply-To: <87y72mus85.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Sun, 24 Aug 2008 21:29:30 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2.90 (gnu/linux) X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67287 Archived-At: Reiner Steib writes: > In my nnimap usage, I don't see wrong article counts. There's also > code introduced in Oort that's supposed to give correct unread counts: [...] > BTW, the functions is > `gnus-fixup-nnimap-unread-after-getting-new-news' not > `nnimap-fixup-unread-after-getting-new-news': Yes. This does indeed solve most problems, but not all. I guess the main problem is that nnimap-update-unseen, on which the above fixup function depends, is only called upon closing a group. I remember that I still had situations where I got wrong unread article counts, but I can't currently reproduce this with dovecot. I still wonder why there are so many problems with the Zimbra imapd server. It must have to do with how Zimbra generate UIDs for the articles. Dovecot and most other imap servers at least try to keep them contiguous. Anyway, the fixup function only deals with unread articles, but I think we should also fix the problem of the total article count. Many people (including me) have the problem with Gnus thinking that a group contains much more articles than there actually are. This can currently only be solved by respooling. >> http://thread.gmane.org/gmane.emacs.gnus.general/56714 > > We have papers on file for David Hanak. So if his code is useful, we > could use it. I wouldn't use it in the current form, but I think we should follow the general idea, i.e. using gnus-request-group-articles (which is already there). -David