bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19645: 25.0.50; Recent EIEIO changes broke helm: Lisp error: (cl-no-


From: Thierry Volpiatto
Subject: bug#19645: 25.0.50; Recent EIEIO changes broke helm: Lisp error: (cl-no-next-method helm--setup-source...
Date: Wed, 21 Jan 2015 17:38:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>   helm-bbdb.el:22:1:Error: No next method for %S: helm--setup-source,
>>   nil, [eieio-class-tag--helm-type-file...
>
> It appears that you're calling helm--setup-source with an object of type
> helm-type-file, but the only method that matches is a ":before" method, so
> after running the before method, you get an error because there's
> no primary.
>
> IIUC the error should be `cl-no-primary-method' instead of
> `cl-no-next-method' (according to
> http://www.cliki.net/Proposed%20ANSI%20Revisions%20and%20Clarifications).
>
> From what I can tell, the older EIEIO code just silently did nothing
> in this case, treating the missing primary as a function that just
> returns nil, but I think this is a mistake.
>
> I'm not sure how to preserve the compatibility with this mistake.
> I'll see if I can come up with something, but in any case I think you
> should fix Helm by making sure there is some primary method defined in
> this case as well.

     `:before' and `:after' specify execution order (i.e., when this
     form is called).  If neither of these symbols are present, the
     default priority is used (before `:after' and after `:before');
     this default priority is represented in CLOS as `:primary'.

I didn't specify :primary, because as I understand it is implicit if not
mentionned, so IIUC I have to specify it now ?

PS: Thanks to Cc me for thread related to helm so that I can fix issues.
    (Now should do as I have replied here)

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]