Skip to content
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

Group item by last modified state ? #230

Open
deb75 opened this issue Aug 15, 2022 · 3 comments
Open

Group item by last modified state ? #230

deb75 opened this issue Aug 15, 2022 · 3 comments

Comments

@deb75
Copy link

deb75 commented Aug 15, 2022

Hi,

I would like to select items with a list of todo keywords, sort them from the latest to oldest modified state and
only show 5 of them. Here is how I began to write :

                 (org-super-agenda-groups
                  '(
                    (:name "Upcoming tasks" :todo ("NEXT" "TODO") :order 0)
                    (:name "Current tasks" :todo ("STARTED" "ONGOING" "WAITING") :order 1)
                    (:name "Completing tasks" :todo "ENDING" :order 2)
                    (:name "Past tasks"
                           :todo ("DONE" "DELEGATED" "WITHDRAWN" "SUPERSEDED" "POSTPONED" "CANCELLED")
                           :order 3)
                    (:discard (:anything))
                    ))

The relevant group is "Past tasks", it collects items with some todo keywords but then,
how to sort them according to the latest modified state ? an keep only 5 of them ?

Regards

@alphapapa
Copy link
Owner

Hello,

  1. See the :take group selector.
  2. This package does not select nor sort items. Please see the FAQ: https://github.com/alphapapa/org-super-agenda#faq

@deb75
Copy link
Author

deb75 commented Aug 16, 2022

Thanks,

Just a side question, in my above example, the "past tasks" do not show up although I do have some headlines with the "DONE" todo keywords. Is there an error in my configuration ?

@alphapapa
Copy link
Owner

Again, this package does not select nor sort items. Please see the FAQ: https://github.com/alphapapa/org-super-agenda#faq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants