all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tomas@tuxteam.de
To: Francis Moreau <francis.moro@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: One more question about elisp
Date: Sun, 8 Nov 2009 18:06:54 +0100	[thread overview]
Message-ID: <20091108170654.GC19277@tomas> (raw)
In-Reply-To: <m2vdhl9hch.fsf@gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Nov 08, 2009 at 04:17:02PM +0100, Francis Moreau wrote:
> tomas@tuxteam.de writes:
> 
> [...]
> 
> >
> > You have been pointed to "defstruct" already. From it info page:
> 
> 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ás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFK9vquBcgs9XrR2kYRAj0HAJkB9zrQ1PuY+XLVdEfT6lrfbq8y5wCbB2ZQ
hhm7qs272eAxF85SOoNisVU=
=gzS4
-----END PGP SIGNATURE-----




  parent reply	other threads:[~2009-11-08 17:06 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-06 16:46 One more question about elisp Francis Moreau
2009-11-06 16:55 ` Joost Kremers
2009-11-06 20:59   ` Francis Moreau
2009-11-06 21:28     ` Pascal J. Bourguignon
2009-11-07  1:42     ` Stefan Monnier
2009-11-08 15:20       ` Francis Moreau
2009-11-08 16:12         ` Pascal J. Bourguignon
2009-11-09 21:14           ` Francis Moreau
2009-11-08 19:53         ` Stefan Monnier
2009-11-06 20:02 ` Xah Lee
2009-11-06 21:05   ` Francis Moreau
2009-11-06 21:13     ` David Kastrup
2009-11-07  1:40     ` LanX
2009-11-07  2:31       ` Barry Margolin
2009-11-07 14:41       ` Francis Moreau
2009-11-07 17:39         ` Pascal J. Bourguignon
2009-11-07 18:10         ` LanX
2009-11-08  9:53         ` tomas
     [not found]         ` <mailman.10267.1257674530.2239.help-gnu-emacs@gnu.org>
2009-11-08 15:17           ` Francis Moreau
2009-11-08 16:01             ` Pascal J. Bourguignon
2009-11-09 20:43               ` Francis Moreau
2009-11-08 17:06             ` tomas [this message]
2009-11-07  2:50     ` Giorgos Keramidas

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=20091108170654.GC19277@tomas \
    --to=tomas@tuxteam.de \
    --cc=francis.moro@gmail.com \
    --cc=help-gnu-emacs@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.