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: Sun, 11 Jan 2015 11:25:42 +0800	[thread overview]
Message-ID: <87k30u80cp.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)
  signal(wrong-type-argument (eieio--class-p helm-locate-source))
  eieio--class-slot-initarg(helm-locate-source name)
  (setq slot (eieio--class-slot-initarg class s))
  (while (consp --cl-var--) (setq s (car --cl-var--)) (setq slot (eieio--class-slot-initarg class s)) (setq slot-val (slot-value object slot)) (if slot-val (progn (setq --cl-var-- (cons (cons s (if (eq t slot-val) nil slot-val)) --cl-var--)))) (setq --cl-var-- (cdr --cl-var--)))
  (let* ((--cl-var-- (object-slots object)) (s nil) (slot nil) (slot-val nil) (--cl-var-- nil)) (while (consp --cl-var--) (setq s (car --cl-var--)) (setq slot (eieio--class-slot-initarg class s)) (setq slot-val (slot-value object slot)) (if slot-val (progn (setq --cl-var-- (cons (cons s (if ... nil slot-val)) --cl-var--)))) (setq --cl-var-- (cdr --cl-var--))) (nreverse --cl-var--))
  helm--create-source([eieio-class-tag--helm-locate-source "Locate" nil helm-locate-set-command nil nil nil nil ELIDED helm-locate-init] helm-locate-source)
  helm-make-source("Locate" helm-locate-source :pattern-transformer helm-locate-pattern-transformer)
  (defvar helm-source-locate (helm-make-source "Locate" (quote helm-locate-source) :pattern-transformer (quote helm-locate-pattern-transformer)))
  require(helm-locate)






  reply	other threads:[~2015-01-11  3:25 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 [this message]
2015-01-12  5:05     ` Stefan Monnier
2015-01-12  6:20       ` Eric Abrahamsen
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=87k30u80cp.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.