Is there a way to list all agenda entries which have active timestamps state (no DEADLINE or SCHEDULED)? I ask because these get lost in the agenda unlike Deadlines and Scheduled tasks, which keep being reminded. I often mark tasks just with timestamps and some of them are unacted upon and left in the past. The only way to check for them is to browse the agenda week by week. I hope I made myself clear here. Thanks!
Asked
Active
Viewed 48 times
1 Answers
0
You can use tag/property matches:
run
M-x org-agenda m
and enterTIMESTAMP<"<today>"
or use a
org-agenda-custom-command
(setq org-agenda-custom-commands
'(("t" "Timestamp Before today"
((tags "TIMESTAMP<\"<today>\"")))))
For more details, please refer Matching tags and properties
section of Org Manual:
M-x info-display-manual
(C-h R
)- enter and select
org
M-x Info-menu
(m
)- enter and select
Matching tags and properties

Tianshu Wang
- 1,724
- 4
- 7
-
Thank you, exactly what I needed! note: I think one pair of brackets is not necessary -> ("t". note2: (2) works but (1) doesn't in my system: I run M-x org-agenda m and enter TIMESTAMPS<"
" and only shows me one entry weirdly. – Emmanuel Goldstein Feb 12 '22 at 16:12 -
1Hi, 1) the outside pair of brackets if necessary if you have multi agenda custom commands, the default value of `org-agenda-custom-commands` also have it. 2) both work for me on my side, there is not 's' after `TIMESTAMP` – Tianshu Wang Feb 14 '22 at 07:04
-
Thanks for all answers. It works now. Is it possible to add the condition to exclude all DONE and CANCELLED items? – Emmanuel Goldstein Feb 14 '22 at 11:57
-
1Yes, the manual has detailed instructions, you can find the example there. 'TIMESTAMP<"
"/!-DONE-CANCELLED' – Tianshu Wang Feb 14 '22 at 12:21 -
In which section is this info specifically? Thanks! – Emmanuel Goldstein Feb 14 '22 at 20:50
-
1I have mentioned in this answer. – Tianshu Wang Feb 15 '22 at 01:10
-
Thanks, my bad! – Emmanuel Goldstein Feb 16 '22 at 07:23
-
One problem: If I do `TIMESTAMP<"
"` I get all timestamped entries before today (all: DONE, TODO, without TODO status, etc.). When I do `TIMESTAMP<" – Emmanuel Goldstein Feb 16 '22 at 19:21"/!-DONE`, I not only exclude `DONE` but also any other tasks that have status (those who are only timestamped without any selected status). I would like to see these timestamped entries too. -
1@EmmanuelGoldstein Hi, I answer you at https://emacs.stackexchange.com/questions/70572/how-to-show-timestamped-entries-without-todo-status/70578#70578 – Tianshu Wang Feb 17 '22 at 01:51