From mboxrd@z Thu Jan 1 00:00:00 1970 From: Trevor Murphy Subject: Re: Can I ask "Which day is it?" when filtering org-agenda views? Date: Tue, 10 Sep 2013 22:07:26 -0400 Message-ID: <87zjrkkt5t.fsf@gmail.com> References: <87k3ion228.fsf@gmail.com> <87bo40rw8n.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJZqH-0002wa-GA for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 22:07:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJZq5-0003yW-TM for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 22:07:41 -0400 Received: from mail-yh0-x233.google.com ([2607:f8b0:4002:c01::233]:40577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJZq5-0003xW-Nh for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 22:07:29 -0400 Received: by mail-yh0-f51.google.com with SMTP id t59so3277923yho.24 for ; Tue, 10 Sep 2013 19:07:29 -0700 (PDT) In-Reply-To: <87bo40rw8n.fsf@gmail.com> (Nick Dokos's message of "Tue, 10 Sep 2013 21:19:04 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: emacs-orgmode@gnu.org Nick Dokos writes: > > If I read the code correctly, the date of the item should be > available to the function as the value of the dynamically bound > variable "date", in (month day year) form. So you should be able > to compare that to today's date, obtained with > (calendar-gregorian-from-absolute (org-today)) for example. > Bah! That's what I get for training myself to ignore dynamic variables. Thank you, this is precisely the suggestion I was looking for. -- Trevor Murphy GnuPG Key: 0xCB06EAAF