From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.help Subject: Re: One more question about elisp Date: Sun, 8 Nov 2009 18:06:54 +0100 Message-ID: <20091108170654.GC19277@tomas> References: <53781544-57b8-4cde-a07a-c3632d8bac7f@a32g2000yqm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1257700551 4393 80.91.229.12 (8 Nov 2009 17:15:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Nov 2009 17:15:51 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Francis Moreau Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 08 18:15:43 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N7BMd-0003DH-D8 for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Nov 2009 18:15:43 +0100 Original-Received: from localhost ([127.0.0.1]:58123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7BMc-0005Xu-Kb for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Nov 2009 12:15:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7BMD-0005Wj-UW for help-gnu-emacs@gnu.org; Sun, 08 Nov 2009 12:15:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7BM9-0005T0-Hp for help-gnu-emacs@gnu.org; Sun, 08 Nov 2009 12:15:17 -0500 Original-Received: from [199.232.76.173] (port=37179 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7BM9-0005Sg-8p for help-gnu-emacs@gnu.org; Sun, 08 Nov 2009 12:15:13 -0500 Original-Received: from alextrapp1.equinoxe.de ([217.22.192.104]:42752 helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N7BM9-0001Ge-07 for help-gnu-emacs@gnu.org; Sun, 08 Nov 2009 12:15:13 -0500 Original-Received: by www.elogos.de (Postfix, from userid 1000) id A33DE90048; Sun, 8 Nov 2009 18:06:54 +0100 (CET) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69610 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, Nov 08, 2009 at 04:17:02PM +0100, Francis Moreau wrote: > tomas@tuxteam.de writes: >=20 > [...] >=20 > > > > You have been pointed to "defstruct" already. From it info page: >=20 > I realized this is not part of elips but clisp, that's why I missed it. Ah, I see. Indeed, defstruct belongs to "cl-macs.el", an add on (as Pascal pointed out elsewhere in this thread, the cl stands for "Common Lisp", that's where this feature has been taken from). > The weird thing (for now) is that "defstruct" is not very used in the > source code of emacs. Right. This might be confusing for you. As a matter of policy, it has been decided that core Emacs packages don't rely on "cl.el". OTOH, "cl-macs.el" is considered OK, because it's just needed at compile time. But when writing your own programs, you are free, of course :-) Regards - -- tom=C3=A1s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFK9vquBcgs9XrR2kYRAj0HAJkB9zrQ1PuY+XLVdEfT6lrfbq8y5wCbB2ZQ hhm7qs272eAxF85SOoNisVU=3D =3DgzS4 -----END PGP SIGNATURE-----