-
-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heads up about class-slot-initarg #815
Comments
* helm-source.el: Add an alias for class-slot-initarg.
girzel notifications@github.com writes:
Should be fixed now, thanks. Thierry |
The fix I made works for emacs-25 from 3/4 days ago or so, now helm is http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19564 Thierry |
@thierryvolpiatto
|
Sergey Pashinin notifications@github.com writes:
Stefan is actually working on this: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19564 Thierry |
Any quick dirty fix? |
Sergey Pashinin notifications@github.com writes:
Unfortunately no. Thierry |
This is working for me at present: (defun class-slot-initarg (class-name slot) |
girzel notifications@github.com writes:
Yes, this have been posted there recently: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19552 Probably you can report there it is working fine for you. Thierry |
I'm the one who posted it there :) Just waiting to hear what Stefan has to say... |
girzel notifications@github.com writes:
AhAh! ok :-) Thierry |
With this I am still getting the following:
|
Vitalie Spinu notifications@github.com writes:
It is working, but you have to add this code on top of helm-source.el Thierry |
* helm-source.el (helm--create-source): Use now only one arg. (helm-make-source, helm-make-type): call helm--create-source with one arg.
Now it is fixed. |
No more true, recompilation is now only needed when switching from emacs-25 to emacs-24, but if helm have been compiled in emacs-24, no recompilation is needed when switching to emacs-25, thanks to Stephan. |
* helm-source.el (helm--create-source): Use now only one arg. (helm-make-source, helm-make-type): call helm--create-source with one arg.
Recent changes in the development version of emacs are going to break Helm at some point: eieieo has undergone some refactoring and simplification, and `class-slot-initarg' no longer exists, which causes the following, in helm-source, to error:
(defun helm--create-source (object class)
"[INTERNAL] Build a helm source from a CLASS OBJECT."
(cl-loop for s in (object-slots object)
for slot = (class-slot-initarg class s)
for slot-val = (slot-value object slot)
when slot-val
collect (cons s (unless (eq t slot-val) slot-val))))
I'm not sure what the proper solution is, but it might float up on this bug report:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19552
The text was updated successfully, but these errors were encountered: