From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: [PATCH] only display a scheduled item if it is due today or in the past Date: Sat, 22 May 2010 00:50:28 -0400 Message-ID: <87wruwfskr.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=36360 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFgfQ-0004SI-3v for emacs-orgmode@gnu.org; Sat, 22 May 2010 00:50:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFgfN-0001aH-Rz for emacs-orgmode@gnu.org; Sat, 22 May 2010 00:50:31 -0400 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:38385) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFgfN-0001aA-P0 for emacs-orgmode@gnu.org; Sat, 22 May 2010 00:50:29 -0400 In-Reply-To: (Nathaniel Flath's message of "Fri, 21 May 2010 23:51:23 -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: Nathaniel Flath Cc: emacs-orgmode@gnu.org, Carsten Dominik Nathaniel Flath writes: > On May 2, 2010, at 7:37 PM, Nathaniel Flath wrote: > > One thing I've wanted from org-mode is the ability to have > certain items 'hidden' from the agenda until the day they are > scheduled - this patch implements this for all properties who > have a STYLE property of 'hidden'. =C2=A0 I ended up implementing > this(the patch is attached), and thought I'd contribute it to > org-mode. If you have any comments, please let me know. > The primary use I have for it is essentially what Nathan said - it > controls display or recurring items to be the same as habits, with the > exception of not displaying the habit graph. To avoid seeing future instances of recurring tasks, you can set the variable org-agenda-repeating-timestamp-show-all to nil.=20 > I also use it when scheduling items that can't be started before a > certain date.=C2=A0 For example, I recently got a note that my tax return > was being inverstigated and that I should contact the IRS in 30 days.=C2= =A0 > Now, I schedule this item for 30 days from now, but in 23 days it > starts showing up in my weekly agenda, even though there's nothing that > can be done about it at that point.=C2=A0 I'd much rather have it only > display when it can actually be worked on. I'm still a bit confused about this patch. By definition, scheduled items do not appear on the agenda until the day on which they are scheduled. As I understand it, this patch is primarily for weekly agendas---i.e., to prevent items scheduled on Friday from appearing under the Friday slot until it is indeed Friday. In that case, why not use the daily agenda instead of the weekly agenda? Would it perhaps be better to write a personal skip function that handles this instead of hard-coding another test in org-agenda.el? Best, Matt