emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: "Gary ." <emacs@garydjones.name>
Cc: emacs-orgmode@gnu.org
Subject: Re: Repeating TODOs
Date: Thu, 25 Mar 2010 07:39:01 -0400	[thread overview]
Message-ID: <87zl1wiqay.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <a29c7cae1003250140k5297acbfyd20d2dea2d5359d7@mail.gmail.com> (Gary .'s message of "Thu\, 25 Mar 2010 09\:40\:07 +0100")

"Gary ." <emacs@garydjones.name> writes:

> As I mentioned yesterday, I am trying to follow
> http://orgmode.org/worg/org-tutorials/tracking-habits.php
>
> I have the following entry:
>
> ** TODO Go to the gym                   :habit:
>    SCHEDULED: <2010-03-24 Wed .+2d>
>
> and even managed to successfully go to the gym as planned :) However,
> I couldn't update the status until today (the day after I completed
> the task), so when I updated the status with C-c C-t it added the
> next occurence two days from *today*. It might not always be the way
> that I update the status a day after, sometimes it might be the same
> day, or two days after, or whatever. Is there a way, short of
> manually editing the file, of taking care of that? I know it's
> because of the "." in the .+2d but given that sometimes I won't do it
> on the planned date, I think it's best to have that in there - or is
> there a better solution for when I miss the planned date?

I think it works as you want if you just drop the .
>    SCHEDULED: <2010-03-24 Wed +2d>

.+2d is 2 days from today
+2d  is 2 days later
++2d repeat 2 days later until the date is after today

I think all of these formats work with habits.

HTH,
Bernt

  reply	other threads:[~2010-03-25 11:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25  8:40 Repeating TODOs Gary .
2010-03-25 11:39 ` Bernt Hansen [this message]
2010-03-25 18:32   ` Memnon Anon
2010-03-25 21:19     ` Bernt Hansen
2010-03-26 10:01     ` Gary .

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=87zl1wiqay.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=emacs@garydjones.name \
    /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).