EFLS / zetteldeft

A Zettelkasten system! Or rather, some functions on top of the emacs deft package.
https://efls.github.io/zetteldeft
GNU General Public License v3.0
394 stars 42 forks source link

Incompatibility with Org 9.5.5? #140

Closed pefimo closed 1 year ago

pefimo commented 1 year ago

Dear @EFLS,

I've updated some of my packages yesterday, ending up with Org 9.5.5 and the most recent Zettledeft. Since the update, auto-loading the module causes void function error on org-dynamic-block-define from zetteldeft.org:2285.

Could you please recommend a version of Org that Zettledeft is known to work with? Or if you're working with the up-to-date version and do have the function, could you please give me a hint where it's defined?

Thank you for developing this wonderful utility. I think it is my most important tool at the moment.

EFLS commented 1 year ago

That's strange, I'm also on Org 9.5.5, and I don't think this is a recent change. Perhaps you load Zetteldeft before Org in your setup? (That might be something I need to take into account on my end.)

EFLS commented 1 year ago

Pushed a change that should take care of this: added a (with-eval-after-load 'org-mode around the org-dynamic-block-define. Please check whether this fixes your issue.

pefimo commented 1 year ago

Thank you so much @EFLS, I've just upgraded from melpa and the issue is indeed solved!