From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86558 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 18:07:50 +0800 Message-ID: <87k2nn3ts9.fsf@ericabrahamsen.net> References: <878u44fkpk.fsf@ericabrahamsen.net> <87d1tgxtfr.fsf@ericabrahamsen.net> <84d1tf1ij1.fsf@davestoy.home> <87oacz3w3g.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1452074964 27026 80.91.229.3 (6 Jan 2016 10:09:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jan 2016 10:09:24 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34785@lists.math.uh.edu Wed Jan 06 11:09:09 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 1aGl1f-0008LL-6S for ding-account@gmane.org; Wed, 06 Jan 2016 11:09:07 +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 1aGl0j-0002lW-QI; Wed, 06 Jan 2016 04:08:09 -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 1aGl0g-0002l9-Ur for ding@lists.math.uh.edu; Wed, 06 Jan 2016 04:08:07 -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 1aGl0g-0001Gm-AV for ding@lists.math.uh.edu; Wed, 06 Jan 2016 04:08: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 1aGl0e-0004Nw-KN for ding@gnus.org; Wed, 06 Jan 2016 11:08:04 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aGl0c-0007c5-4U for ding@gnus.org; Wed, 06 Jan 2016 11:08:02 +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 11:08:02 +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 11:08:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 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:e6M4jjj+M+wLzbzzWy+mF+pWVDU= X-Spam-Score: -0.1 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86558 Archived-At: 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...