From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sAyVEqTbdF9XEQAA0tVLHw (envelope-from ) for ; Wed, 30 Sep 2020 19:25:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CKlZDqTbdF99LgAAB5/wlQ (envelope-from ) for ; Wed, 30 Sep 2020 19:25:24 +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 9DF3E94014E for ; Wed, 30 Sep 2020 19:25:23 +0000 (UTC) Received: from localhost ([::1]:35942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNhj6-0005Wm-Vu for larch@yhetil.org; Wed, 30 Sep 2020 15:25:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNhiX-0005Wa-8T for emacs-orgmode@gnu.org; Wed, 30 Sep 2020 15:24:45 -0400 Received: from wforward4-smtp.messagingengine.com ([64.147.123.34]:57311) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNhiU-0004Uq-IW for emacs-orgmode@gnu.org; Wed, 30 Sep 2020 15:24:44 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailforward.west.internal (Postfix) with ESMTP id 3DCD2CA9; Wed, 30 Sep 2020 15:24:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 30 Sep 2020 15:24:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=fcu4MZ ocCTna6EJKsc3P6eQrBr8Q+X+6xWIGuTrX1ss=; b=IgAf0c1vUnqmvVhVnTkPLQ trHlzOzuZQ+2vAcL5gdHFrlFrfBj/+h833Y2IRwGeWL8JGWIRkh8hf/rYspNM0ko uhPC9/bwHtuZfYDKSRY3UUiIucyMD7aH0ZqYD0v7uPGfT0VqnerjjsZ0l/1Rns3v Y3RyOFiT6ks8zMG4PfukbOL4+7S46XEfIvFcTpGGHuRhBHFGBt+ZMkROqQ5K5k9Y gl+8MEm17nexAYhcSbYL5Fo+UcVhcrMJVrP3BneLobHp6t+CNNjcHTXWxrRCt8sn M7vCSq2iQNeepmVLFK7F5En8b643X0VnvYvwwkUjWapT8Xb909AcyNNLUGMH8MyQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrfedvgddufeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhffkfggtgesthdtredttddttdenucfhrhhomheptfhitghhrghr ugcunfgrfihrvghntggvuceorhhitghhrghrugdrlhgrfihrvghntggvsehunhhiqdhtuh gvsghinhhgvghnrdguvgeqnecuggftrfgrthhtvghrnhephfejheeujeelgfdvieekkeeg tefhgeekkedvgeeljedvteejhefhffefteeggfelnecukfhppeejkedrgeefrdegtddrle ehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhif lhesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from aquinas (hsi-kbw-078-043-040-095.hsi4.kabel-badenwuerttemberg.de [78.43.40.95]) by mail.messagingengine.com (Postfix) with ESMTPA id 1D5643064683; Wed, 30 Sep 2020 15:24:36 -0400 (EDT) Received: from rwl by aquinas with local (Exim 4.92) (envelope-from ) id 1kNhiM-0006CV-1J; Wed, 30 Sep 2020 21:24:34 +0200 From: Richard Lawrence To: Stefan Huchler , emacs-orgmode@gnu.org Subject: Re: Customize resheduling behaviour In-Reply-To: <87pn634c7c.fsf@mail.de> References: <87pn634c7c.fsf@mail.de> Date: Wed, 30 Sep 2020 21:24:33 +0200 Message-ID: <87lfgr9ifi.fsf@aquinas> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: neutral client-ip=64.147.123.34; envelope-from=rwl@fastmail.com; helo=wforward4-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/30 15:24:37 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.779 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=IgAf0c1v; 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-Spam-Score: 2.79 X-TUID: ohW9hFbT1HxM Hi Stefan, Stefan Huchler writes: > I have a task sheduled like that: > > * TODO Order from a delivery service > SCHEDULED: <2020-10-06 Di .+2w> > > ... > Is there a way to reshedule it, if it fails 1 week later and if I > complete it, reshedule 2 weeks later? I don't think there's any way to do this automatically when you change the TODO state of the entry. The simplest way I can think of is to do C-c C-s +7 (i.e., call org-schedule and give a new date a week later at the prompt). If doing this on a different day than the scheduled day, you'll need to change the interval you enter (e.g., if you missed it by 2 days, enter +5) or type in the new date manually. Another option is C-c C-x c (i.e., org-clone-subtree-with-time-shift). Clone the tree one time, with a shift of one week, then delete the old tree. The advantage of this option is that the time shift will be relative to the old scheduled/deadline date, not the date on which you run the command, so you can always say +1w. Hope that helps! -- Best, Richard