minad / org-modern

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

org-modern todo stopped working on custom agenda views #210

Closed cpence closed 6 months ago

cpence commented 6 months ago

Sorry for what is a strangely vague bug report, but I recently updated my package repositories and the new version of org-modern that I installed seems to no longer support custom agenda views (i.e., org-agenda-custom-commands).

I've done a bit of digging, and it seems like in these views, org-todo-keywords-for-agenda is actually nil, as is org-todo-keywords-1, so org-modern doesn't know what it's supposed to prettify. I have no idea why this would have happened. I've checked and the behavior reproduces both for global-org-modern-mode and if org-modern-agenda is part of the finalize-hook.

Any ideas what might have gone wrong or how I could help debug further?