emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Nathaniel Flath <flat0103@gmail.com>
Cc: emacs-orgmode@gnu.org, Carsten Dominik <carsten.dominik@gmail.com>
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	[thread overview]
Message-ID: <87wruwfskr.fsf@fastmail.fm> (raw)
In-Reply-To: <AANLkTik8Iv8CZjbAHwWoGAyKpZAG3m5G1DDpfQm4ayZG@mail.gmail.com> (Nathaniel Flath's message of "Fri, 21 May 2010 23:51:23 -0400")

Nathaniel Flath <flat0103@gmail.com> 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

  reply	other threads:[~2010-05-22  4:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-02 17:37 [PATCH] only display a scheduled item if it is due today or in the past Nathaniel Flath
2010-05-03 14:42 ` Nathan Neff
2010-05-13  5:36 ` Carsten Dominik
2010-05-22  3:51   ` Nathaniel Flath
2010-05-22  4:50     ` Matt Lundin [this message]
2010-05-22 14:09       ` Nathaniel Flath
2010-05-22 16:27         ` Matthew Lundin
2010-05-27 16:44           ` Nathan Neff
2010-06-04 11:17         ` Carsten Dominik
2010-06-04 12:51           ` Matthew Lundin
2010-06-06  4:38             ` Carsten Dominik
2010-06-23 23:55               ` Nathan Neff
2010-06-26  7:00                 ` Livin Stephen Sharma
2010-06-28  3:18                   ` Nathan Neff

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=87wruwfskr.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=flat0103@gmail.com \
    /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).