From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86548 Path: news.gmane.org!not-for-mail From: CHENG Gao Newsgroups: gmane.emacs.gnus.general Subject: Re: wrong unread count after INBOX change Date: Tue, 05 Jan 2016 19:02:56 +0800 Organization: Royau.Me Message-ID: 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 1451991850 2069 80.91.229.3 (5 Jan 2016 11:04:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jan 2016 11:04:10 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34775@lists.math.uh.edu Tue Jan 05 12:03:58 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 1aGPPA-0005Ia-OC for ding-account@gmane.org; Tue, 05 Jan 2016 12:03:56 +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 1aGPOT-0001pj-Sw; Tue, 05 Jan 2016 05:03:13 -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 1aGPOP-0001ot-Ld for ding@lists.math.uh.edu; Tue, 05 Jan 2016 05:03:09 -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 1aGPON-0001fX-JN for ding@lists.math.uh.edu; Tue, 05 Jan 2016 05:03:09 -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 1aGPOL-0001v8-Iu for ding@gnus.org; Tue, 05 Jan 2016 12:03:05 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aGPOI-0004dD-WD for ding@gnus.org; Tue, 05 Jan 2016 12:03:03 +0100 Original-Received: from 112.80.132.127 ([112.80.132.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jan 2016 12:03:02 +0100 Original-Received: from chenggao by 112.80.132.127 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jan 2016 12:03:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 50 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 112.80.132.127 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) Cancel-Lock: sha1:V7fGQ1xWn4/u4C23g/mdhJT0uc0= X-Spam-Score: -0.1 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86548 Archived-At: *On Tue, 05 Jan 2016 11:32:48 +0100 * Also sprach Alan Schmitt : > 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? > > Thanks, > > Alan Is it related to Gnus agent? Do you use unplugged mode? And maybe you can just leave gnus-select-method as nnnil, and put all into gnus-secondary-select-methods to see for some time if it works. I am a little suspicious of gnus-select-method, though I can not prove.