From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86559 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: wrong unread count after INBOX change Date: Wed, 06 Jan 2016 19:20:11 +0800 Message-ID: <878u43vtsk.fsf@ericabrahamsen.net> References: <878u44fkpk.fsf@ericabrahamsen.net> <87d1tgxtfr.fsf@ericabrahamsen.net> <84d1tf1ij1.fsf@davestoy.home> <87oacz3w3g.fsf@ericabrahamsen.net> <87k2nn3ts9.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1452079295 31992 80.91.229.3 (6 Jan 2016 11:21:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jan 2016 11:21:35 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34786@lists.math.uh.edu Wed Jan 06 12:21:23 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 1aGm9Y-0000tH-Lt for ding-account@gmane.org; Wed, 06 Jan 2016 12:21:20 +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 1aGm8g-0003HF-B5; Wed, 06 Jan 2016 05:20:26 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aGm8e-0003Gn-Hc for ding@lists.math.uh.edu; Wed, 06 Jan 2016 05:20:24 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aGm8d-0003YK-CZ for ding@lists.math.uh.edu; Wed, 06 Jan 2016 05:20:24 -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 1aGm8b-0006aA-C1 for ding@gnus.org; Wed, 06 Jan 2016 12:20:21 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aGm8Y-0000Bi-EE for ding@gnus.org; Wed, 06 Jan 2016 12:20:18 +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 ; Wed, 06 Jan 2016 12:20:18 +0100 Original-Received: from eric by 111.197.159.241 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jan 2016 12:20:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 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:Cd0FCOvvUbtXFR+i6qe9+1Gu+w8= X-Spam-Score: -0.1 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86559 Archived-At: Eric Abrahamsen writes: > Eric Abrahamsen writes: > >> david.goldberg6@verizon.net (Dave Goldberg) writes: >> >>>> >>>> But even running (require 'gnus-util) doesn't cause this to be loaded, I >>>> have to go and C-x C-e on it. Which I find very weird! >>> >>> Most likely that's because a different gnus-util is already loaded. >>> Perhaps you've got a load-path shadow assuming you run gnus from git >>> in a directory different from the gnus provided with your emacs >>> distribution. >>> >>> At one point probably two or three years ago (you can find my ranting >>> about it on this list's archives if you care ;-)) Fedora's emacs >>> distribution included a site-start configuration that caused gnus-util >>> to be loaded at start up. Perhaps that's what's happening in your >>> case? If you do an "emacs -q" does (featurep 'gnus-util) return t? If >>> that's the case you can overrule it by loading (not requiring) >>> gnus-util explicitly somewhere in your .emacs. >> >> No, I'm pretty sure it's the code itself -- I never had this problem >> before, and emacs -q cannot find the gnus-util feature, and... reverting >> 9b59bbc fixes the problem! >> >> I don't know why having the defalias at top level would prevent it from >> working, but apparently it does... > > Hmm, there may be more going on than I realized. It looks like I really > am loading the gnus-util.el that comes with Emacs, not from the Gnus git > repo. But then why did reverting that commit seem to fix it? I'll try a > few more times... Well I'm not any closer to making sense of this. I do seem to be loading the gnus-util that comes with Emacs, no matter what. And yet, reverting/replacing that commit pretty clearly breaks (or fixes) whether I'm able to use gnus-format-message. I'm stumped!