From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp11.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id 4FlhABr+1GJC9gAAbAwnHQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 18 Jul 2022 08:30:50 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp11.migadu.com with LMTPS
	id SA5PABr+1GKtfAEA9RJhRA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 18 Jul 2022 08:30:50 +0200
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 9EDFF12B1E
	for <larch@yhetil.org>; Mon, 18 Jul 2022 08:30:49 +0200 (CEST)
Received: from localhost ([::1]:34688 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1oDKHI-0006Ei-RU
	for larch@yhetil.org; Mon, 18 Jul 2022 02:30:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37176)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@gmail.com>)
 id 1oDKE1-0004wc-Pq
 for emacs-orgmode@gnu.org; Mon, 18 Jul 2022 02:27:27 -0400
Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:39746)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <yantar92@gmail.com>)
 id 1oDKDy-0007JK-QJ
 for emacs-orgmode@gnu.org; Mon, 18 Jul 2022 02:27:25 -0400
Received: by mail-pj1-x102f.google.com with SMTP id
 v4-20020a17090abb8400b001ef966652a3so17195882pjr.4
 for <emacs-orgmode@gnu.org>; Sun, 17 Jul 2022 23:27:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:in-reply-to:references:date:message-id
 :mime-version; bh=EmmOGkcYPwNMRiqU9lZzkKf7cND8Txm2R7eb3NLogMk=;
 b=UPWMYJS7gBcqaOYzh3SrQxUsLocc7IkE1ZKhgtEZSGvJ+sBijNlc/sDt7kP/Cwq5Ax
 +VLtaILq2WdmZ6/7Ag+Z0m0QsY/HZzXupjA1jGwcxXv0Kzsk0WjCH4s4y+OWRkKzA+Ck
 xpqmBzXA2e7ZVq1ILAJXq3PIRMGkfGvzWKPk2IeZJq0tHa9146OMXzaGAaKiTzhvjW1o
 MEl2TI57LZYLlYlM8Rd3c6viYSntE0H0gayEp0k3feNVnzk+SfAjCgw3XfLm8o/QNhNN
 bSs4zqsm0EJdJGmY8kU9LYUscmqwg1sRP+68D0nczP846kZyjLaHdivHV6axf2sSa+SG
 Fubw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date
 :message-id:mime-version;
 bh=EmmOGkcYPwNMRiqU9lZzkKf7cND8Txm2R7eb3NLogMk=;
 b=O5rtRAor4Sw4ffYLNHYUALsX+qIslSH65QPySjRQXK/1LoiAQx7+koYCagF+IB0oDn
 Xm0qwgW85yoNUxpuZWNRcPV18SF/fWRaveYQiLDbYFvr1kcfzGVxGowezRK7AgqRuCc7
 34T1F6y94afkHzlKBqCWX5tEmhLCjC90IZCfZQypYeYPzOQ3pI1zH88Z6e6DAqD/teDc
 IMLCkBLecfQtKdbXY639hOV7ovHmA6N9rfdGJKK0HEq3pvIPFrImQR7EP4ubzL9DwbaD
 t1KvClTMNJSKHLcke4CJDYaIZwYlXQbRIGSdx8sGqIHiIRncfABsbMTLgWTDuuy/QxHw
 kylw==
X-Gm-Message-State: AJIora9Fqu30jAYy0TQ9fEFJ3A4yQgq2fMpG5sK4we0NdPi5tprRpGRO
 ZlMkSh1v1R+wNmMsfxCKJAQ=
X-Google-Smtp-Source: AGRyM1vO9TJ3uuoeZQyi6iTDP9IP1JVR0Lkqp3uoAc9QEl0OBqQMA0Knyw6vs6bJHWxPcxPKHSe71Q==
X-Received: by 2002:a17:902:d292:b0:16b:e6a4:5768 with SMTP id
 t18-20020a170902d29200b0016be6a45768mr26558255plc.128.1658125641123; 
 Sun, 17 Jul 2022 23:27:21 -0700 (PDT)
