From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: "due today" agenda command stopped working Date: Mon, 15 Mar 2010 16:16:14 +0100 Message-ID: References: <92AB032F-5C05-45F6-8861-80EC467CCA87@gilbert.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NrERd-0007C6-HD for emacs-orgmode@gnu.org; Mon, 15 Mar 2010 13:51:13 -0400 Received: from [140.186.70.92] (port=57414 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrERX-00079U-4n for emacs-orgmode@gnu.org; Mon, 15 Mar 2010 13:51:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NrERR-0007SG-Et for emacs-orgmode@gnu.org; Mon, 15 Mar 2010 13:51:03 -0400 Received: from mail-ew0-f228.google.com ([209.85.219.228]:41078) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrERR-0007S6-7e for emacs-orgmode@gnu.org; Mon, 15 Mar 2010 13:51:01 -0400 Received: by ewy28 with SMTP id 28so911023ewy.33 for ; Mon, 15 Mar 2010 10:50:58 -0700 (PDT) In-Reply-To: <92AB032F-5C05-45F6-8861-80EC467CCA87@gilbert.org> 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: Michael Gilbert Cc: emacs-orgmode Mailinglist Hi Michael, are you using git to keep up to date? Then you could use git bisect =20 to locate the precise commit where this behavior changed - that would =20= 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 =97 > > A while back, Carsten helped me out with a "due today" custom agenda =20= > 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 =20= > working properly. What it does now is list a small subset of the =20 > items due today. After an hour looking at them, I can't figure out =20 > why it's leaving most of them out. The pattern just isn't clear to =20 > me. I'm wondering if something this command depends upon has =20 > changed. Well, probably it has, but the questions are: What changed? =20= > And is there another solution to the "due today" custom command? > > Any thoughts? > > =97 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