emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Bug: org-auto-repeat-maybe only updates first timestamp [7


From: Matt Lundin
Subject: [Orgmode] Re: Bug: org-auto-repeat-maybe only updates first timestamp [7.01trans]
Date: Fri, 17 Sep 2010 08:05:23 -0400
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

"Andrew J. Korty" <address@hidden> writes:

> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen.  You don't know how to make a good report?  See
>
>     http://orgmode.org/manual/Feedback.html#Feedback
>
> Your bug report will be posted to the Org-mode mailing list.
> ------------------------------------------------------------------------
>
> If I have multiple timestamps in a TODO item, org-auto-repeat-maybe
> only advances the first one.  In the following example, I'd like both
> the SCHEDULED and DEADLINE timestamps to advance when the item is
> marked DONE, but only the SCHEDULED timestamp advances.
>
> * TODO do something by Sunday but not until Friday
>   SCHEDULED: <2010-09-17 Fri ++1w> DEADLINE: <2010-09-19 Sun ++1w>

I can confirm this bug, although AFAICT it occurs only when both the
SCHEDULED and DEADLINE repeating syntax are of the "++" variety.

E.g.,

The example above results in:

--8<---------------cut here---------------start------------->8---
* TODO do something by Sunday but not until Friday
  SCHEDULED: <2010-09-24 Fri ++1w> DEADLINE: <2010-09-19 Sun ++1w>
--8<---------------cut here---------------end--------------->8---

However, if the scheduled timestamp is not a "double plus" (++), then
the timestamps advance as expected:

--8<---------------cut here---------------start------------->8---
* TODO Another example
  SCHEDULED: <2010-09-17 Fri +1w> DEADLINE: <2010-09-19 Sun ++1w>
--8<---------------cut here---------------end--------------->8---

becomes...

--8<---------------cut here---------------start------------->8---
* TODO Another example
  SCHEDULED: <2010-09-24 Fri +1w> DEADLINE: <2010-09-26 Sun ++1w>
--8<---------------cut here---------------end--------------->8---

Other combinations also work as expected:

--8<---------------cut here---------------start------------->8---
* TODO Another example
  SCHEDULED: <2010-09-17 Fri .+1w> DEADLINE: <2010-09-19 Sun .+1w>
--8<---------------cut here---------------end--------------->8---

becomes...

--8<---------------cut here---------------start------------->8---
* TODO Another example
  SCHEDULED: <2010-09-24 Fri .+1w> DEADLINE: <2010-09-24 Fri .+1w>
--8<---------------cut here---------------end--------------->8---

Best,
Matt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]