Previously, using :take was throwing "Invalid org-super-agenda-groups-selector" errors when used with valid syntax. This fixes that so :take works as intended.
The cause/solution is described by @cashpw in the linked issue:
I think it's the &rest that's causing it. The group variable appears to be wrapped by an extra set of parenthesis in my debug window (eg: ((:tag "concept")) rather than (:tag "concept")). I suspect &rest is adding this to make group into a list.
I've been using this change locally for a few months successfully, but have not done any more rigorous testing.
Just wanted to make a PR to summarize the fix from that issue and make it easy to roll out if this is indeed the correct change to make; feel free to change/remove/supersede this PR as you see fit!
Fixes https://github.com/alphapapa/org-super-agenda/issues/216
Previously, using
:take
was throwing "Invalid org-super-agenda-groups-selector" errors when used with valid syntax. This fixes that so:take
works as intended.The cause/solution is described by @cashpw in the linked issue:
I've been using this change locally for a few months successfully, but have not done any more rigorous testing.
Just wanted to make a PR to summarize the fix from that issue and make it easy to roll out if this is indeed the correct change to make; feel free to change/remove/supersede this PR as you see fit!