From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86540 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: wrong unread count after INBOX change Date: Tue, 05 Jan 2016 17:18:31 +0800 Message-ID: <878u44fkpk.fsf@ericabrahamsen.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1451985626 1398 80.91.229.3 (5 Jan 2016 09:20:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jan 2016 09:20:26 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34767@lists.math.uh.edu Tue Jan 05 10:20:13 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aGNml-0000m5-Jy for ding-account@gmane.org; Tue, 05 Jan 2016 10:20:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1aGNmi-0000Z5-Ea; Tue, 05 Jan 2016 03:20:08 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aGNmg-0000Yd-MW for ding@lists.math.uh.edu; Tue, 05 Jan 2016 03:20:06 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aGNmg-000173-3s for ding@lists.math.uh.edu; Tue, 05 Jan 2016 03:20:06 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1aGNme-0007dS-O5 for ding@gnus.org; Tue, 05 Jan 2016 10:20:04 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aGNmc-0000eg-Vn for ding@gnus.org; Tue, 05 Jan 2016 10:20:03 +0100 Original-Received: from 114.252.241.193 ([114.252.241.193]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jan 2016 10:20:02 +0100 Original-Received: from eric by 114.252.241.193 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jan 2016 10:20:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.252.241.193 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:fPRZhjT3aSFYPea53uGDw2gWCRI= X-Spam-Score: -0.1 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86540 Archived-At: Alan Schmitt writes: > Hello, > > As I modified my dovecot configuration, I had to change where the INBOX > is stored. It should have been transparent to gnus (I access my mail > locally through dovecot) but for some reason it confused it and gnus now > believe I have 3900 unread message in this INBOX, although there is > none. I tried doing 'g' and 'M-g' on it but it does not change anything. > If I hit 'ret' I get an error "Can't select group", and if I it 'C-u > ret' I see the expected 27 read messages. > > How can I convince gnus to reset its unread count for this mailbox? The sure-fire rip-cord solution for this sort of situation is to edit the group parameters for that group, completely delete the (active . XXXX) sexp, finish the edits, then M-g on the group again. Works most every time, for me! Of course, I can't currently confirm this, because editing a group in the Group buffer currently gives me: gnus-group-edit-group: Symbol’s function definition is void: gnus-format-message :(