Received: from localhost ([115.154.175.57]) by smtp.gmail.com with ESMTPSA id
 i35-20020a635863000000b004126fb46b02sm7256449pgm.82.2022.07.17.23.27.19
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 17 Jul 2022 23:27:20 -0700 (PDT)
From: Ihor Radchenko <yantar92@gmail.com>
To: Gustavo Barros <gusbrs.2016@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] Future repeated tasks marked done in Org Agenda don't
 show as done [9.5 (9.5-g0a86ad @ /home/gustavo/.emacs.d/elpa/org-9.5/)]
In-Reply-To: <87v8s21nut.fsf@gmail.com>
References: <87ee84dllb.fsf@gmail.com> <87k0hwdk54.fsf@localhost>
 <87tu7n68xs.fsf@gmail.com> <87a69f6oa5.fsf@localhost>
 <87v8s21nut.fsf@gmail.com>
Date: Mon, 18 Jul 2022 14:28:25 +0800
Message-ID: <874jzfhr3q.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::102f;
 envelope-from=yantar92@gmail.com; helo=mail-pj1-x102f.google.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 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,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-To: larch@yhetil.org
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1658125849;
	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:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=EmmOGkcYPwNMRiqU9lZzkKf7cND8Txm2R7eb3NLogMk=;
	b=JBQmWnWb5Gud71QqMyE0ZJYo2UJBaMWbQHnPmW/eI8mkoUJx4bUNldZA4aJwRe08MTCrmA
	hqACcxFM0PdkTcEgblu9PKW51kZ1aitXmtKTm2ctyIyzgAnNkcXaBLMfVnJhjX6oe1e7tj
	0lQAwKPOEzma/iBvIkltunFDIOJ0BILBJlVFE4cquFZhxlx6sdr/0gGvpWE2qoCA0S3Xhh
	Nm7vQA8nB7qbzKJiVXHOSQ7vcqQ1dqDjmqQmzYU3Sa+WaYsc+zzfJBCQDqCGnZhpumWh7i
	iZePPP4+vJz0trgGPYg8jlzJZ95zSgoqQJ4HymOOqzn8gpQLYAzH0WxkdHlj6A==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658125849; a=rsa-sha256; cv=none;
	b=YGnNy55w6dyiRLAlUL8/hQIbu4IqLDsazixz6KZr7fwhKb5j9QT2VRb8iQWxW0w8+gNC/s
	1v0g2A8lrVW4cPFszDDJCXAh05D9OZOzZtcNmXE53di4MhFFh/bcoYC9lewbx/CVKdECsB
	8b/97q+bGEJLXU7IjfNDhMGXmSswhtXIsaK7hAk8v7OaE3uLYmRn5reYAhbMYM0Sr4ks7D
	EVLqWCkJBJ5Q0k1SoPoT4kqrcWmoAS+Ke+0v1STjPSVYSOScJMftNxc+bqh0cuqrMLphry
	BpvoxFmGV9/g5dYNzzDPn87MmkTLlFzAHE8lRs+LAJzxnn930KwAaszQgpVOeQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20210112 header.b=UPWMYJS7;
	dmarc=pass (policy=none) header.from=gmail.com;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: -4.93
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20210112 header.b=UPWMYJS7;
	dmarc=pass (policy=none) header.from=gmail.com;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: 9EDFF12B1E
X-Spam-Score: -4.93
X-Migadu-Scanner: scn0.migadu.com
X-TUID: lZm7eo4P3Bwb

Gustavo Barros <gusbrs.2016@gmail.com> writes:

> ... (lots of detailed analysis with various cases)
> WDYT?

I feel that you are overcomplicating things a bit.
What if we simply change all the agenda lines if and only if their date
in agenda is earlier or equal to the next scheduled time (after repeater
is triggered)?

Best,
Ihor