From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86549 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 19:08:20 +0800 Message-ID: <87a8okz3kr.fsf@ericabrahamsen.net> References: <878u44fkpk.fsf@ericabrahamsen.net> <871t9wxse2.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 1451992152 6961 80.91.229.3 (5 Jan 2016 11:09:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jan 2016 11:09:12 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34776@lists.math.uh.edu Tue Jan 05 12:08:55 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 1aGPTu-0000EE-Ew for ding-account@gmane.org; Tue, 05 Jan 2016 12:08:50 +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 1aGPTj-0001tr-QB; Tue, 05 Jan 2016 05:08:39 -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 1aGPTh-0001tQ-VG for ding@lists.math.uh.edu; Tue, 05 Jan 2016 05:08:38 -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 1aGPTg-0001hS-05 for ding@lists.math.uh.edu; Tue, 05 Jan 2016 05:08:37 -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 1aGPTe-0001zH-JS for ding@gnus.org; Tue, 05 Jan 2016 12:08:34 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aGPTc-0008WJ-Kp for ding@gnus.org; Tue, 05 Jan 2016 12:08:32 +0100 Original-Received: from 111.197.159.241 ([111.197.159.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jan 2016 12:08:32 +0100 Original-Received: from eric by 111.197.159.241 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jan 2016 12:08:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 48 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 111.197.159.241 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:6pNE3Ff+sS4Lz8sQVniYSFCOr78= X-Spam-Score: -0.1 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86549 Archived-At: Alan Schmitt writes: > On 2016-01-05 17:55, Eric Abrahamsen writes: > >>>> 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. > > Even this does not work: there is some data cached somewhere, and gnus > is using it. > > What I did: > - replace the select-method by nnnil > - relaunch emacs and gnus > - put back the select-method > > and all is back as it was before. > > How can I really remove a server from gnus (as in, get rid of all the > cached data for that server)? Is this when I delete .newsrc? Oh man, I don't think you should ever delete .newsrc -- you mean .newsrc.eld, right? That will wipe out all the data for all your servers. And your IMAP server settings probably aren't kept in the other .newsrc file at all. You might open .newsrc.eld and look in `gnus-newsrc-alist', and just see if the deleted server is still in there somewhere. But even then I would go editing that file. Was the IMAP server agentized? I suppose that could result in some data being cached...