emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] "due today" agenda command stopped working


From: Carsten Dominik
Subject: Re: [Orgmode] "due today" agenda command stopped working
Date: Mon, 15 Mar 2010 16:16:14 +0100

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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten







reply via email to

[Prev in Thread] Current Thread [Next in Thread]