emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Michael Gilbert <magicgilbert@gmail.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: "due today" agenda command stopped working
Date: Mon, 15 Mar 2010 16:16:14 +0100	[thread overview]
Message-ID: <C5101892-AD1E-4AFF-8E57-F08101FB6326@gmail.com> (raw)
In-Reply-To: <92AB032F-5C05-45F6-8861-80EC467CCA87@gilbert.org>

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

  reply	other threads:[~2010-03-15 17:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-14 16:20 "due today" agenda command stopped working Michael Gilbert
2010-03-15 15:16 ` Carsten Dominik [this message]
2010-03-17 14:44 ` David Maus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C5101892-AD1E-4AFF-8E57-F08101FB6326@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=magicgilbert@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).