From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [PATCH] only display a scheduled item if it is due today or in the past Date: Fri, 4 Jun 2010 13:17:15 +0200 Message-ID: References: <87wruwfskr.fsf@fastmail.fm> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=47992 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKVNc-00054l-7J for emacs-orgmode@gnu.org; Fri, 04 Jun 2010 07:48:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKVNX-0007YX-39 for emacs-orgmode@gnu.org; Fri, 04 Jun 2010 07:48:04 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:49283) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKVNW-0007XA-Uc for emacs-orgmode@gnu.org; Fri, 04 Jun 2010 07:47:59 -0400 Received: by mail-wy0-f169.google.com with SMTP id 39so896188wyb.0 for ; Fri, 04 Jun 2010 04:47:58 -0700 (PDT) In-Reply-To: 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: Matt Lundin , emacs-orgmode@gnu.org Hi, can someone please summarize what the status of this discussion is? I have lost track.... Thanks! - Carsten On May 22, 2010, at 4:09 PM, Nathaniel Flath wrote: > Yes, this patch is primarily for weekly agendas - it changes when > items are displayed to be the same as having a style of 'habit, > while also allowing to do it for non-recurring items. > > org-agenda-repeating-timestamp-show-all doesn't do quite what I want > - I want the item to not show on my weekly agenda if it isn't > scheduled for today, where that will make it show a maximum of once. > > I'd be wiling to write a personal skip function - I mainly did it > this way because I was emulating org-habit, and then I thought it > may be useful to other people. This is what I'll fall back to if > you decide not to install this patch. > > Thanks, > Nahtaniel Flath > > On Sat, May 22, 2010 at 12:50 AM, Matt Lundin > wrote: > 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'. 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. > > > I also use it when scheduling items that can't be started before a > > certain date. For example, I recently got a note that my tax return > > was being inverstigated and that I should contact the IRS in 30 > days. > > 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. 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 > - Carsten