From: Carsten Dominik <carsten.dominik@gmail.com>
To: Michael Gilbert <mcg@gilbert.org>
Cc: org-mode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: org-agenda-skip-entry-if 'notdeadline?
Date: Mon, 26 Oct 2009 16:22:23 +0100 [thread overview]
Message-ID: <77C6E01E-3FF9-4129-BED2-CD3AA1F9C753@gmail.com> (raw)
In-Reply-To: <B7A1A187-D9E1-49CE-81F8-DC0FE131EF5F@gilbert.org>
On Oct 26, 2009, at 5:49 AM, Michael Gilbert wrote:
> Hi --
>
> Still trying to figure out how to show only (current) deadlines in
> my agenda. I use org-agenda-skip-entry-if 'notdeadline but that
> still seems to include all the scheduled items who have deadlines
> (some time in the future, but not currently). I apologize for
> missing something obvious, but ... any advice?
>
(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))))))))))
prev parent reply other threads:[~2009-10-26 15:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-26 4:49 org-agenda-skip-entry-if 'notdeadline? Michael Gilbert
2009-10-26 15:22 ` Carsten Dominik [this message]
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=77C6E01E-3FF9-4129-BED2-CD3AA1F9C753@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mcg@gilbert.org \
/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).