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 4N+MA24eh1+aIAAA0tVLHw (envelope-from ) for ; Wed, 14 Oct 2020 15:51:10 +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 YPUoO20eh1/mawAA1q6Kng (envelope-from ) for ; Wed, 14 Oct 2020 15:51:09 +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 56EA994053C for ; Wed, 14 Oct 2020 15:51:09 +0000 (UTC) Received: from localhost ([::1]:43588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSj3S-0000CU-OQ for larch@yhetil.org; Wed, 14 Oct 2020 11:51:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSj2R-0000CL-Dj for emacs-orgmode@gnu.org; Wed, 14 Oct 2020 11:50:03 -0400 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:43197) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kSj2P-0008Ew-NR for emacs-orgmode@gnu.org; Wed, 14 Oct 2020 11:50:03 -0400 Received: by mail-ej1-x632.google.com with SMTP id md26so5491065ejb.10 for ; Wed, 14 Oct 2020 08:50:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Pmu7KBVgSKM74YxE19gr18gXbClLz0DNVdYK6Igdd1Q=; b=NlEsrJG/ixlyOgR8QxjsOeg1WWdsBBRGMK2Xs4yn7zULQYlBzgnqD8zyAqs6wxl0/C FTRw8zOMOTAXcHdjvzHqXeZ8PiLNuakv2y4Abvjv/E8mqWtdhIW/Vdcxl/z71RooyDqO LF2KOCkBAl1OSW61RhNfGxMlrQpIl++ZSk52Ht0CVi+OgPtV29Vbnzb0VSEZyuo+Arcw SqSkfZEB3SAADAgCOyYVAlHwcBDmEvvKcxSHRyEezdEuSJ+lk2yqRIOFhp26bnoV7HLa BCib8hQKdJcso2208Ym1cyxoFRM2nix1Ao2QHgvTTtFj1vPGUXz4IgzNPtpxi8d56biF bm3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Pmu7KBVgSKM74YxE19gr18gXbClLz0DNVdYK6Igdd1Q=; b=HvNUCBOq2NoP5QebneHOacWDE+MZUecwxDZyzv78E3Un8p7CQYz8cPhnS51Dv4VZOb RGPuEO63BHsQuW1I+eSK+54BXsPbuA6EGcbjiDiwr9+khiJeJ5GaJn7id2iVEG/gQvNf oaPAwxhBcqozV4XedaJ2lvvjvyTaX4u4alWmQruiC5YysI0amVJWEvA0TZS+0BGeg9bJ Jw8KKvCV+8pNafSdq7Cpo29rFXAd4tR0VNXME4XgQIuxv7urYPbvG1istWvvfLWkHEwD jSPMDG24nXleymG/aDroNLjjlN3R1s0t3S8mk7PFcNce7U3bT/aQggwtfTHL3pT/Vcna DMGQ== X-Gm-Message-State: AOAM5307dNRaqBTamjB0aWjX2NN2RZdi7z6vRhjnty+CZkeFU9hMqdkJ 4iigIZtoGEMDLYzo8SDKQmWW3euFS969Zuwh+y2SWprJXJf1Og== X-Google-Smtp-Source: ABdhPJxcQQ3WVvtBGmeqQ+N/+QuNrWteGk84hqgNRs23CKWzaNQZ+Q4aQaLFbRqe37Yiw4JHEV9LxYy/MYin6ChR2mo= X-Received: by 2002:a17:906:4bc2:: with SMTP id x2mr6093493ejv.525.1602690599186; Wed, 14 Oct 2020 08:49:59 -0700 (PDT) MIME-Version: 1.0 From: Warren Lynn Date: Wed, 14 Oct 2020 11:49:47 -0400 Message-ID: Subject: Bug: org-agenda-undo does not work with repeated tasks [9.4] To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000d976a405b1a37baf" Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=wrn.lynn@gmail.com; helo=mail-ej1-x632.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=NlEsrJG/; dmarc=pass (policy=none) header.from=gmail.com; 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: -1.71 X-TUID: uxRAOIkOdThJ --000000000000d976a405b1a37baf Content-Type: text/plain; charset="UTF-8" With org-mode 9.4, if you have a repeated task like this: * TODO My weekly task 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 SCHEDULED: <2020-10-21 Wed +1w> :PROPERTIES: :LAST_REPEAT: [2020-10-14 Wed 11:45] :END: :LOGBOOK: - State "DONE" from "TODO" [2020-10-14 Wed 11:45] :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 SCHEDULED: <2020-10-21 Wed +1w> :PROPERTIES: :LAST_REPEAT: [2020-10-14 Wed 11:45] :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. Warren --000000000000d976a405b1a37baf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
With org-mode 9.4, if you have a repeated task like this:<= br>

* 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 wee= kly task
=C2=A0 SCHEDULED: <2020-10-21 Wed +1w>
=C2=A0 :PROPERT= IES:
=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 origi= nal, instead, only the "LOGBOOK" part is gone, so it becomes this= :

* TODO My weekly task
=C2=A0 SCHEDULED: &= lt;2020-10-21 Wed +1w>
=C2=A0 :PROPERTIES:
=C2=A0 :LAST_REPEAT: [2= 020-10-14 Wed 11:45]
=C2=A0 :END:

I don't t= hink that's what people would expect from "org-agenda-undo", = so it seems a bug to me.

This bug is also in orgmo= de 6.3.7, so likely has been there for a long time.

Thanks for looking into this.

Warren
--000000000000d976a405b1a37baf--