From: Bastien <bastien.guerry@wikimedia.fr>
To: buckbrody@gmail.com
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: due today notification
Date: Sat, 24 Apr 2010 09:40:08 +0200 [thread overview]
Message-ID: <87pr1p5mef.fsf@bzg.ath.cx> (raw)
In-Reply-To: <n2z8bd4668a1004231012s8d606978o2ccdd091fb7ee0a3@mail.gmail.com> (Buck Brody's message of "Fri, 23 Apr 2010 13:12:35 -0400")
Hi,
Buck Brody <buckbrody@gmail.com> writes:
> Is there a way to know if an item is due today by only looking at the headline
> or at an agenda?
The is the agenda custom command I use for this:
,----
| ("d" "Due today" agenda ""
| ((org-agenda-ndays 1)
| (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))))))))
`----
It shows all deadlines due today.
HTH
--
Bastien
prev parent reply other threads:[~2010-04-24 7:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-23 17:12 due today notification Buck Brody
2010-04-23 22:54 ` Matt Lundin
2010-04-26 16:48 ` Buck Brody
2010-04-27 19:01 ` Matthew Lundin
2010-04-28 19:12 ` Buck Brody
2010-04-28 19:57 ` Matthew Lundin
2010-04-28 20:14 ` Buck Brody
2010-04-28 20:38 ` Matthew Lundin
2010-04-28 20:46 ` Nick Dokos
2010-04-28 21:29 ` Buck Brody
2010-04-28 22:34 ` Nick Dokos
2010-04-24 7:40 ` Bastien [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=87pr1p5mef.fsf@bzg.ath.cx \
--to=bastien.guerry@wikimedia.fr \
--cc=buckbrody@gmail.com \
--cc=emacs-orgmode@gnu.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).