From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78331 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: bizarre byte-compile issue, possibly due to EIEIO Date: Mon, 04 Apr 2011 05:18:42 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <8762qub9q5.fsf@lifelogs.com> References: <87hbahww99.fsf@lifelogs.com> <8762qxo4l3.fsf@lifelogs.com> <87lizs9w5e.fsf@randomsample.de> <87sjtzznil.fsf@randomsample.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301912364 23191 80.91.229.12 (4 Apr 2011 10:19:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Apr 2011 10:19:24 +0000 (UTC) Cc: ding@gnus.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 04 12:19:19 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6gsP-0002d7-Cw for ged-emacs-devel@m.gmane.org; Mon, 04 Apr 2011 12:19:17 +0200 Original-Received: from localhost ([127.0.0.1]:42395 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6gsN-0003LO-Oi for ged-emacs-devel@m.gmane.org; Mon, 04 Apr 2011 06:19:15 -0400 Original-Received: from [140.186.70.92] (port=43933 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6gs9-0003Go-Fh for emacs-devel@gnu.org; Mon, 04 Apr 2011 06:19:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6gs7-0000hi-6A for emacs-devel@gnu.org; Mon, 04 Apr 2011 06:19:00 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:51491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6gs6-0000hM-R3 for emacs-devel@gnu.org; Mon, 04 Apr 2011 06:18:59 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q6gs4-0002RN-HM for emacs-devel@gnu.org; Mon, 04 Apr 2011 12:18:56 +0200 Original-Received: from c-67-186-102-106.hsd1.il.comcast.net ([67.186.102.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Apr 2011 12:18:56 +0200 Original-Received: from tzz by c-67-186-102-106.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Apr 2011 12:18:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-67-186-102-106.hsd1.il.comcast.net 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:3Vz1NP8oM2fp/TahJQ/o2pqlSko= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138103 gmane.emacs.gnus.general:78331 Archived-At: 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. I took your mapcar version and used it. Everything works now, and will work in older Emacs versions too. DE> Note that the :initform evaluation will not work with the EIEIO version DE> which ships with Emacs23. I remember some discussions regarding this DE> issue; it's probably best to use an explicit constructor. I included it DE> in the test case (you have to uncomment it). When using the class w/ DE> constructor, you can also compile it under Emacs23, and the 'loop' DE> method will then also fail. When I use the explicit constructor (commented out right now), many tests fail. Do you want to take a look at that? It's the only remaining merge blocker. My changes are in the new "tzz-gnus-registry-rewrite" branch. I won't merge it until we're sure it works in Emacs 23 and 24. I'll write the manual changes and ChangeLog at that time too. DE> The funny thing is that Emacs24 *after* the lexbind merge cannot run DE> that byte-compiled code from Emacs23; is that to be expected? I would assume major versions introduce binary incompatibilities, so I wouldn't worry about that. Ted