From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79384 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: Re: agentised gmail gives wrong count in group buffer Date: Wed, 06 Jul 2011 18:05:00 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <871uy3xwxe.fsf@pinto.chemeng.ucl.ac.uk> Reply-To: ding@gnus.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309968314 32599 80.91.229.12 (6 Jul 2011 16:05:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2011 16:05:14 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27680@lists.math.uh.edu Wed Jul 06 18:05:08 2011 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 1QeUb5-0005v3-Hh for ding-account@gmane.org; Wed, 06 Jul 2011 18:05:07 +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 1QeUan-0002wY-R1; Wed, 06 Jul 2011 11:04:49 -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 1QeUam-0002wP-7F for ding@lists.math.uh.edu; Wed, 06 Jul 2011 11:04:48 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QeUab-0004vG-Sq for ding@lists.math.uh.edu; Wed, 06 Jul 2011 11:04:47 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QeUaZ-00007d-0o for ding@gnus.org; Wed, 06 Jul 2011 18:04:35 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QeUaW-0005gw-Hy for ding@gnus.org; Wed, 06 Jul 2011 18:04:32 +0200 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jul 2011 18:04:32 +0200 Original-Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jul 2011 18:04:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 52 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 Mail-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:7q4xEpnQS6n/HLGJZuMsTCsSQ3U= X-Spam-Score: -2.8 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79384 Archived-At: Eric S Fraga writes: > Hello, > > I have recently decided to agentise my gmail group. I use the gnus > agent for my work email and it works (generally) fine. With gmail, I > find that the group buffer shows my inbox as having 28000+ emails! This > could actually be the number of emails in my gmail/All Mail folder but > definitely not in my inbox folder. > > If I enter the group and ask it to display all the old messages, I get a > reasonable number of messages (in the tens of messages). I "archive" > (in gmail itself) and/or "expire" (in gnus) quite aggresively. Leaving > the group does not cause the number shown in the group buffer to correct > itself. Neither does M-g on that group in the group buffer. > > My previous use of gmail, without the gnus agent, always gave correct > numbers for unread and new messages. > > Is there some configuration I need to tweak to get gnus to display the > correct number? > > I'm running a very recent (this morning's) version of gnus from git. > Hopefully linked with the issue I have mentioned numerous times about multiple agentised gmail accounts - they all show the same (wrong) count. Set up : (add-to-list 'gnus-secondary-select-methods '(nnimap "riley" (nnir-search-engine imap) (nnimap-address "imap.gmail.com") )) (add-to-list 'gnus-secondary-select-methods '(nnimap "shamrockpub" (nnir-search-engine imap) (nnimap-address "imap.gmail.com") )) (add-to-list 'gnus-secondary-select-methods '(nnimap "friends" (nnir-search-engine imap) (nnimap-address "imap.gmail.com") )) where riley,shamrock and friends all identify a unique authinfo line for authentication.