From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KGF+DMnDHGF34wAAgWs5BA (envelope-from ) for ; Wed, 18 Aug 2021 10:24:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SBQeCMnDHGHrSAAAbx9fmQ (envelope-from ) for ; Wed, 18 Aug 2021 08:24:41 +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 4464F162F6 for ; Wed, 18 Aug 2021 10:24:40 +0200 (CEST) Received: from localhost ([::1]:46328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGGsJ-0004Wt-6c for larch@yhetil.org; Wed, 18 Aug 2021 04:24:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGGrq-0004Wk-3M for emacs-orgmode@gnu.org; Wed, 18 Aug 2021 04:24:10 -0400 Received: from virgo.ocssolutions.com ([67.43.1.28]:60926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGGro-0005Bp-9Z for emacs-orgmode@gnu.org; Wed, 18 Aug 2021 04:24:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ristow.info ; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=U8AGL3FXYraq9V7Pimkimqh62Shd7w7v1VgqBS9t3dE=; b=G6MaWaVu15eu3/pBHEvlfKja+X oxgJcEJL+RrdymhVX3kEEpdlIRkmxzvt8SWzZN4DTrCoib3o4x8uxRPBxv8V8KKbjH+xwtLf42ElT m746UB+M9ikDY5L5Z3Hx6HA6L6sf9Ga2ZINfRFRpak0w7HBh2XHHrmRow1I0fDoN5zszNnfdyTx9J xNt0wi5u/bu3W84dCAAIYDg6RXj90YF5RkUcO5WjWrMaGk8/MYw/HK6S2e2Figs8S0yYf4f/HlsvF 6DpWScoknUTpKxe20pXytwJgn8tofU1wOfqWKCvTDMWmzzQbNYcDvemcx7HOoNISfe62/29UN/Pe/ PG8+ej9w==; Received: from [88.162.227.118] (port=59198 helo=[192.168.0.177]) by virgo.ocssolutions.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1mGGr6-0007KI-CK; Wed, 18 Aug 2021 03:23:24 -0500 Subject: Re: Repeating task not repeating To: Loris Bennett , emacs-orgmode@gnu.org References: <878s0ztha7.fsf@hornfels.zedat.fu-berlin.de> From: Alan Ristow Message-ID: 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 MIME-Version: 1.0 In-Reply-To: <878s0ztha7.fsf@hornfels.zedat.fu-berlin.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - virgo.ocssolutions.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ristow.info X-Get-Message-Sender-Via: virgo.ocssolutions.com: authenticated_id: alan@ristow.info X-Authenticated-Sender: virgo.ocssolutions.com: alan@ristow.info X-Source: X-Source-Args: X-Source-Dir: Received-SPF: pass client-ip=67.43.1.28; envelope-from=alan@ristow.info; helo=virgo.ocssolutions.com X-Spam_score_int: -40 X-Spam_score: -4.1 X-Spam_bar: ---- X-Spam_report: (-4.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-1.961, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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=1629275080; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=U8AGL3FXYraq9V7Pimkimqh62Shd7w7v1VgqBS9t3dE=; b=ckG+6MDqd2fICladNOlM5zK5cuvS4XzH3CtevzKl8DIwpY21LB4K/8M54m07T12gg1B6kp KPpb0G5xzpwafleyjDXG0rIWRIIistoAH6ECBJKdmw/LRGpgZtAjoAsGJXu4IV7y4bGDga NPuffcEeLMdgim5VMN7XZLW92JI9bGwOLMm/bvPu22nA0qiPKMBO3nf389NJrXpZJykeoh eKohocF5jE23bTNljEah+shvqHEf7NZbO3teWBmkimCTZWJctczcBZm0TTqJmZ23QLf6eu fxylFNMDfrX488ZoTvUbRDno+LucLABAkGuIaTI6KaTInhHlGmvf/bPtNLQC0A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629275080; a=rsa-sha256; cv=none; b=s6FQCdZYlaPmr8ziZ7290ubOErzn1TqZ/p+Updib58p65jjz81T86SKe68VdR/mHGjgo9h VGvRBFH9roXnqL9h91RZFDL/CYRgdAYDbJbAQKEVwuKvqRp0geOBG6Gqo4NjXZ0Jyb9l9n RDmWMZq1+pM2M9JyCtze0zJSjucyXchnv/BgufNeI3HFzKqvUwMX0FbCmDl+N8fJJq5HiE pwOS8Wm16Hv7+epEkdf9jRlO0WVb2rnAmfsalc1utUJNcjNxKI38cnqUDobAqwFwB7i4KD jkK3yNUoe08gEqGcn8sCmmsh2un+SqSsIC36xUTSFPLv4bSUC2zHPM+enrYeRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ristow.info header.s=default header.b=G6MaWaVu; 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.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ristow.info header.s=default header.b=G6MaWaVu; 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: 4464F162F6 X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: YlM/woPJDsd9 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