From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: due today notification Date: Sat, 24 Apr 2010 09:40:08 +0200 Message-ID: <87pr1p5mef.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5a4H-0002wi-TL for emacs-orgmode@gnu.org; Sat, 24 Apr 2010 03:46:26 -0400 Received: from [140.186.70.92] (port=33093 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5a4C-0002hR-Ql for emacs-orgmode@gnu.org; Sat, 24 Apr 2010 03:46:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5ZyG-0005wh-1U for emacs-orgmode@gnu.org; Sat, 24 Apr 2010 03:40:12 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:50914) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5ZyF-0005wD-TK for emacs-orgmode@gnu.org; Sat, 24 Apr 2010 03:40:12 -0400 Received: by wyf19 with SMTP id 19so1038867wyf.0 for ; Sat, 24 Apr 2010 00:40:10 -0700 (PDT) In-Reply-To: (Buck Brody's message of "Fri, 23 Apr 2010 13:12:35 -0400") 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: buckbrody@gmail.com Cc: emacs-orgmode Hi, Buck Brody 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