emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Justin Vallon <justinvallon@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: PATCH: Re: Recurring TODO with hours not scheduled correctly
Date: Thu, 12 Dec 2019 12:16:15 +0100	[thread overview]
Message-ID: <87pngtrdz4.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <9c4d4ccb-5a92-d12d-60ce-a778684b689a@gmail.com> (Justin Vallon's message of "Sat, 7 Dec 2019 11:00:16 -0500")

Hello,

Justin Vallon <justinvallon@gmail.com> writes:

> Following up with a patch to make .+1h work "like" .+1d:
>
> - When computing the new scheduled date, the repeater-type "." would
> shift the scheduled date to today, then adjust by the interval.
> Shifting the date would leave the time unchanged
> - When shifting by hours, the old time would remain, and then be shifted
> by the interval
> - With the patch, ".+1h" will shift schedule-date to now (vs today),
> then add "1h" as before.  ".+1d" will have the old behavior (shift date,
> but leave time alone).
> - That is:
>   - ".+1d" is tomorrow at same scheduled time
>   - ".+1h" is in one hour
>   - ".+24h" is 24h from now.

That seems reasonable.

Would you mind providing an entry in ORG-NEWS, possibly some pointers in
the manual, if appropriate, and add a few tests in
`test-org/auto-repeat-maybe' located in test-org.el file?

Thank you!

Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2019-12-12 11:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-03  6:03 Recurring TODO with hours not scheduled correctly Justin Vallon
2019-12-07 16:00 ` PATCH: " Justin Vallon
2019-12-12 11:16   ` Nicolas Goaziou [this message]

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=87pngtrdz4.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=justinvallon@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).