From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80461 Path: news.gmane.org!not-for-mail From: "Jose A. Ortega Ruiz" Newsgroups: gmane.emacs.gnus.general Subject: Re: problem with gnus-group-make-nnir-group Date: Tue, 01 Nov 2011 01:01:41 +0100 Message-ID: <8762j4d8wr.fsf@gnu.org> References: <877h3ub3nc.fsf@micropit.couberia.bzh> <87ipndr6cd.fsf@micropit.couberia.bzh> <87lis6cp4l.fsf@lifelogs.com> <87d3delbch.fsf@micropit.couberia.bzh> <87ehxue23n.fsf@gnu.org> <87lis1t6xz.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1320106137 25716 80.91.229.12 (1 Nov 2011 00:08:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Nov 2011 00:08:57 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28746@lists.math.uh.edu Tue Nov 01 01:08:50 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RL1uM-0000V8-8T for ding-account@gmane.org; Tue, 01 Nov 2011 01:08:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RL1u3-0001me-0Z; Mon, 31 Oct 2011 19:08:31 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RL1u1-0001mQ-0l for ding@lists.math.uh.edu; Mon, 31 Oct 2011 19:08:29 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RL1tq-0007Y1-3I for ding@lists.math.uh.edu; Mon, 31 Oct 2011 19:08:28 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RL1to-0006Yc-NC for ding@gnus.org; Tue, 01 Nov 2011 01:08:16 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RL1tn-0000Ma-76 for ding@gnus.org; Tue, 01 Nov 2011 01:08:15 +0100 Original-Received: from 161.red-79-152-126.dynamicip.rima-tde.net ([79.152.126.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Nov 2011 01:08:15 +0100 Original-Received: from jao by 161.red-79-152-126.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Nov 2011 01:08:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 161.red-79-152-126.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-Attribution: jao X-URL: Cancel-Lock: sha1:UwrES2uYQmXiShAQX3ldoc4vkQI= X-Spam-Score: -6.1 (------) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80461 Archived-At: Hi Ted, On Mon, Oct 31 2011, Ted Zlatanov wrote: [...] > jao> But both `gnus-registry-enabled' *and* `gnus-bound-and-true-p' > jao> are undefined when nnir is loaded. gnus-registry.el does define > jao> the former, but not the latter function, and in my emacs session > jao> (fboundp 'gnus-bound-and-true-p) returns nil. > > I don't know how that's possible. nnir.el has > > (defvar gnus-registry-enabled) The variable is declared, but still unbound: trying to use it will raise an error (because it has no value). > and loads gnus-util.el, which defines `gnus-bound-and-true-p'. This is a macro defined inside an eval-when-compile: the packaged Emacs comes with a compiled version (gnus-util.elc), and it's the compiled file that gets loaded when (require 'gnus-util) is called. The idiom of wrapping macros in an eval-when-compile form is intended for macros that are going to be used in the same file that defines them. > So this problem should not happen, and does not happen on the Gnus > Buildbot either. Can you think of something that could be causing the > problem for you but not for me and the Buildbot? Unless i'm missing something, the only explanation i have is that you're loading source elisp files instead of compiled byte code. Could that be the case? Cheers, jao -- "People sometimes ask me if it is a sin in the Church of Emacs to use vi. Using a free version of vi is not a sin; it's a penance". -Richard Stallman