all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: eric@siege-engine.com
Cc: emacs-devel@gnu.org
Subject: Re: EIEIO and CL
Date: Fri, 09 Oct 2009 16:36:25 -0400	[thread overview]
Message-ID: <87pr8wqp86.fsf@stupidchicken.com> (raw)
In-Reply-To: <1255118740.6961.443.camel@projectile.siege-engine.com> (Eric M. Ludlam's message of "Fri, 09 Oct 2009 16:05:40 -0400")

"Eric M. Ludlam" <eric@siege-engine.com> writes:

> The defclass operation in EIEIO is a macro that calls out to a helper
> function.  This is because I have found that I'm just not that good at
> writing macros.  I would guess that if the entirety of eieio-defclass
> were turned into a macro, then the whole eval thing you quoted above
> would become a compile time requirement only.

Yes, that would probably work.

> Alternately, it would be cool if typep, or something similar was a part
> of Emacs core.  Wouldn't the widget/custom setup like that?

It's feasible to move typep into core, but deftype involves a layer of
CL-implementation gunk that would need to be cleaned up first; not
feasible for 23.2, I think.




  reply	other threads:[~2009-10-09 20:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-09 16:51 EIEIO and CL Chong Yidong
2009-10-09 20:05 ` Eric M. Ludlam
2009-10-09 20:36   ` Chong Yidong [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-10-09 22:29 S+*n_Pe*rm*n

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=87pr8wqp86.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=eric@siege-engine.com \
    /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.