From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Gilbert Subject: "due today" agenda command stopped working Date: Sun, 14 Mar 2010 09:20:23 -0700 Message-ID: <92AB032F-5C05-45F6-8861-80EC467CCA87@gilbert.org> Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NqqYL-0006jU-J2 for emacs-orgmode@gnu.org; Sun, 14 Mar 2010 12:20:33 -0400 Received: from [140.186.70.92] (port=33570 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NqqYK-0006jJ-I8 for emacs-orgmode@gnu.org; Sun, 14 Mar 2010 12:20:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NqqYJ-0000b3-8A for emacs-orgmode@gnu.org; Sun, 14 Mar 2010 12:20:32 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:42729) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NqqYJ-0000av-3c for emacs-orgmode@gnu.org; Sun, 14 Mar 2010 12:20:31 -0400 Received: by pwj9 with SMTP id 9so1858678pwj.0 for ; Sun, 14 Mar 2010 09:20:29 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Mailinglist Hi =97 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? =97 Michael