From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SL7cMKZ9hWCfvgAAgWs5BA (envelope-from ) for ; Sun, 25 Apr 2021 16:33:10 +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 yBpzLKZ9hWDXRgAAbx9fmQ (envelope-from ) for ; Sun, 25 Apr 2021 14:33:10 +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 4087D15B25 for ; Sun, 25 Apr 2021 16:33:10 +0200 (CEST) Received: from localhost ([::1]:37998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lafoq-0003b1-D9 for larch@yhetil.org; Sun, 25 Apr 2021 10:33:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lafoU-0003at-O6 for emacs-orgmode@gnu.org; Sun, 25 Apr 2021 10:32:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37155) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lafoU-0004AS-Gh; Sun, 25 Apr 2021 10:32:46 -0400 Received: from [78.194.183.21] (port=56824 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1lafoT-0003BK-TL; Sun, 25 Apr 2021 10:32:46 -0400 Received: by guerry (Postfix, from userid 1000) id 622661A610AE; Sun, 25 Apr 2021 16:32:43 +0200 (CEST) From: Bastien To: Warren Lynn Subject: Re: Bug: org-agenda-undo does not work with repeated tasks [9.4] In-Reply-To: (Warren Lynn's message of "Wed, 14 Oct 2020 11:49:47 -0400") Organization: GNU References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) X-Woof-Bug: confirmed Date: Sun, 25 Apr 2021 16:32:43 +0200 Message-ID: <87v98a8mes.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: emacs-orgmode@gnu.org 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=1619361190; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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; bh=7J1y+rgEC+fIByoN5XMnwKZIubIWlwIpHxH/4OclGig=; b=SpjvA3ANGB47RI1A36DgN9mhwjKGb38x6Ju5ciKGqSIKb09oX18ogKskckMzNVojONjfCh Zb5523tErh8PFXPSAvt4Vqxa8Fr845857LM3HTNR8slC4BRlHI0rRZ8VjSIX09gf7ewgto Hr9v/KjvnaGUy6XKPWpfubhpxiwlWGAvAtyUfwGcP1WHW/XBxKJgN3d9/WyKxPgByXkGUd GlOTSmhVeAyYPpu23tHnzSC9sqET4jQgqHI3m3pSZpHyiq740zVqmo+BL3AIj/HNCLDdaL V3uO104oH3LQVb/9trKr2UFCqw8AxmBQ7KCv47a2hnsWl33B/WM/uRFkhn/i0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619361190; a=rsa-sha256; cv=none; b=rVvM7SizXXmNV4452INVcW2g+HVEGfGZRAOQBc3skP07fELm+6C11gMOHf8YDhQOASAv1h YB5EMqtLGbSxX/OkdrxFok9tSbbf/GHhh6csWmdgm+QCmy7zg32htXEBXIPb6f4fopj3k+ 4PUqsgTSWpFuRItiNznIJryAjwTqyFf2Aq0xKzMcwZxTfso61fq+K5YZAarjxdeZbjLlya eSlS1VLp6rr0/OPE/TAbpP70nPy6Vw/++gbYkf0jbhgcCcG/xlPuhhml6effLdZPjBzpNa 3fMSP1CSffq3EPk6S0Thy+44B6M8UYIH9JUMtyMa+4bO6U7WX/xjJD8dh/nvYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 4087D15B25 X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: VP8yBPMq7dCA Hi Warren, Warren Lynn writes: > With org-mode 9.4, if you have a repeated task like this: > > * TODO My weekly task > =C2=A0 SCHEDULED: <2020-10-14 Wed +1w> > > In daily agenda, if you mark the task done, which will cause the > above to change into: > > * TODO My weekly task > =C2=A0 SCHEDULED: <2020-10-21 Wed +1w> > =C2=A0 :PROPERTIES: > =C2=A0 :LAST_REPEAT: [2020-10-14 Wed 11:45] > =C2=A0 :END: > =C2=A0 :LOGBOOK: > =C2=A0 - State "DONE" =C2=A0 =C2=A0 =C2=A0 from "TODO" =C2=A0 =C2=A0 =C2= =A0 [2020-10-14 Wed 11:45] > =C2=A0 :END: > > But then if you run "org-agenda-undo" immediately in the agenda > buffer, the task did not revert back to the original, instead, only > the "LOGBOOK" part is gone, so it becomes this: > > * TODO My weekly task > =C2=A0 SCHEDULED: <2020-10-21 Wed +1w> > =C2=A0 :PROPERTIES: > =C2=A0 :LAST_REPEAT: [2020-10-14 Wed 11:45] > =C2=A0 :END: > > I don't think that's what people would expect from "org-agenda-undo", > so it seems a bug to me. > > This bug is also in orgmode 6.3.7, so likely has been there for a > long time. > > Thanks for looking into this. I cannot look into this right now, but I confirm the bug still exists in master. Thanks for reporting it.