all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Eric M. Ludlam" <eric@siege-engine.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: "Eric M. Ludlam" <zappo@gnu.org>, emacs-devel@gnu.org
Subject: Re: EIEIO with lexical scoping
Date: Mon, 13 May 2013 21:57:32 -0400	[thread overview]
Message-ID: <51919A0C.7080307@siege-engine.com> (raw)
In-Reply-To: <51917EA1.50403@siege-engine.com>

To follow up with my previous reply...

I tried out compiling eieio.el, and eieio-core.el with lexical binding. 
  I then went in and removed 'scoped-class' and replaced it with some 
code that avoids the dynamic binding.  I got all this passing my test 
suite, and checked it into CEDET's repository.

I did not test it with lexical-binding set during compilation.  I just 
tried to get it closer to what you probably need.

I hope that helps.
Eric

On 05/13/2013 08:00 PM, Eric M. Ludlam wrote:
> On 05/13/2013 05:25 PM, Stefan Monnier wrote:
>> I'm trying to compile eieio.el using lexical-binding but am bumping into
>> a problem that requires too much internal knowledge of eieio for me.
>>
>> I'm using the patch appended below for now, which seems to work to some
>> extent, but when I then try to compile CEDET using it, I get the
>> following backtrace:
>>
>> Can you help me figure out what's going on?
>>
>
> Sure, I'll be glad to help, though I don't know much about the lexical
> binding feature.
>
> I do know someone posted on the cedet-devel mailing list saying that
> EIEIO's use of 'scoped-class' broke lexical-binding. I'd been thinking
> about converting to use a stack instead of locally rebinding the value
> but hadn't gotten that far.



  reply	other threads:[~2013-05-14  1:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-13 21:25 EIEIO with lexical scoping Stefan Monnier
2013-05-14  0:00 ` Eric M. Ludlam
2013-05-14  1:57   ` Eric M. Ludlam [this message]
2013-05-14  2:13   ` Stefan Monnier
2013-05-14 12:42     ` Stefan Monnier
2013-05-14 20:25     ` David Engster
2013-05-14 22:32       ` Stefan Monnier
2013-06-02 16:45       ` David Engster
2013-06-02 20:47         ` Stefan Monnier
2013-06-03 15:23           ` David Engster
2013-06-03 18:35             ` Glenn Morris
2013-06-03 19:35               ` 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=51919A0C.7080307@siege-engine.com \
    --to=eric@siege-engine.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=zappo@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.