My config (spacemacs with ~0 extra) sets a CLOSED time when I move a task in org-mode to DONE:

***** DONE A task
CLOSED: [2022-09-12 Mon 16:18] SCHEDULED: <2022-09-07 Wed>

It's easy to only show DONE tasks, but now I'd like to get an agenda view that can use the timestamp set for CLOSED so that I can look back at what items I've finished in the past week. What can I do to build this?

I'm a beginner at this so I'm probably missing some basics. For instance I don't know what the difference is between a [timestamp] and a <timestamp>.

  • For the difference between [ts] and <ts> see Inactive timestamp.
    – NickD
    Sep 13, 2022 at 17:34
  • Inactive timestamps ([ts]) do not contribute to the agenda, whereas active timestamps (<ts>) do.
    – NickD
    Jul 11 at 2:10

1 Answer 1


In the agenda dispatcher view (i.e. after C-c a if you have customized the setting as the manual suggests - or after M-x org-agenda), select m for a query to match tags/properties/todo and specify the following entry:


That should give you a list of DONE items that were CLOSED in the past week. I don't think it's sorted though and I don't remember how to sort that view (or even if it is possible). Untested.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.