From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: "due today" agenda command stopped working Date: Wed, 17 Mar 2010 15:44:29 +0100 Message-ID: <87eijj3t4i.wl%dmaus@ictsoc.de> References: <92AB032F-5C05-45F6-8861-80EC467CCA87@gilbert.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============2023309467==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NruU9-00071n-Sj for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 10:44:37 -0400 Received: from [140.186.70.92] (port=49792 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NruU7-00070S-UG for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 10:44:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NruU6-0007SC-3d for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 10:44:35 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:38784) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NruU5-0007Ry-UV for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 10:44:34 -0400 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 --===============2023309467== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Wed_Mar_17_15:44:29_2010-1"; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Wed_Mar_17_15:44:29_2010-1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Michael Gilbert wrote: >Hi =E2=80=94 >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 thethere another solution to the "due today" custom command? I cannot reproduce this with Org-mode version 6.34trans (release_6.34c.224.ga8427) on GNU Emacs 24.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.7) of 2010-03-11 on elegiac, modified by Debian My test file: ,---- | * TODO Another one | DEADLINE: <2010-03-20 Sa> |=20 | * TODO Test | DEADLINE: <2010-03-17 Mi> `---- Setting `org-agenda-custom-commands' as mentioned and hitting C-a d show only the headline with deadline of today whilst using C-a a shows both. Wild guess: Do the headlines appear in the weekly/daily agenda view and are the files with headlines that are not shown with C-a d in Orgmode's list of agenda files? HTH -- David --=20 OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Wed_Mar_17_15:44:29_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkug6s0ACgkQma24O1pEeOYaiQD+MP2har8EIo9z42DjAuxbLFg0 6IalFmXc4eoHOobXassA/RzfkNnVrGn4RwxV1HtfG/XUE5OluZeoPH1pEwu6YH3b =Iqae -----END PGP SIGNATURE----- --pgp-sign-Multipart_Wed_Mar_17_15:44:29_2010-1-- --===============2023309467== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============2023309467==--