From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ICzOK2NC52DHEwEAgWs5BA (envelope-from ) for ; Thu, 08 Jul 2021 20:22:27 +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 CFpiJ2NC52DbJwAAbx9fmQ (envelope-from ) for ; Thu, 08 Jul 2021 18:22:27 +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 06EA810AA9 for ; Thu, 8 Jul 2021 20:22:27 +0200 (CEST) Received: from localhost ([::1]:45452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1YfI-0003jH-JZ for larch@yhetil.org; Thu, 08 Jul 2021 14:22:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1YdL-0001mw-KO for emacs-orgmode@gnu.org; Thu, 08 Jul 2021 14:20:23 -0400 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:46986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1YdJ-00063y-Fx for emacs-orgmode@gnu.org; Thu, 08 Jul 2021 14:20:23 -0400 Received: by mail-lf1-x12e.google.com with SMTP id x25so5261582lfu.13 for ; Thu, 08 Jul 2021 11:20:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=2bzSW4Wg2o5f7G3PdArLeEHBQU7Bm8tMPe/PusAySFI=; b=hczr7uAUPddbpw/MxcfAvWBg9DcjKPAVpgdrDO5aAE5DLAy7Kj2ApdGUUB7HD+fIov X2nVzRBJakIUfUhWZfcd22K6Cu0zY2H7IeNqGjLpCGhO+WPlPZeSZYNfJ0uHHmpo9c5e FGwJbNYL8jUFnvEPlfYBjLY/TycfBYDO4eSusSlmtl/1SQmiNHfZe+3iwkpQnIrEG8ee Ib/RNnvXaxVo1yolPQXkBNNbos7Bau/VOxFBE+9FBINgS2QtwN4KlhpEiLmErc0gHsAB p7aojJsM+yKCIouEtR4HSqEHm3jFn2CtIMj7jzghu7I8N1YtUqKOAOQ0Mau3aYGBhgn2 zWdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=2bzSW4Wg2o5f7G3PdArLeEHBQU7Bm8tMPe/PusAySFI=; b=f0jO7VRhfizvsDtME0CCitHvTkAPvm9yCcQlc1hIJnFXXll0tgZ5j6sJYCEwYG0tDD WxC7AEko8fev5+UtO1tK3j3uAYhScMN9YhXtIGE2x2d40W42etPCSSZmacbYIm8ACa3O FawkpOcGQ47w58TVubVLn7m1pxsDlHAcWgEYpM9u/JPFVMiz+DNYmExvwXx8gwdi7316 U43oTpnkypCTzH75BAj89ZMAZHozun3q3cMrRRha/LSQDl/UrsCcQ+vLdLrHj9tyQWav JZEEXZSj7qNSPa253bWIlkMCNc9YPK0WzKNwz2qiYtOWT5p3NU0U62pPZtSS+XZK8j+m K5mw== X-Gm-Message-State: AOAM533UHRSiPpNTPcLjjFc602VNDJN6YOxADKzzcbFZSjhdZK+t4u6G uRG1ePUd2v8d58g2ClUW0/biO9UhZhnn3jDAxcK6X531htDuLg== X-Google-Smtp-Source: ABdhPJwkGYJdLFW/Ns+t9HkY9CtEP9dwwaL+GwD8qHwN/Olvuvf3hexg4kMe0f2yh5YT5mH1sqKGek4YE5BHP/bCpTo= X-Received: by 2002:a05:6512:2601:: with SMTP id bt1mr24590883lfb.590.1625768410855; Thu, 08 Jul 2021 11:20:10 -0700 (PDT) MIME-Version: 1.0 References: <948ada33-e0bf-5e00-0d03-e7d243d87090@ristow.info> In-Reply-To: From: Bhavin Gandhi Date: Thu, 8 Jul 2021 23:49:34 +0530 Message-ID: Subject: Re: Bug: Unexpected behavior marking recurring tasks as DONE To: Alan Ristow Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=bhavin7392@gmail.com; helo=mail-lf1-x12e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=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: , 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=1625768547; 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:dkim-signature; bh=2bzSW4Wg2o5f7G3PdArLeEHBQU7Bm8tMPe/PusAySFI=; b=J+UFkoh9DY5xvQsIrKsusZcRITnddOu6SFkBhhls8AJhFAc3VrDHHLijMEvo8ZPf0AD4kr /e+ClBuwzfqk++BOuKmlNOTFopUfLYM/AkfBlWSzMAaaSwVwWBzcsoV8WYRF2Z4JIcGQnt MV1zyhVOQHxoXk9Bye4m1kY0TrOEiTk3TcU57hbCkvL2d4elXe0tomwgCBiDY3BjNlQcF/ oiGprc3Mw+ObMajZ9Dr/lkotcOkd7H94Ud9rUkDUJ9ZeqLFqfobu1p980An9jABlubKK+U aOUTqhwenH/9Af4PZo/0kr0nobhF0Gq8bJJ6IzLuWIJSYYVuOdor9GhghVIN+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625768547; a=rsa-sha256; cv=none; b=ZeJT0XYEXDsr4oaotpilSngeCVn8C4wrawbLe44vmGcV4aKNk7eq1NkTn7dFkIM8pvS5fQ fhVvhrdzm+CvlIwPHqpHlNesRpA8UL5JYfljLlmDpu3qHFshcczuMsVFtIgim4tFsZhSa5 x8khxowL8wiPHQ799xbuO/uMFUuicbOBIup6g3clsOPLlsi3OOrWFP9kdLKnzAAwlPfVk+ GYi9D6WRBQbXF716AeK0sToR51j2jZCOMLjemi0MBwaGd+FiUtAXqyQvz0cYRtm7NVKQHW Iqcf4zw6g1pCZmymnuPHsR81tSDm9TpZwr4ptkvuITP1EA1LW8e0TjjVrTrb+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=hczr7uAU; 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-Migadu-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=hczr7uAU; 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-Migadu-Queue-Id: 06EA810AA9 X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: P1G/ZpWFpB9F Hello Alan, Thank you for sharing a detailed description. On Wed, 7 Jul 2021 at 23:52, Alan Ristow wrote: > [=E2=80=A6] > > > > First, if I do exactly the same as above, the time of completion is > > logged twice: > > > > ** TODO Daily review > > SCHEDULED: <2021-07-08 Thu .+1d> > > :PROPERTIES: > > :LAST_REPEAT: [2021-07-07 Wed 11:18] > > :END: > > :LOGBOOK: > > - State "DONE" from "TODO" [2021-07-07 Wed 11:18] > > - State "DONE" from "TODO" [2021-07-07 Wed 11:18] > > - State "DONE" from "TODO" [2021-07-06 Tue 10:03] > > :END: > > I think this is same issue as reported in this bug report: https://orgmode.org/list/87o8c8xp9b.fsf@gmail.com/ > > Second, if I bulk-process a habit via org-agenda-bulk-action, the task > > is simply marked DONE. Bot the recurrence and the LAST_REPEAT field > > are ignored, but the time stamp is only entered into the LOGBOOK once: > > > > ** DONE Walk > > CLOSED: [2021-07-07 Wed 11:26] SCHEDULED: <2021-07-07 Wed .+1d> > > :PROPERTIES: > > :STYLE: habit > > :LAST_REPEAT: [2021-07-06 Tue 15:33] > > :END: > > :LOGBOOK: > > - State "DONE" from "TODO" [2021-07-07 Wed 11:26] > > - State "DONE" from "TODO" [2021-07-06 Tue 15:33] > > :END: I was not able to reproduce this correctly, I will try to reproduce it again later.