To create a customized org agenda view that displays completed tasks from the previous week, you can follow these steps:
(setq org-agenda-custom-commands
'(("p" "Previous week's completed tasks"
((todo "DONE"
((org-agenda-start-on-weekday 1)
(org-agenda-skip-function
'(org-agenda-skip-entry-if 'scheduled))
(org-agenda-prefix-format " %T %?-12t% s")))))))
Save the file and restart Emacs.
Open Org Agenda by typing C-c a a, and then press p to view the customized agenda.
This agenda view will display the completed tasks from the previous week, starting from Monday (org-agenda-start-on-weekday 1). It will skip entries that are scheduled for this week (org-agenda-skip-function) and display the timestamp (org-agenda-prefix-format) and task status (DONE).
Note that you can customize this view further by adjusting the org-agenda-prefix-format or changing the search criteria of the todo command.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-05-17 01:43:04 +0000
Seen: 11 times
Last updated: May 17 '23
Can you provide a terminal command that displays the resolution of the connected monitors?
How does Windows support the use of presentation displays?
What is a Chrome extension built with React that displays highlighted text?
How can I modify the week day format in the React datetime library from Su Mo to Sun, Mon?