emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nathaniel Flath <flat0103@gmail.com>
To: Matt Lundin <mdl@imapmail.org>
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 10:09:36 -0400	[thread overview]
Message-ID: <AANLkTil4TOpoQT_iwznk6goDu4eahBWslL2bf6H_4o7I@mail.gmail.com> (raw)
In-Reply-To: <87wruwfskr.fsf@fastmail.fm>


[-- Attachment #1.1: Type: text/plain, Size: 2641 bytes --]

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 <mdl@imapmail.org> wrote:

> 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
>

[-- Attachment #1.2: Type: text/html, Size: 3311 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-05-22 14:09 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
2010-05-22 14:09       ` Nathaniel Flath [this message]
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=AANLkTil4TOpoQT_iwznk6goDu4eahBWslL2bf6H_4o7I@mail.gmail.com \
    --to=flat0103@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.org \
    /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).