emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Loris Bennett <loris.bennett@fu-berlin.de>
To: emacs-orgmode@gnu.org
Subject: Re: Repeating task not repeating
Date: Wed, 18 Aug 2021 13:31:43 +0200	[thread overview]
Message-ID: <87pmubq99c.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: c69f42a8-bd45-809c-69d5-0ae5c636d6cc@ristow.info

Hi Alan,

Alan Ristow <alan@ristow.info> writes:

Thanks for the information.  I had a vague feeling I had read something
about the problem, but failed to find it again after being away on
holiday.

Cheers,

Loris

> 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	other threads:[~2021-08-18 11:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-18  6:10 Repeating task not repeating Loris Bennett
2021-08-18  8:23 ` Alan Ristow
2021-08-18 11:31   ` Loris Bennett [this message]
2021-08-18 17:42     ` Nick Dokos
2021-08-19  6:21       ` Suppress org-lint checker (was: Repeating task not repeating) Loris Bennett
2021-08-31 11:43   ` Repeating task not repeating Timothy
2021-09-27  8:39 ` Bastien
2021-09-29  7:25   ` Loris Bennett
2021-09-29  7:28     ` Bastien

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=87pmubq99c.fsf@hornfels.zedat.fu-berlin.de \
    --to=loris.bennett@fu-berlin.de \
    --cc=emacs-orgmode@gnu.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).