-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
':children todo' doesn't seem to work #75
Comments
:children todo
doesn't seem to work
Hi, Thanks for the kind words and the detailed bug report. You seem to be correct in that it's not behaving quite right. I need to add to the test case and investigate further. It's possible that the version of Org being used is relevant. Which version of Org and Emacs are you using? Thanks. |
After a bit more checking, I'm not sure what the problem is. Here's what I did:
(setq org-super-agenda-groups
'((:name "Active Projects"
:and (:todo "TODO" :children todo))
(:name "Stuck Projects"
:and (:todo ("WAITING" "HOLD") :children todo))
(:name "Pending Refile"
:tag "REFILE")
(:name "On Hold"
:order 99)))
The resulting "Global list of TODO items of type: ALL" Then I added a child to-do item to the So while I did find some incorrect behavior in the existing test case, testing the specific scenario you describe seems to work correctly. Can you verify this with an ECM? Thanks. |
Yes, and what you describe is what I see as well. The problem however is that I still see the DASH7 item in the Active Projects list if I remove the TODO keyword from its child item, making it a TODO item with no child TODOs, just child bullets. See? The project has child items, but none of them are TODO child items, so I would expect Versions are I'm not strong with Elisp at all or I'd debug and PR myself, but imagine that something is funky with ~line 507 of org-super-agenda.el Either
|
Ok, I think I've fixed it. Please let me know if it works correctly for you now. Thanks for reporting! |
Works, thanks! |
I'm having the same issue with 1.2-pre from melpa. The following TODO entry will be selected with
Thanks! |
@whirm Thanks, it should be actually fixed now. |
Fixes alphapapa#75. Thanks to Ben Leggett (@bleggett) for reporting.
Actually fixes alphapapa#75. Thanks to Elric Milon (@whirm) for reporting.
First off, this package is AMAZING and is letting me get rid of lots of handrolled/copypasted org-agenda cruft, so thanks. I'm like 90% of the way to replacing half of my emacs config file with a 10-line statement.
Second, I'm either doing something wrong or
:children todo
isn't working consistently.Given this TODO item with children (but no TODO tagged children):
and this o-s-a group config:
I'm still seeing the above TODO entry in Active Projects, even though my understanding of
:and (:todo "TODO" :children todo)
is that it should ONLY include things thatAND
and the entry in question fails # 2, and so should be filtered out of the group, but isn't.
Any ideas? Am I misunderstanding something here?
The text was updated successfully, but these errors were encountered: