From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qOwVCnukHGHAmgAAgWs5BA (envelope-from ) for ; Wed, 18 Aug 2021 08:11:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KKHHBXukHGFddQAA1q6Kng (envelope-from ) for ; Wed, 18 Aug 2021 06:11:07 +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 2DEBA14032 for ; Wed, 18 Aug 2021 08:11:06 +0200 (CEST) Received: from localhost ([::1]:37634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGEn1-0002sS-Fd for larch@yhetil.org; Wed, 18 Aug 2021 02:11:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGEmP-0002s3-TL for emacs-orgmode@gnu.org; Wed, 18 Aug 2021 02:10:26 -0400 Received: from ciao.gmane.io ([116.202.254.214]:48068) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGEmL-0007bU-LY for emacs-orgmode@gnu.org; Wed, 18 Aug 2021 02:10:25 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mGEmI-0006yz-04 for emacs-orgmode@gnu.org; Wed, 18 Aug 2021 08:10:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: "Loris Bennett" Subject: Repeating task not repeating Date: Wed, 18 Aug 2021 08:10:08 +0200 Message-ID: <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:d7nkDaAoFRRGKhcQjLUBjLI45Wo= 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=1629267066; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=nRf2DXDlqP2ClY7ghNcCJ5Dq/nY43d8DWXubKZAnZa4=; b=OotPv23Ps/k9+zwNpD5niyT9nz58hWatY6LPYYyMvOb7j4R6x7EtPFMxfDJ3UkLuZ5/zqp RZhyXonIZU4lE57L2N1/+xOPAg15+qVmrfR6lXYlzhhr47WJ2jtPakxfRKc8Fk1F5IRlFZ 0Pdsvr9BkswdvwmhFLPwiHVuBZcdI9km4eu4xTwHo4R6Gb46/5HAgL4J2LTey3UvmAxgfG ryuF65bxul2pMIU+T6yZ5DXy8yAhriROTIX7JRdHBbHPwM885FeXCz50I1YwWkW6lqOjbx MgB6gIxNgQqrPsXp7qAtmMRBixgu9nrbir8Lv7Kl+ax9w/oGG1M0sGAe1SjKpQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629267066; a=rsa-sha256; cv=none; b=JAVsP67rantrm3tUUBpecGNUmF/jL+ShCiZU+/OPQZ3hRU52GfrZtEKqHqyiKx/A7JZHLg vDTKb2lkOr8nE6xUV8zwZ4z8cf7jJzNSb6BLL2BiRhsq547moZppJ9M3JXw+OnQb+Xu6Y1 5AIOyatGha1k3mMqxKrpz3pbcSy1OePPMffetK9Gfuiqv8TaII1nSEm1q340FEjUV+i/eP 9VzEyEUZ2Ttgu3zpj2BADrRdpAj3Z0kPOF78sdGUPfkdX2n/EbKr2sP2bavdtjYpArfcNq EktFk1LgrK4m7TRS/qPvdwMT2gjF6uVS5/V1TMuTLREZL3LVOVF6nYJ8Rd+bgQ== ARC-Authentication-Results: i=1; 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-Spam-Score: -2.58 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: 2DEBA14032 X-Spam-Score: -2.58 X-Migadu-Scanner: scn0.migadu.com X-TUID: W5L75TNWrwH2 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 -- This signature is currently under construction.