all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: 19552@debbugs.gnu.org
Subject: bug#19552: 25.0.50; void-function class-slot-initarg with new EIEIO changes
Date: Mon, 12 Jan 2015 14:20:20 +0800	[thread overview]
Message-ID: <87h9vw4j17.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <8761cfqu7u.fsf@ericabrahamsen.net>

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>>> Debugger entered--Lisp error: (void-function class-slot-initarg)
>>> 
>>> Indeed, this function doesn't exist any more: it was renamed to
>>> eieio--class-slot-initarg, since it's an internal function (EIEIO was
>>> horrible w.r.t namespace and w.r.t documenting what is internal and
>>> what isn't.  It's far from perfect now, mind you, but I've tried to
>>> make things a bit better in this respect)
>>> 
>>> Can you try to (defalias 'class-slot-initarg 'eieio--class-slot-initarg)
>>> and see if that works around your problem?
>>> 
>>> 
>>> Stefan
>
>> (Sorry for out-of-order messages, just authenticated.)
>
>> I tried the above, and loading helm now gives:
>
>> Debugger entered--Lisp error: (wrong-type-argument eieio--class-p helm-locate-source)
>
> Ah, right, can you try with
>
>    (defun class-slot-initarg (class-name)
>      (eieio--class-slot-initarg (eieio--class-v class-name))

Looks like this is missing the "slot" argument, I got it to work okay
with:

(defun class-slot-initarg (class-name slot)
  (eieio--class-slot-initarg (eieio--class-v class-name) slot))






  reply	other threads:[~2015-01-12  6:20 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-10  1:51 bug#19552: 25.0.50; void-function class-slot-initarg with new EIEIO changes Eric Abrahamsen
2015-01-10 11:33 ` Eli Zaretskii
2015-01-10 19:37   ` Glenn Morris
2015-01-10 20:06     ` Eli Zaretskii
2015-01-10 20:49       ` Eli Zaretskii
2015-01-11  2:44         ` Eric Abrahamsen
2015-01-12  5:06           ` Stefan Monnier
2015-01-12  6:30             ` Eric Abrahamsen
2015-01-12 15:11               ` Stefan Monnier
2015-01-13 15:18                 ` Stefan Monnier
2015-01-11  2:17       ` Glenn Morris
2015-01-11  3:46         ` Eli Zaretskii
2015-01-10 16:34 ` Wolfgang Jenkner
2015-01-10 17:23   ` Wolfgang Jenkner
2015-01-10 19:45     ` Glenn Morris
2015-01-10 23:15       ` Wolfgang Jenkner
2015-01-11  0:39         ` Wolfgang Jenkner
2015-01-11  2:08 ` Stefan Monnier
2015-01-11  3:25   ` Eric Abrahamsen
2015-01-12  5:05     ` Stefan Monnier
2015-01-12  6:20       ` Eric Abrahamsen [this message]
2015-01-12 15:06         ` Stefan Monnier

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=87h9vw4j17.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=19552@debbugs.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.