all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Brinkhoff <lars@nocrew.org>
To: emacs-devel@gnu.org
Subject: Re: User-defined record types, v3
Date: Mon, 03 Apr 2017 19:49:20 +0200	[thread overview]
Message-ID: <86k271crfj.fsf@molnjunk.nocrew.org> (raw)
In-Reply-To: 86r31gh7v5.fsf@molnjunk.nocrew.org

Lars Brinkhoff wrote:
> Third review round for user-defined record types, available from the
> branch scratch/record.

John Wiegley has okayed this, so I'm planning to merge this within 24
hours.

A full boostrap build (and testsuite run) works fine.  Incremental
builds can run into problems with .elc files.  To be on the safe side, I
usually rebuild from a clean repository, but just removing all .elc
files also seems to work.



> From the manual:
>
>       The purpose of records is to allow programmers to create objects
>     with new types that are not built into Emacs.  They are used as the
>     underlying representation of @code{cl-defstruct} and @code{defclass}
>     instances.
>       
>       Internally, a record object is much like a vector; its slots can
>     be accessed using @code{aref}.  However, the first slot is used to
>     hold its type as returned by @code{type-of}.  Like arrays, records
>     use zero-origin indexing: the first slot has index 0.




  reply	other threads:[~2017-04-03 17:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-29  7:14 User-defined record types, v3 Lars Brinkhoff
2017-04-03 17:49 ` Lars Brinkhoff [this message]
2017-04-04  0:43   ` John Wiegley
2017-04-04  7:40     ` Lars Brinkhoff
2017-04-04 12:08       ` Clément Pit-Claudel
2017-04-04 12:32         ` Lars Brinkhoff
2017-04-04 12:48           ` Checking the version of Emacs that an ELisp file was compiled with [WAS: Re: User-defined record types, v3] Clément Pit-Claudel

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=86k271crfj.fsf@molnjunk.nocrew.org \
    --to=lars@nocrew.org \
    --cc=emacs-devel@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.