From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69278 Path: news.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus and imap Date: Thu, 10 Dec 2009 15:08:51 -0500 Message-ID: <87my1qiobw.fsf@uwo.ca> 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> <87y72mn2sy.fsf@randomsample.de> <87r67d3jp9.fsf@randomsample.de> <87ws0yipcv.fsf@uwo.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260475827 16394 80.91.229.12 (10 Dec 2009 20:10:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Dec 2009 20:10:27 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M17683@lists.math.uh.edu Thu Dec 10 21:10:19 2009 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 1NIpL9-0001Sm-BM for ding-account@gmane.org; Thu, 10 Dec 2009 21:10:19 +0100 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 1NIpKH-0000tv-8O; Thu, 10 Dec 2009 14:09:25 -0600 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 1NIpKE-0000ti-Fs for ding@lists.math.uh.edu; Thu, 10 Dec 2009 14:09:22 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1NIpKC-0003ax-BN for ding@lists.math.uh.edu; Thu, 10 Dec 2009 14:09:21 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1NIpKB-00089S-00 for ; Thu, 10 Dec 2009 21:09:19 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NIpKA-00016l-CA for ding@gnus.org; Thu, 10 Dec 2009 21:09:18 +0100 Original-Received: from bas3-london14-1096779653.dsl.bell.ca ([65.95.135.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Dec 2009 21:09:18 +0100 Original-Received: from jdc by bas3-london14-1096779653.dsl.bell.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Dec 2009 21:09:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: bas3-london14-1096779653.dsl.bell.ca User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:IlJd8Qk7TOrEBWQCRuqdcoTjzP8= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69278 Archived-At: Dan Christensen writes: > I'm wondering if Vitaly or David have made any progress on the imap > unread count. I'm using dovecot, and I regularly get wrong unread > counts in my nnimap groups, even with > gnus-fixup-nnimap-unread-after-getting-new-news in > gnus-after-getting-new-news-hook. > > I think David's idea of adding an optional backend function which > returns more detailed information is the way to go. The core of Gnus > can check for this function and use it if it exists, falling back to the > old way if not. This allows for a gradual transition without needing > massive changes all at once. I found another thread with promising code for the nnml backend, written by David Hanak. It seemed like only minor details needed to be worked out: http://thread.gmane.org/gmane.emacs.gnus.general/56714 The thread I was referring to above discussed code written by Vitaly Mayatskikh and included comments by a different David, David Engster: http://thread.gmane.org/gmane.emacs.gnus.general/67238 Both seem like they were within reach of a solution to this problem that has plagued Gnus for a long time! Maybe we can reach a consensus about the best way to proceed, and finally get it done? Dan PS: There are also two solutions posted at http://www.emacswiki.org/emacs/GnusNiftyTricks