From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YJDvLghHSWSpegAASxT56A (envelope-from ) for ; Wed, 26 Apr 2023 17:45:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cI38LQhHSWT5bgAAG6o9tA (envelope-from ) for ; Wed, 26 Apr 2023 17:45:12 +0200 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 57F98B678 for ; Wed, 26 Apr 2023 17:45:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prhJa-0004hJ-QK; Wed, 26 Apr 2023 11:44:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prhJY-0004h5-UZ for emacs-orgmode@gnu.org; Wed, 26 Apr 2023 11:44:16 -0400 Received: from sonic315-23.consmr.mail.ne1.yahoo.com ([66.163.190.149]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1prhJX-0006w5-45 for emacs-orgmode@gnu.org; Wed, 26 Apr 2023 11:44:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pacbell.net; s=s2048; t=1682523850; bh=KDPh6w5LZzjS4ZR9MvzbQC//ilEQlL6yUEUHgJssvR0=; h=Date:From:Reply-To:To:Subject:References:From:Subject:Reply-To; b=bVjT2SxguDRKHWkBvc94TDlU4LNTyNsmZGYVknJJPm8DKwpJMsM3ez+J8vR3dMl7ggHK+sZAZiz/U5oZsBvl9GB5+iYDwgURhlQMPktw27VR8MXtCyKrEFFaDn3p0CoZMaLlmQv7Xcb+WPr6eKvkXYd0li4gAsTUOoLwtKqjnqaF+nx7UnnxoN2GqJcQWKBLo1xKBscg9CRiQHbDXoV3YebUGGBjVADoAei0tYOyNL1v6jjgDwqla0FJQ3m6RVGIaZJ9IfdNV13KHkTh6gew4DBMkiN67wbaRQXYZxrxnFnlmmOin+RisnoNPnW+i9MajyGi9zZNh+ju2ZPwXMmMFA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1682523850; bh=LrIM4jCQk9gr/Z/6kefCR9reHxPhJVt0ngTSh9Vltxq=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=MRXM2w5eif0GkoWphdKHg/PIMVzD7X0iO9a+RgLBMbT1p8KS9aXRSaXbg18+7pq+xrtMD8LAurnag44HbFc5uVb3YXPsri8kp4inexxbtDLphoZIWaAuzhO+x1QCK2i9BB+oYtlpEl8IViomf86ylLffr+6akBU7qmHBEy6HrNB8kY+/Jiq9P90b6fYiQTJPtXp8xOtGOkxWMG+MhdndG5EW1GiLyBsEozQhT2b1oIh9jwuBocz9o8nOtygw+2Ifk6SjYW+oi4PzCGjeYP3WbHvltXN6u7sAgnZufiBhbTGodIxkl+x3tBQZ8dPojcqEvdYW9fZw0sPTmyNuO6qVGg== X-YMail-OSG: JEtQtMMVM1mTHnC0hQsUkuqhAcTNUQezm1bHF4P.u9xBK3rQX89l_51bqo90dVn e0gcdZspo6vC64A2tLnqwUcbHRPzRBZME8t5BHNGPUvLsvvJkES8.cwGm30hVGIVDms5VE9uVIbS Rjp0IXErXBHZunaMaY9tvJqewWmjEZNhJF2kNTimnQ2puBqcLpKOYYeIjHkuizd6FaX2HaibHO4s 2y722mXqZzj7U28M0AxMM.S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299-48d9-b841-f1dabb680119 Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Wed, 26 Apr 2023 15:44:10 +0000 Date: Wed, 26 Apr 2023 15:44:05 +0000 (UTC) From: "J. G." To: Orgmode Message-ID: <1032532251.385739.1682523845362@mail.yahoo.com> Subject: Linking SCHEDULED and DEADLINE repeating timestamps to avoid desynchronization MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_385738_1060467742.1682523845362" References: <1032532251.385739.1682523845362.ref@mail.yahoo.com> X-Mailer: WebService/1.1.21417 YMailNorrin Received-SPF: none client-ip=66.163.190.149; envelope-from=jerzor@pacbell.net; helo=sonic315-23.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: "J. G." Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682523912; a=rsa-sha256; cv=none; b=MzEUL05iMr8p+3FKKF8Ury4YWl+btK1Ib8TYaw/v1yfJag+not/npPFmwSKBZo+S0oJpK3 hkKk9rIaTCXysGC3/j6PpaqKFEq3OwVv5Ped4iWCSfH/3Fgj8V3R1vAVznf5nkZsHeJOsS yvhIwyNsVhM81elF3wnamNpTEArBBgOL/+whusTjEr9eEqYJlHz9zJSwsOn2bsvStHPbiH OIACbolAAsdnW6+8auqAxLoOI8gI8ecYBCZ1ZfQTA9W2QNUSM+HQAtOvgz337biIw3/XT+ xfyATcVXwSSGGY/chOdibSiAxZxTGCmPJ5PGri5KyTv14IaOEIlh3rK8f0SC1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=pacbell.net header.s=s2048 header.b=bVjT2Sxg; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682523912; h=from:from:sender:sender:reply-to: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:dkim-signature; bh=KDPh6w5LZzjS4ZR9MvzbQC//ilEQlL6yUEUHgJssvR0=; b=IyhFTAisXKsuwl6BeaPuDommh+fj5/qWrmtcCOk6v/CS8EzJw+/IuNG72nxSmEdC6zGmai YTdz6X8wMoeW9o+lKspxKWkla3nkq3Td0hv77GM8QW/p2rJBdDaJre0fK6GXCYQbkPNMVQ jfcwP6ijv89Hp5PLaaMCkjqWXw33ZEx5QSx6ztgdAQ5DklzPsFlZzDLuOFpubB+kVAhAcZ mAAfUTv/IWKqFcj6sRBWTziwrcZPj8vqTgoxs+qbjR3875N52gAZDPeu+fV+duR/8rPwKz x/MOMvc9j8eaqlrRC7JI98Ak1WB0yliC46kRNAL/cOGQHof+zhuBDuy6WxRKKA== X-Migadu-Spam-Score: -2.43 X-Spam-Score: -2.43 X-Migadu-Queue-Id: 57F98B678 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pacbell.net header.s=s2048 header.b=bVjT2Sxg; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: 0A4kbxUoBI9p ------=_Part_385738_1060467742.1682523845362 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi everyone, I just stumbled across a surprising behavior with combined SCHEDULED and DEADLINE timestamps that repeat. Here is the example org file contents: * TODO My late recurring todoSCHEDULED: <2023-04-12 Wed ++1w> DEADLINE: <2023-04-13 Thu ++1w> Right now it is Wednesday (2023-04-26 to be precise), and as shown above, my task had a scheduled timestamp on a Wednesday from a previous week. The repeater is ++1w, so marking the task as done bumps it to repeat on Wednesday of next week (2023-05-03 to be precise). That functions as expected. But the deadline timestamp is on a Thursday of a previous week with a repeater of ++1w, so marking the task as done bumps it to Thursday of this week (2023-04-27 to be precise). So marking it as done it has the logical but unexpected result of having the scheduled timestamp for a date (2023-05-03) after the deadline timestamp (2023-04-27). Is there a way to link the timestamps so that marking the task done will always bump the deadline timestamp after the scheduled timestamp? On the IRC channel I was kindly directed to look into org-todo-repeat-hook as a way to approach it, but to share this here in the mailing list as an edge case to be considered. ------=_Part_385738_1060467742.1682523845362 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi everyone, I just stumbled acros= s a surprising behavior with combined SCHEDULED and DEADLINE timestamps tha= t repeat. Here is the example org file contents:

*= TODO My late recurring todo
SCHEDULED: <2023-04-12 Wed ++1w&g= t; DEADLINE: <2023-04-13 Thu ++1w>

Right now= it is Wednesday (2023-04-26 to be precise), and as shown above, my task ha= d a scheduled timestamp on a Wednesday from a previous week. The repeater i= s ++1w, so marking the task as done bumps it to repeat on Wednesday of next= week (2023-05-03 to be precise). That functions as expected.
But the deadline timestamp is on a Thursday of a previous week = with a repeater of ++1w, so marking the task as done bumps it to Thursday o= f this week (2023-04-27 to be precise). So marking it as done it has the lo= gical but unexpected result of having the scheduled timestamp for a date (2= 023-05-03) after the deadline timestamp (2023-04-27).

<= div>Is there a way to link the timestamps so that marking the task done wil= l always bump the deadline timestamp after the scheduled timestamp? On the = IRC channel I was kindly directed to look into org-todo-repeat-hook as a wa= y to approach it, but to share this here in the mailing list as an edge cas= e to be considered.
------=_Part_385738_1060467742.1682523845362--