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 ms11 with LMTPS id qDOQDE9RBV+2cwAA0tVLHw (envelope-from ) for ; Wed, 08 Jul 2020 04:53:35 +0000 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 EMxwCE9RBV9CSgAA1q6Kng (envelope-from ) for ; Wed, 08 Jul 2020 04:53:35 +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 2871F9406F7 for ; Wed, 8 Jul 2020 04:53:34 +0000 (UTC) Received: from localhost ([::1]:43726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jt25L-0006Ht-J8 for larch@yhetil.org; Wed, 08 Jul 2020 00:53:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jt24z-0006Hk-CP for emacs-orgmode@gnu.org; Wed, 08 Jul 2020 00:53:09 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:53069) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jt24w-00087m-Nr for emacs-orgmode@gnu.org; Wed, 08 Jul 2020 00:53:08 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id CBFE673184; Wed, 8 Jul 2020 00:53:03 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=zVGL4wrEFrklP8AV2BViUmfKIYM=; b=vN/m1z KBQ+lCFe/kudYGGMS14ffZBKXhmFUTIIaXVbknBM3SbnbqsgvOfEjUfI0D5k9SZu VWv/KsqocbaXR2p8bgQWEDUqFyKx517k0qGe08rvM6Shw/10zbuvlmh4znazGk3Z b45yFLbr0HxvQ1ULvZmD4RdgZt1LljX4/eYhw= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 7202273183; Wed, 8 Jul 2020 00:53:03 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=GijyE6PB89zfN3Nzsk5+NDwz2zgpYWQh/NTRaYGYJxk=; b=nKcx356V1zfXjUSt0BxD3tmZpfOy/XP65zpy0O3Bjfy5mUdak4b11Bjz8Gcg6pkyFaSneM/F4XDfvkDyxbYidjsX8Ok7FpjbSHWuJAhaEtcJfP4Uw6BqbWQDih0RMgFbf+/k4Fs+ZIGyqjV9Pi00R6X49NpDYOTRJ2A5HDCIIck= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 7F8A673181; Wed, 8 Jul 2020 00:53:02 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Adam Spiers Subject: Re: time-warping - retroactively marking DONE? In-Reply-To: <20200707112656.wgsv7wfcnfeak6ik@gmail.com> References: <20200707112656.wgsv7wfcnfeak6ik@gmail.com> Date: Wed, 08 Jul 2020 00:53:01 -0400 Message-ID: <87k0ze621e.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: E75CACC2-C0D6-11EA-93D6-C28CBED8090B-24757444!pb-smtp1.pobox.com Received-SPF: pass client-ip=64.147.108.70; envelope-from=kyle@kyleam.com; helo=pb-smtp1.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/08 00:53:04 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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: , Cc: org-mode mailing list 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=pobox.com header.s=sasl header.b=vN/m1z K; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=nKcx356V; 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: -0.21 X-TUID: Lm2Qg+IXZH07 Adam Spiers writes: > I'm looking for a way to retroactively mark a task as having been done > at a previous time/date. I know that I can just change the keyword to > DONE and then edit the timestamp, but this is tedious when it's a > repeating event, e.g.: [...] I'm not aware of any built-in support for this. > If this is not currently possible, would it make sense to write a > wrapper around `org-todo', e.g. `org-todo-timewarp' or > `org-retroactive-todo', which interactively prompts for a timestamp > before invoking `org-todo'? I think this is the easiest approach, though I'm not sure such a wrapper needs to live in Org proper. Here's a snippet from a recent thread [*] that should get you most of the way there: (defun my-org-todo-time-machine () (interactive) (cl-letf (((symbol-function 'current-time) (lambda () (apply #'encode-time (org-parse-time-string "2019-11-27 Mi 16:44"))))) (call-interactively #'org-todo))) [*] https://orgmode.org/list/875zj42rpx.fsf@passepartout.tim-landscheidt.de/T/#u