From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71002 Path: news.gmane.org!not-for-mail From: Knut Anders Hatlen Newsgroups: gmane.emacs.gnus.general Subject: Re: Releasing the new nnimap on y'all soon Date: Sat, 18 Sep 2010 20:55:21 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284836167 3790 80.91.229.12 (18 Sep 2010 18:56:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2010 18:56:07 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19375@lists.math.uh.edu Sat Sep 18 20:56:05 2010 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.69) (envelope-from ) id 1Ox2Zt-0008SQ-N0 for ding-account@gmane.org; Sat, 18 Sep 2010 20:56:02 +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 1Ox2ZV-00027T-K4; Sat, 18 Sep 2010 13:55:37 -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 1Ox2ZT-00027D-Lh for ding@lists.math.uh.edu; Sat, 18 Sep 2010 13:55:35 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Ox2ZP-0007LZ-Ac for ding@lists.math.uh.edu; Sat, 18 Sep 2010 13:55:35 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Ox2ZO-0005c8-00 for ; Sat, 18 Sep 2010 20:55:30 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ox2ZN-0008Go-S0 for ding@gnus.org; Sat, 18 Sep 2010 20:55:29 +0200 Original-Received: from gw2.mysql.com ([213.136.52.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Sep 2010 20:55:29 +0200 Original-Received: from kahatlen by gw2.mysql.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Sep 2010 20:55:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 50 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: gw2.mysql.com User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (usg-unix-v) Cancel-Lock: sha1:uxIqldBCCXExOkaNKqxjHgmEOsE= X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71002 Archived-At: Lars Magne Ingebrigtsen writes: > Lars Magne Ingebrigtsen writes: > >> I think I may have an inkling of an idea what may be causing this -- it >> might be the range calculations done when just updating the last 100 >> flags on subsequent updates. I'll try to reproduce the bug. > > Yup; there was an off-by-one error in that code. It now works for me in > my test case. Could you test your? The unread count in the group buffer looks correct now, but pressing "g" multiple times still messes up ticks and other flags. Take my GMail inbox. At first it is shown fine, with G E displaying: ("nnimap+gmail:INBOX" 5 ((1 . 4678) (4681 . 4682)) ((seen 3017 3078 3470 3982 3994 4009 4023 4076 4283 4290 4295 4503 4539 4560 4587 4591 4596 4618 4643 4652 (4660 . 4682)) (reply 4681) (tick 4503 4560 4682)) "nnimap:gmail" ((imap-status . "4679 3017 4678") (uidvalidity . "2"))) One replied mail and three ticked is correct. Then I press "g" twice, and I get the following: ("nnimap+gmail:INBOX" 5 ((1 . 4678) (4681 . 4682)) ((reply (4582 . 4680) 4682 4681) (tick 4582 . 4682) (active 3017 . 4682) (seen 3017 3078 3470 3982 3994 4009 4023 4076 4283 4290 4295 4503 4539 4560 4587 4591 4596 4618 4643 4652 (4660 . 4682))) "nnimap:gmail" ((imap-status . "4679 3017 4678") (uidvalidity . "2"))) When I enter the inbox, I see all the mails marked as replied, and also all except the two unread ones are ticked. -- Knut Anders