[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] "due today" agenda command stopped working
From: |
Michael Gilbert |
Subject: |
[Orgmode] "due today" agenda command stopped working |
Date: |
Sun, 14 Mar 2010 09:20:23 -0700 |
Hi —
A while back, Carsten helped me out with a "due today" custom agenda command.
This is it:
(setq org-agenda-custom-commands
'(("d" "Due today" agenda ""
((org-deadline-warning-days 0)
(org-agenda-skip-scheduled-if-deadline-is-shown t)
(org-agenda-skip-function
(lambda ()
(let* ((dl (org-entry-get nil "DEADLINE")))
(if (or (not dl)
(equal dl "")
(org-time> dl (org-time-today)))
(progn (outline-next-heading) (point))))))))
)
I routinely keep up with org-mode updates and recently this stopped working
properly. What it does now is list a small subset of the items due today. After
an hour looking at them, I can't figure out why it's leaving most of them out.
The pattern just isn't clear to me. I'm wondering if something this command
depends upon has changed. Well, probably it has, but the questions are: What
changed? And is there another solution to the "due today" custom command?
Any thoughts?
— Michael
- [Orgmode] "due today" agenda command stopped working,
Michael Gilbert <=