renard / o-blog

Standalone orgmode blog exporter. DEPECATED, NOT MAINTAINED
http://renard.github.com/o-blog-v2
260 stars 58 forks source link

This project doesn't work in Emacs 25 #161

Closed ginqi7 closed 4 years ago

ginqi7 commented 7 years ago

The EIEIO package has updated in Emacs 25. Some function used in o-blog has been obsolate. It makes this project can not run.

Debugger entered--Lisp error: (invalid-slot-name "#<ob:framework-component ob:framework-component>" lead) signal(invalid-slot-name ("#<ob:framework-component ob:framework-component>" lead))

I checked the codes of o-blog. I find that it use set-slot-valuefunction, and this function hase been obsolate in EIEIO package. There may be other function that can not be used.

carlhenrikek commented 7 years ago

Did you have any luck with sorting this out? I'm still unable to make this run in emacs-25.

mkrauss commented 7 years ago

Updating set-slot-value forms with CLOS style setf forms would be pretty easy, but there seem to be a lot of things failing in Emacs 25. This is too bad, it is making o-blog unusable. This seems to be the only real package of it's kind and I'd be willing to help fix it up but I'm not even sure where to begin, and there has been no activity for a while... @renard - is this project dead?

jonnay commented 7 years ago

https://github.com/renard/o-blog/pull/162 at least gets the package loading. I am still having problems, but maybe I can get somewhere with it.

cviebig commented 7 years ago

+1 :-)

jonnay commented 7 years ago

I'm kinda stuck at ob:parse-config. https://github.com/renard/o-blog/blob/master/lisp/o-blog-backend-org.el#L99

ob:get-name just returns the object name which if you're doing an org export is "ob:backend:org". So why would it then treat the result of that as if it were a file?

jonnay commented 7 years ago

Yeah. All the problems I'm having now are related to ob:get-name. There are a number of functions that expect it to return the file it is working on, and instead it returns the classname. I don't understand why you would expect the class name to be a file name as well.

jonnay commented 7 years ago

Sorry Guys, I'm hosed. I don't think I can fix this. It seems like I would be fighting a version change in oblog, as well as emacs. So I'm out. :/