From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86557 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 17:17:55 +0800 Message-ID: <87oacz3w3g.fsf@ericabrahamsen.net> References: <878u44fkpk.fsf@ericabrahamsen.net> <87d1tgxtfr.fsf@ericabrahamsen.net> <84d1tf1ij1.fsf@davestoy.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1452071956 12130 80.91.229.3 (6 Jan 2016 09:19:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jan 2016 09:19:16 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34784@lists.math.uh.edu Wed Jan 06 10:19:01 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 1aGkF8-0007P1-Pp for ding-account@gmane.org; Wed, 06 Jan 2016 10:18:58 +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 1aGkEu-0002P6-LJ; Wed, 06 Jan 2016 03:18:44 -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 1aGkEs-0002OY-33 for ding@lists.math.uh.edu; Wed, 06 Jan 2016 03:18:42 -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 1aGkEq-0000ze-Tq for ding@lists.math.uh.edu; Wed, 06 Jan 2016 03:18:41 -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 1aGkEH-0002ox-7E for ding@gnus.org; Wed, 06 Jan 2016 10:18:13 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aGkEE-0006ps-S5 for ding@gnus.org; Wed, 06 Jan 2016 10:18: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 10:18: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 10:18:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 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:+e7z09evMlRALyjNWY6OMD1JLbg= X-Spam-Score: -0.1 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86557 Archived-At: 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...