emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Repeating task not repeating


From: Alan Ristow
Subject: Re: Repeating task not repeating
Date: Wed, 18 Aug 2021 10:23:21 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

This seems like the same issue I was having last month. A patch was posted here:

https://orgmode.org/list/87wnpxv1d8.fsf@localhost/

As far as I can see, it has not yet been applied to the official org repo, but I applied the patch manually to my local org and everything has worked fine since.

I tried to check https://updates.orgmode.org/ for more info, but got a 502 Bad Gateway error.

Alan


On 8/18/21 8:10 AM, Loris Bennett wrote:
Hi,

The following MWE

* Test repeating task

** My tasks

*** TODO Test task
     SCHEDULED: <2021-08-18 Wed +1w>

works fine:

* Test repeating task

** My tasks

*** TODO Test task
     SCHEDULED: <2021-08-25 Wed +1w>
     :PROPERTIES:
     :LAST_REPEAT: [2021-08-18 Wed 07:50]
     :END:

     - State "DONE"       from "TODO"       [2021-08-18 Wed 07:50]

However, when part of a larger file, the state information is inserted twice:

* Test repeating task

** My tasks

*** TODO Test task
     SCHEDULED: <2021-08-25 Wed +1w>
     :PROPERTIES:
     :LAST_REPEAT: [2021-08-18 Wed 08:02]
     :END:
     - State "DONE"       from "TODO"       [2021-08-18 Wed 08:02]
     - State "DONE"       from "TODO"       [2021-08-18 Wed 08:02]

Moreover for a similar task in the same larger file, when the state is
changed to DONE, I get the error

   user-error: Before first headline at position 1 in buffer gtd.org

and neither the SCHEDULED date nor the LAST_REPEAT date are updated:

*** DONE Read mail
     SCHEDULED: <2021-08-18 Wed +1w>
     :PROPERTIES:
     :LAST_REPEAT: [2021-07-21 Wed 08:32]
     :ID:       639369df-7c91-443a-89bd-b7f97719bda7
     :END:
     - State "DONE"       from "TODO"       [2021-08-18 Wed 07:27]

I'm running Org mode version 9.4.6 on Emacs 26.1.

Any ideas what I could look for in the larger Org file which might be
causing the problem?

Cheers,

Loris



reply via email to

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