From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: EIEIO and CL Date: Fri, 09 Oct 2009 16:36:25 -0400 Message-ID: <87pr8wqp86.fsf@stupidchicken.com> References: <87ocogtsr8.fsf@stupidchicken.com> <1255118740.6961.443.camel@projectile.siege-engine.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255120608 12467 80.91.229.12 (9 Oct 2009 20:36:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Oct 2009 20:36:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: eric@siege-engine.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 09 22:36:39 2009 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.50) id 1MwMCd-0007np-15 for ged-emacs-devel@m.gmane.org; Fri, 09 Oct 2009 22:36:39 +0200 Original-Received: from localhost ([127.0.0.1]:49380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwMCc-0008D8-8K for ged-emacs-devel@m.gmane.org; Fri, 09 Oct 2009 16:36:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwMCX-0008CC-84 for emacs-devel@gnu.org; Fri, 09 Oct 2009 16:36:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwMCS-00087S-K7 for emacs-devel@gnu.org; Fri, 09 Oct 2009 16:36:32 -0400 Original-Received: from [199.232.76.173] (port=48618 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwMCS-00087E-GV for emacs-devel@gnu.org; Fri, 09 Oct 2009 16:36:28 -0400 Original-Received: from pantheon-po43.its.yale.edu ([130.132.50.104]:41599) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MwMCR-0002AG-9O for emacs-devel@gnu.org; Fri, 09 Oct 2009 16:36:27 -0400 Original-Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po43.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n99KaPRb018895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 9 Oct 2009 16:36:25 -0400 Original-Received: by furry (Postfix, from userid 1000) id B1EFEC070; Fri, 9 Oct 2009 16:36:25 -0400 (EDT) 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") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:116032 Archived-At: "Eric M. Ludlam" 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.