unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David Engster <deng@randomsample.de>
Cc: Eric Ludlam <ericludlam@gmail.com>, emacs-devel@gnu.org
Subject: Re: Shrinking EIEIO objects
Date: Fri, 02 Jan 2015 21:11:32 -0500	[thread overview]
Message-ID: <jwv4ms88vqv.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87d26xw602.fsf@engster.org> (David Engster's message of "Fri, 02 Jan 2015 16:34:53 +0100")

> Oh, I missed the call to 'message'...

Sorry, for that: the message call was added for diagnostic purposes,
it's not meant to be installed.  The "name" arg passed during creation
of objects is obsolete, tho.  But I don't know yet how to tell
programmers about it (that's why I just added a `message' for now, so
that I could tell when the name was detected and dropped).

> which made me believe that NAME will stay supported. The name is saved
> in the hash table `eieio--object-names',

Right, but only when set via eieio-object-set-name-string.

> but `eieio-object-name' does not return the name that was passed, so
> it doesn't seem to work.

eieio-object-name definitely should return the name, but the name passed
during clone&creation is indeed just thrown away (since AFAICT 99% of
those names are dummies).


        Stefan



  reply	other threads:[~2015-01-03  2:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-30 17:59 Shrinking EIEIO objects Stefan Monnier
2015-01-02  2:40 ` Eric Ludlam
2015-01-02 11:22   ` David Engster
2015-01-02 15:04     ` Eric Ludlam
2015-01-02 15:34       ` David Engster
2015-01-03  2:11         ` Stefan Monnier [this message]
2015-01-03  9:55           ` David Engster
2015-01-04 19:34             ` Stefan Monnier
2015-01-09  5:44     ` Eric Abrahamsen
2015-01-09 15:11       ` Stefan Monnier
2015-01-10  2:03         ` Eric Abrahamsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv4ms88vqv.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=deng@randomsample.de \
    --cc=emacs-devel@gnu.org \
    --cc=ericludlam@gmail.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).