~protesilaos/denote

1

Strange error with denote-link-ol-story

Details
Message ID
<87r0zovwix.fsf@svenseebeck.me>
DKIM signature
missing
Download raw message
Hi Prot!

I have been getting a weird error message when restarting emacs with the
error-code: symbol's function definition is void: denote-link-ol-store.
It's weird because it all of a sudden showed up with me not updating or
changing anything.  I deleted the package (from ELPA), then re-installed
and it worked just fine before showing up again.

I cloned the repository now and that seems to be working just fine
again.  Not sure what is the issue here.

All the best,

Sven

Re: Strange error with denote-link-ol-story

Details
Message ID
<87o7usklx2.fsf@protesilaos.com>
In-Reply-To
<87r0zovwix.fsf@svenseebeck.me> (view parent)
DKIM signature
missing
Download raw message
> From: Sven Seebeck <hello@svenseebeck.me>
> Date: Tue,  4 Oct 2022 11:11:02 +0300
>
> Hi Prot!

Hello Sven!

> I have been getting a weird error message when restarting emacs with the
> error-code: symbol's function definition is void: denote-link-ol-store.
> It's weird because it all of a sudden showed up with me not updating or
> changing anything.  I deleted the package (from ELPA), then re-installed
> and it worked just fine before showing up again.

Maybe you 'require' Denote before Org in your config?  If so, it means
that we need to check how 'denote-link-ol-store' behaves in that
scenario.  The 'org-list-set-parameters' in denote.el is wrapped in the
appropriate 'eval-after-load', so it basically waits for Org to be
loaded, but maybe we need the same arrangement for the link method?

I am copying this to Marc, who helped implement this feature.

> I cloned the repository now and that seems to be working just fine
> again.  Not sure what is the issue here.

The sequencing of Denote and Org is my only explanation right now.  Do
you get a backtrace?  If you restart Emacs, does the error occur again?
If you 'require' Org and then Denote and then restart Emacs, does the
error show up?

All the best,
Prot 

-- 
Protesilaos Stavrou
https://protesilaos.com
Reply to thread Export thread (mbox)