From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78353 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: bizarre byte-compile issue, possibly due to EIEIO Date: Tue, 05 Apr 2011 11:14:53 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87hbac65fm.fsf@lifelogs.com> References: <87hbahww99.fsf@lifelogs.com> <8762qxo4l3.fsf@lifelogs.com> <87lizs9w5e.fsf@randomsample.de> <87sjtzznil.fsf@randomsample.de> <8762qub9q5.fsf@lifelogs.com> <87tyeeyqrx.fsf@randomsample.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1302020149 17681 80.91.229.12 (5 Apr 2011 16:15:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2011 16:15:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: ding-owner+M26659@lists.math.uh.edu Tue Apr 05 18:15:45 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 1Q78uu-0004h8-08 for ding-account@gmane.org; Tue, 05 Apr 2011 18:15:44 +0200 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 1Q78uV-0000XI-Vk; Tue, 05 Apr 2011 11:15:20 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Q78uV-0000XA-0Y for ding@lists.math.uh.edu; Tue, 05 Apr 2011 11:15:19 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q78uL-0007Mt-NK for ding@lists.math.uh.edu; Tue, 05 Apr 2011 11:15:13 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q78uK-0005jZ-8i for ding@gnus.org; Tue, 05 Apr 2011 18:15:08 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q78uK-0004Dg-16 for ding@gnus.org; Tue, 05 Apr 2011 18:15:08 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Apr 2011 18:15:07 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Apr 2011 18:15:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:JLYWGtA1BkTf+LUkpGusCDKL01o= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78353 gmane.emacs.devel:138183 Archived-At: On Mon, 04 Apr 2011 17:34:10 +0200 David Engster wrote: DE> Ted Zlatanov writes: >> On Sun, 03 Apr 2011 11:34:42 +0200 David Engster wrote: >> DE> Here's what I observe: >> DE> * The 'mapcar' method always works. DE> * If you don't byte-compile, the 'loop' method will also work. DE> * If you byte-compile, the 'loop' method will fail with Emacs24 *before* DE> the lexbind merge. After the lexbind merge, it works as expected. >> >> Of course, I found and reported all of this right before the lexbind >> merge. Argh. DE> Yes, but we can't be sure the "real bug" has been fixed here... I added a `registry-lookup-breaks-before-lexbind' method to registry.el in my branch and it's in the tests. So you can check that: emacs -batch -L . -l ert.el -l gnus-registry.el -f ert-run-tests-batch-and-exit fails before the lexbind merge, and minus registry.elc: rm registry.elc emacs -batch -L . -l ert.el -l gnus-registry.el -f ert-run-tests-batch-and-exit it succeeds. Both work after the lexbind merge. You're right, it smells like some interaction of the EIEIO defmethod and the loop macro. I don't know how much incentive we have to fix it, though, without a good isolated test case. I tried and couldn't find a smoking gun. Ted