From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ID48Ls3vHGGuMQEAgWs5BA (envelope-from ) for ; Wed, 18 Aug 2021 13:32:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EHzbKc3vHGElUAAA1q6Kng (envelope-from ) for ; Wed, 18 Aug 2021 11:32:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E4A5B1CD6D for ; Wed, 18 Aug 2021 13:32:28 +0200 (CEST) Received: from localhost ([::1]:41486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGJo2-00048d-PK for larch@yhetil.org; Wed, 18 Aug 2021 07:32:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGJnZ-00048R-7x for emacs-orgmode@gnu.org; Wed, 18 Aug 2021 07:31:58 -0400 Received: from ciao.gmane.io ([116.202.254.214]:37668) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGJnX-00079b-1I for emacs-orgmode@gnu.org; Wed, 18 Aug 2021 07:31:56 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mGJnU-0003jR-OD for emacs-orgmode@gnu.org; Wed, 18 Aug 2021 13:31:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Loris Bennett Subject: Re: Repeating task not repeating Date: Wed, 18 Aug 2021 13:31:43 +0200 Message-ID: <87pmubq99c.fsf@hornfels.zedat.fu-berlin.de> References: <878s0ztha7.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:uUz1lHTnQqmgGxdcpqc450omneE= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629286349; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=umz5WxDEVtx/W86IRAqAsC+qkuAPK2pGvJvv88x8hjg=; b=jlOgtrBES3DNKcLioc1i33f51XcweH/HgxE81HbHe1K8QbelscxR7LTo5nRkFpahhgD3UJ sxA30zw9y+CIDaC15ZUc96uFd73nrtQkeZtTi4soZOgyTsKlPzTGyqugfrzaDq56NHXsjy FNpnudgNIbCe7HMrL1IexUqm9Pf9881z5vd1QOAPm+5SDDBHdspxeGfgiLH6RPozW3ELW/ yVtPGYXuw5pA3NzwO5TrEYPof5zOZJUu7CKPiGRVVe+2a81TAPLEMvv2z+9wvV6EUbDZL1 4RI6jLfzrPTHp9A9aLFEzrewQqu19XFCAUZEKFYg3SBedQJEfnXFA1jLHIk4zw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629286349; a=rsa-sha256; cv=none; b=LQS3VUMZN8TR6FWAJlN/S590AHDo+iojNBV0kOkvAaA2ScmT/Q/UUKtP6zCTcAcOJZd1zD HhPgQ4a/8QAJBLq7BffwVFmnz4QL+UDWDrUfbNGHr2XEycflqDx9pxAwiybcceQ79UTlbO wnRtoU4Fxz3EJJonKP8HAHkvJCalFMBZlrhWkI8zw447FGZgx/kjbwoTTmnjSPWfg7BgsO vHjGx4UsTjlld8lAtI+RW5D4iV5v9cyXngaKHs1RAyGUCMjSEG0NRTWxj+lmJ2lEkNjj+D tCZNqm8IdjfiDDogIpbX6RaZql90s7drqQG4kcxRwGR8W06+LYjicIPcSeoh/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: E4A5B1CD6D X-Spam-Score: -1.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: Tv3dSO8LqY9c Hi Alan, Alan Ristow 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