From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52818 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: bug in gnus-fixup-nnimap-unread-after-getting-new-news? Date: Sat, 24 May 2003 07:04:16 -0400 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: References: <4nllwxsg1j.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053773924 5950 80.91.224.249 (24 May 2003 10:58:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 May 2003 10:58:44 +0000 (UTC) Original-X-From: ding-owner+M1362@lists.math.uh.edu Sat May 24 12:58:42 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19JWja-0001Xk-00 for ; Sat, 24 May 2003 12:58:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19JWlP-0003MR-00; Sat, 24 May 2003 06:00:35 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19JWlK-0003MM-00 for ding@lists.math.uh.edu; Sat, 24 May 2003 06:00:30 -0500 Original-Received: (qmail 34607 invoked by alias); 24 May 2003 11:00:29 -0000 Original-Received: (qmail 34602 invoked from network); 24 May 2003 11:00:29 -0000 Original-Received: from ns2.beld.net (24.233.95.12) by sclp3.sclp.com with SMTP; 24 May 2003 11:00:29 -0000 Original-Received: by ns2.beld.net (Postfix, from userid 102) id 7F1B03BF23; Sat, 24 May 2003 07:00:29 -0400 (EDT) Original-Received: from heechee.beld.net (dhcp-0-9-5b-4d-5-59.cpe.beld.net [24.233.82.84]) by ns2.beld.net (Postfix) with ESMTP id 8375D3BE7C for ; Sat, 24 May 2003 07:00:28 -0400 (EDT) Original-To: Ding Mailing List X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: Ding Mailing List In-Reply-To: (Simon Josefsson's message of "Sat, 24 May 2003 12:42:19 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52818 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52818 On Sat, 24 May 2003, jas@extundo.com wrote: > Ted Zlatanov writes: > >> When the function gnus-fixup-nnimap-unread-after-getting-new-news >> gets run by the gnus-after-getting-new-news-hook, the unread counts >> are wrong for me. For instance, "spam" (nnml backend) will get the >> same amount of unread messages as "nnimap+mail.lifelogs.com:mail" >> (nnimap backend). Looking at the >> gnus-fixup-nnimap-unread-after-getting-new-news function, it >> appears to me that it uses the mailbox name as known to nnimap >> internally, which would only be correct if the nnimap server was >> the primary server. >> >> Furthermore, the function seems to use nnimap-mailbox-info, which >> is applicable only to the current IMAP server, so probably there >> will be issues with multiple IMAP servers as well. Please let me >> know if I'm mistaken about this, so I can look elsewhere. > > I think you are right. Maybe it is time to implement Kai's > suggestion of a new backend API to support this function properly? I'll help if I can, I don't know the backend APIs that well though. In the meanwhile, should we disable gnus-fixup-nnimap-unread-after-getting-new-news? I'm currently defaliasing it to 'ignore, but others may be seeing the same bug. I have not seen any bad effects from disabling it in my setup. Ted