From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Cc: emacs-devel@gnu.org
Subject: Re: bizarre byte-compile issue, possibly due to EIEIO
Date: Tue, 05 Apr 2011 11:14:53 -0500 [thread overview]
Message-ID: <87hbac65fm.fsf@lifelogs.com> (raw)
In-Reply-To: 87tyeeyqrx.fsf@randomsample.de
On Mon, 04 Apr 2011 17:34:10 +0200 David Engster <deng@randomsample.de> wrote:
DE> Ted Zlatanov writes:
>> On Sun, 03 Apr 2011 11:34:42 +0200 David Engster <deng@randomsample.de> 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
next prev parent reply other threads:[~2011-04-05 16:14 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 20:29 bizarre byte-compile issue, possibly due to EIEIO Ted Zlatanov
2011-04-01 20:31 ` Ted Zlatanov
2011-04-01 20:50 ` Lars Magne Ingebrigtsen
2011-04-02 0:54 ` Ted Zlatanov
2011-04-02 20:34 ` Lars Magne Ingebrigtsen
2011-04-04 13:47 ` Ted Zlatanov
2011-04-04 15:26 ` David Engster
2011-04-02 21:32 ` David Engster
2011-04-03 9:34 ` David Engster
2011-04-04 10:18 ` Ted Zlatanov
2011-04-04 15:34 ` David Engster
2011-04-05 15:56 ` Ted Zlatanov
2011-04-05 16:38 ` David Engster
2011-04-05 17:55 ` Ted Zlatanov
2011-04-05 18:31 ` David Engster
2011-04-05 18:44 ` Ted Zlatanov
2011-04-05 16:14 ` Ted Zlatanov [this message]
2011-04-05 17:57 ` Ted Zlatanov
2011-04-04 16:29 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hbac65fm.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=ding@gnus.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.