From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4OezF/R8lWWPPAEAkFu2QA (envelope-from ) for ; Wed, 03 Jan 2024 16:27:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id WH1OE/R8lWXmlgAA62LTzQ (envelope-from ) for ; Wed, 03 Jan 2024 16:27:48 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ihWxA2+u; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704295668; 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=fh+gYlkNWJ22KGDZ+JCSaUuPpeuzLnoqqA61R8TL+/0=; b=X2rFcML6a+Xt/5RerF/TJmZEuRmkA6SvajfO9eBOaVQdpj9uqFsCUCd0OEuC6lrsByTKtS ib81iaNq8hY3JH/OR0ErHGl8hbm7PMfPmRpVt3V+LvjXSDRnXVnkOpXbCytU8ojylL8Mvj vWX47xVxQ2vBbPxDm5j4tD2sjhbrlSghjkCzblinLrgLSN0nlwWMC4aAtzsXxa478jFCLR TPQZT9bCrEK6DrGomuMMlc7pS/P7gntFy5e/h6tTWq30f/SQVIvSGmmg3GHZzmg74UWr+p PMC2Nj/Xu4smB59kU7yTeH1DOU+kyF7/U1lP1iQK6+E7CzHYoSeIEdTBqH3mog== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704295668; a=rsa-sha256; cv=none; b=rsPd0Xwhg0VPDGQtFfcNqBQT5uYdAgnCATM2IPZQ66DBcAtvK4Lm3fsV4wNzR1qUTwdSK7 J1ucJR/L/JoeGRrT2tPdM8zNyjC7eTVVi9W3S/AtCT+GQgjP/4MGTCt6jgFQ149nGTv6AH l4L0EdHr/ChQo11NFvhOJtlMTCgOYt+cfPDcKWQ2TTFvZ/rTojX6czUOdBYRftGGSTQFYY 1Em/H60UczlE4Pb83bJYfvj6iIx2FCPFzrkQM8zsbiKcktmPgrB71x+ElhNXMDBfyWO++d JaTc4ZNBNvhjpM25M05rH++P1s1PB661nniEwBcU/J1qlcihmSoD12/028szlQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ihWxA2+u; 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"; dmarc=pass (policy=none) header.from=posteo.net 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 E3DCF24383 for ; Wed, 3 Jan 2024 16:27:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rL38w-0007rK-RX; Wed, 03 Jan 2024 10:26:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rL38v-0007pa-5k for emacs-orgmode@gnu.org; Wed, 03 Jan 2024 10:26:53 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rL38s-0007u6-TR for emacs-orgmode@gnu.org; Wed, 03 Jan 2024 10:26:52 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 3C420240027 for ; Wed, 3 Jan 2024 16:26:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1704295608; bh=uR2WzltSPrJiDO+vst6e+ihS4xEhRe4Cx2HlGCdUcKE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=ihWxA2+uNP48dfXSKC/2Gbgn1nVvKTZAhpp6vRxbTYdgyAu5/kJJGxCuHHQ2LrXjh nD9oseF+MxW+AjUXWBvPR7BMlw6aqRhh6cnG9nQeWI1WXeeWpq82CyzaczY5DcUVFQ 5KGGRpMtbsDodAutU8ZpYKVNo/+fq5jnc62I8EqBtLYWKaohS8NSLjp4zTzrbnmNiE 4YKcaGM4/dDKsCXVhn8u0S8YljeeOWGgIUFwqLD20tShstccnon1lIEvLjA8Q63yJL R9xrnUePvMa37rLib94Fw7UvpRBpVhOvLGYFvYX9y0JpXJpAQLuMsw2Kv0C36abkzL vNx/FyYCFQ0Tw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T4tqW3LYQz9rxK; Wed, 3 Jan 2024 16:26:47 +0100 (CET) From: Ihor Radchenko To: Morgan Smith Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Fix org-agenda-skip-scheduled-if-deadline-is-shown bug In-Reply-To: References: <87wmsu788v.fsf@localhost> Date: Wed, 03 Jan 2024 15:29:51 +0000 Message-ID: <87sf3e77v4.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.51 X-Spam-Score: -6.51 X-Migadu-Queue-Id: E3DCF24383 X-Migadu-Scanner: mx12.migadu.com X-TUID: d/ZWSmboW1oQ Morgan Smith writes: >> May you please provide a detailed reproducer demonstrating the bug you >> are trying to fix? Such reproducer could be a basis of a new test. > > See a detailed reproducer attached to this mail. It has a task defined > as this: > > * TODO task > SCHEDULED: <2017-03-06 Mon +2d> DEADLINE: <2017-03-10> > > Running said reproducer currently fails as follows (the numbers are the > days of the month). > > (string-equal > "06\nScheduled: task\n08\nScheduled: task\n10\nScheduled: task\nDeadline: task\n" > "06\nScheduled: task\n08\nScheduled: task\n10\nScheduled: task\nDeadline: task\n12\nScheduled: task\n") > > As you can see, we expect to not see anything scheduled after the > deadline if 'org-agenda-skip-scheduled-if-deadline-is-shown' is set to > 'repeated-after-deadline', however, we actually see that things continue > to be scheduled. Hence the bug is that that option currently does > nothing. I think that you misunderstand the purpose of 'repeated-after-deadline value. Let me provide an example: 'repeated-after-deadline allows this task * Do me every day before March, 16th (included) SCHEDULED: <2013-03-12 mar. +1d> DEADLINE: <2013-03-16 sam.> to step being displayed after March, 16th. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at