From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86545 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:55:17 +0800 Message-ID: <871t9wxse2.fsf@ericabrahamsen.net> References: <878u44fkpk.fsf@ericabrahamsen.net> 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 1451987812 3068 80.91.229.3 (5 Jan 2016 09:56:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jan 2016 09:56:52 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34772@lists.math.uh.edu Tue Jan 05 10:56:40 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 1aGOM3-0003kh-R4 for ding-account@gmane.org; Tue, 05 Jan 2016 10:56:40 +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 1aGOLo-0000yb-MI; Tue, 05 Jan 2016 03:56:24 -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 1aGOLk-0000xy-6j for ding@lists.math.uh.edu; Tue, 05 Jan 2016 03:56:20 -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 1aGOLd-0001JY-RB for ding@lists.math.uh.edu; Tue, 05 Jan 2016 03:56:19 -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 1aGOLP-00004q-Gf for ding@gnus.org; Tue, 05 Jan 2016 10:56:05 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aGOL3-0002zz-PF for ding@gnus.org; Tue, 05 Jan 2016 10:55:42 +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:55:32 +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:55:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 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:+dEenwAF3BnZ1XG3zBLIgp0dhpA= X-Spam-Score: -0.1 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86545 Archived-At: Alan Schmitt writes: > On 2016-01-05 17:18, Eric Abrahamsen writes: > >> 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 > > I'm seeing the same thing, but I can still edit using 'G c' (edit > through customize interface). Unfortunately it does not change anything: > as soon as I 'M-g' on it I get back the same active sexp. > > I also tried removing the "modseq" sexp, to no avail. Oops, that was the only weapon in my arsenal. I suppose you might consider just removing the server and re-adding it. I don't know what else can be done.