minad / org-modern

:unicorn: Modern Org Style
GNU General Public License v3.0
1.51k stars 46 forks source link

Triggers (invalid-function static-if) constantly #222

Closed Schievel1 closed 2 months ago

Schievel1 commented 2 months ago

If org-modern-mode it active for the current buffer and point is in this buffer, it shows redisplay--pre-redisplay-functions: (invalid-function static-if) [136 times] in the minibuffer. With the times value counting up.

I do not know if this is really a problem of org-modern or if it is normal with my very new version of emacs that this macro is missing. But if it's the latter you probably want to know either.

I am using emacs 29.3.50

Schievel1 commented 2 months ago

Ok, I think Doom Emacs' version of compat was just a little too old. 13 hours ago Hendrik pushed a commit that bumps compat. So a simple doom upgrade helped here.

minad commented 2 months ago

I wonder - is Doom still using Straight? I hope they upgrade to Elpaca soon, which will catch such dependency problems with warnings. Note that when you install packages from Git, dependencies must still be respected. Org-modern from the main branch requires Compat version 30.

Schievel1 commented 2 months ago

Correct, they still use straight.