Hi Michael,

are you using git to keep up to date? Then you could use git bisect to locate the precise commit where this behavior changed - that would then make it very easy to find out what is causing the problem.

- Carsten

On Mar 14, 2010, at 5:20 PM, Michael Gilbert wrote:

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



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten





_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to