From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id cH+HM3abUGZzOgEAe85BDQ:P1 (envelope-from ) for ; Fri, 24 May 2024 15:51:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cH+HM3abUGZzOgEAe85BDQ (envelope-from ) for ; Fri, 24 May 2024 15:51:50 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=I+H+V0Rz; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.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" ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716558710; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=iWY44u7H2gwiZ8W9uGBTe8C+tCTi3ri1cnINf5SESZ0=; b=NLN5rtHMU3uZnQGDeeZVEt3zugw7VIE4dcvAUP3eunphVq+Ov6mCNWI0UojSiZSd9jgfAd G3ljKJNr2HAM13bKvJLjagREfu1IUvvaCUVP8/giMB0BHHRUsp+YgkhDji4Fq6eRMi/c2F I6MnxeNzawSyg065XkWGTxdumOn0zMyNK7IJTxCqQxMEqnwmttK8Q7FhOmNxjOet24FjN5 wmCbu+W1QRehcqMVT8WYvbKIlNQzStdgzcPRxMLxAFFd+rBMzZTe7F4AptsctLwtTufo+D 5kUVhyQBpLGLvdpFGeJA5eI24tiuuI2k31ksi40pRtCqXd51BCMBJftdCry/AQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1716558710; a=rsa-sha256; cv=pass; b=NFwjIYLHVPHNPDpxYmVjrsJjg+QY8tpAynUA4rEl+HqLGbdUFoD90LFusIuNTmRg3cgUtL /iLkStEGZmWSAbTH0OTFYym+PObgSq5pRqgw6alDpX9CFOKT1RsohY+CRMTFh6SIezc49l lIw8BK7DG9QLqeZ7PJRtdwahtIAm6GyM8kH5rT1L6/Lcf7ukTKewC+mj8yUE/vaUChMv7j mjgDlz3/UwVJYqRo7Se4EYesOHdu8VvqkxGhobvaDrXjPK7htx54+L7AvKt6zL62uIvVSN MV+QOdTjnh5qNyaWIlbIRiWQToRqgQmTCmtqrNi+Y7v2z/S+/T2V5O6kF5hlDg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=I+H+V0Rz; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.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" 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 7A407C4C2 for ; Fri, 24 May 2024 15:51:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAVJb-00056K-GY; Fri, 24 May 2024 09:50:35 -0400 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 1sAVJZ-00054r-2P for emacs-orgmode@gnu.org; Fri, 24 May 2024 09:50:33 -0400 Received: from mail-co1nam11olkn20800.outbound.protection.outlook.com ([2a01:111:f403:2c16::800] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sAVJU-0003W2-MS for emacs-orgmode@gnu.org; Fri, 24 May 2024 09:50:32 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ehRIw+W4YuaiGzlWZC/Z71sUC6YvbimHyfJA4wsEWZM/Zu2zHEkxogk5H+EyTMDdB8g2VEdqNIqoMgSBEL5V616APD+UQJzCtcH18WK62uaA/z5Fr89+/Ypcv2DOVTXmGc7WPxfz9+jG6GdlaBEz22SJI6dy3nYaQCfRCGcDJBAA+2GxwN5LHNgCrJS+ioW1eQQLzwNOuJcwRbhkdGNgacFH+oKMTquwBUOKRExIi64Qoq5IfIXUxRb09JkckY+j3ZoVmU+2mQ9TLFs+g/R8y/SOU/6x231k8nGKYwD/jlJEM/0t+7W4CEQhb0pxUBflBVSKxpJwIhZRHsnsRJ1dLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=iWY44u7H2gwiZ8W9uGBTe8C+tCTi3ri1cnINf5SESZ0=; b=TBBmWoFWTErMdRpGFljFw11Nxyfz/cYnNBH88QdtVYWXnAkH2LGrx4j/WlPg3XlBGnrlxjdjzq+x7CxTAjFwhFNIUGQ4GJWekfqG1no49d9w5FDlRG8odjIJzYBrBDBPVZ55RDb+sLaRdd7GEEsFhb+lO0stlGxwbdib1d0PrG6pN+OnqfpBpvmT/9caE+DWkMVLuSkB7zXJOaWzVGg7WbR7O8VemJeCJAwGtGL0gTfNilF/zWeurvagI25TEuoMMnLu4iW3MSjlYYCGSCStJvoR6hY9SA1uQaCRfxJhB4dnDsHQu6KnfdzdXLDdU16GZt8psvsucczsTZUiMS3tgg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iWY44u7H2gwiZ8W9uGBTe8C+tCTi3ri1cnINf5SESZ0=; b=I+H+V0Rzy8Cm9rURpG52BAYKHmq0ufHl/f+fCkto0vTw3GXlCXGucQwn3TN6ucLAL5mYFEW20D1de4t5F1ONEQvKPdx4kqA6kbBGKNl7+EUCG9p9/bpyGh03vCAch+HwO2dSX5S42G1VT30c45slcxHzxtAESb95aRdYGK8bFjOI/srY4djHOkQwiHHXd5LYonIBYIQpQhdADQyOXUkHj4aXNUEX1II+fh1fFhCre0cPI30zY5le4Ffwf9fuGZ2McGwmj/OyUiGyUosg/iBS6f7DroHKeYS/m+uBO1qOE+6LqkNE9BEuaO7DVn9MDWY/UQEsgCYglzNbdzAklv2WUQ== Received: from CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:610:1c4::17) by MN0PR84MB3915.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:208:4c9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.26; Fri, 24 May 2024 13:45:23 +0000 Received: from CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM ([fe80::5c77:7a58:48ed:9aef]) by CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM ([fe80::5c77:7a58:48ed:9aef%3]) with mapi id 15.20.7611.016; Fri, 24 May 2024 13:45:23 +0000 From: Morgan Smith To: emacs-orgmode@gnu.org Cc: Morgan Smith Subject: [PATCH] Fix typos surrounding `org-agenda-skip-scheduled-repeats-after-deadline' Date: Fri, 24 May 2024 09:41:49 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [MF0h6IMX9k5ImlMRRKgQDqRJrfMppoiV] X-ClientProxiedBy: YQXPR0101CA0018.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:15::31) To CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:610:1c4::17) X-Microsoft-Original-Message-ID: <20240524134148.31525-2-Morgan.J.Smith@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR84MB3424:EE_|MN0PR84MB3915:EE_ X-MS-Office365-Filtering-Correlation-Id: e44a6456-3915-4a7e-d1a0-08dc7bf7c293 X-Microsoft-Antispam: BCL:0; ARA:14566002|461199019|3412199016|440099019|1710799017; X-Microsoft-Antispam-Message-Info: 1NMfl/cB6D//QYqg9B7dD1cnFgNYiiD0EOiLB4ymIuka2vpiUvBQJxiCR14S847XKvqVXuAgldGG5F73vjBBnvNs+OX4BkDam+SNtNv67RAzg6/Q/P7qkHdQMpYPD9GxySX7aGJ+nt09l6hWBouc1MGJur3BL0yUB6Iyx/oDLlY3ZHbRYS6CruevJWLiKQtZ0IGU23yn4LOeikU0vU1T6ReOIK21rQy1hFKhk3owMxMVxKI02Sh0U4nF5nJLyDIdvn/zKaV8rRxvLrz48UlQ3elueTH+ddaQHi/wiCgDBdEbh//uEb67jlJXyLjHSNrzUw7yBZkyPVeWRZ2zF3fcSd+2ZmyEbYAYsx+J30ZHS+Na53kitXehC9xt5OUOO+32YLKcaeg9iy4cnZI9P1XqVvP2e45y4VEOJ4qBwNbIVDSGXk1EIWjDjY7q9YWTwasyw5pyT1qpZrYZtYtuD4HrF6jhfV+eAd1mfHgcoKIH9s9wBfJF7utus4robmoIIpvFllvhbuP6ArYZzjdTtck3coqKC+MbXdgIT/c8LzINKbhZwBUjdeFPm8yD1XfFa4zZOTPcV5TJo1zrfeRTvGt1iYiO4ldgNcwolyQI2TJUDdHtk/lV8VE3Aj2XT1b883VJ X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?mQO4OM8hazgIvQEZwNolhGNBuErsn9NCr7o5pII3l89I0YvrsMtPDJhDmEoR?= =?us-ascii?Q?4PM2BkBgis62UVANWOI1sk4933jOZrOVrix7V/iAIFkSVddIQpkTPyh8t0Al?= =?us-ascii?Q?UvbeLXRnK1jNVS1QNoFJAbRkQCHTstWzKmuRBquMeV7VOjPJ/sEaq4eMfwpI?= =?us-ascii?Q?FhL+8kSvMz6vO1JadvJA2rYWv8lAZkybUQaG45YDUhsC6ptTd95eF5V1iS2U?= =?us-ascii?Q?j3U+J1pTmhBlT8p4KeKmGdnYJLjrgFMSg8O1jXPxlMcIJBaIVu4GwctCRpch?= =?us-ascii?Q?I93TsrQ8ctjAuTSwV2ZPhuluP2UH1U2zD2OgTucvW4KKN3+My9td/gd3mLBl?= =?us-ascii?Q?RoblwSd5SgCCiIY7l9IwptpaWGA7Cl+h0gal1uxwryW8RiwivFrbsunbc/4C?= =?us-ascii?Q?3UDn4gLIi66tKkvvtXt7gP3hBiNFkAF+YP45Zg4B4bxxZEmheSyN5NeAsrCv?= =?us-ascii?Q?TOvwSZxdiXjpuI7bB8G2+//0iPM1xtI8YqlDvC1H3QDdKRu6gmLFkUd/BjKC?= =?us-ascii?Q?3jgY8Ujae9GfVxK0i1IZz1k4+9sS1218kEt6wVUThwdFNzzjUXc6Yd0tpEVi?= =?us-ascii?Q?E+19rh/xRDptz8Jmt1YPlVvvvfdz8Xl1cfPV+jtXxkSeNYAZ5EnbFCgRphW5?= =?us-ascii?Q?utX83rJGLFN7MUK4lrhHbRZX5nEN4WwS2JzQ4GmSJOH+SwK56h6OWUxWt6zA?= =?us-ascii?Q?TdK2fGZYo9TE//9l0TRdjv4si4/vCNWLLHVJjbeCgr0zzBhsC6k+dBwYkhUZ?= =?us-ascii?Q?QQhRyoBocjBOIasoKSQJDIb/8o9pYAYwf8K32ImCOFp6LPxeVTcfCcSBXzOE?= =?us-ascii?Q?cyhTLEX+GkbfivjHgYSFji2yO0J3xZ9h5PyNwLkMAf63W9jEiP9Lo+ROVeQG?= =?us-ascii?Q?nZBcBa9wLA2z/VG+iyUwJU2CFo856GTdZEIVe+xhhPoNPQMt+U1EI8VwydyX?= =?us-ascii?Q?njXoQUVVLcil5QJcAY4O6JPzqov3wdRX8qC5Xjhc/VjQO3+ooc2gKbNDr/BD?= =?us-ascii?Q?UAwRgXU1wsk48xzQFzAcmBMYQ0S7cEf4NBo4q0pzDRl8Q5HmCIuSJbvdceqF?= =?us-ascii?Q?937TSfMg17s60zYAYjpEYQ89gwhKvb2shE1UacfxT7C+YYt15Z9lY6OW6uvI?= =?us-ascii?Q?T5QJruv1L4Ng5D+DuFsYZeT96GPOyLl0QjByllh9Y3k9k5Xv90FTLvL4YDyM?= =?us-ascii?Q?i6WWWN8naTQJ7pp6XvmEx9Z8LwcOF1/vHvFYw5gZLhLQZ0+khJ+DLYHCPEhZ?= =?us-ascii?Q?2py2jhflKCY9w5lMfB6i?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e44a6456-3915-4a7e-d1a0-08dc7bf7c293 X-MS-Exchange-CrossTenant-AuthSource: CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2024 13:45:23.3795 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR84MB3915 Received-SPF: pass client-ip=2a01:111:f403:2c16::800; envelope-from=Morgan.J.Smith@outlook.com; helo=NAM11-CO1-obe.outbound.protection.outlook.com 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, SPF_HELO_PASS=-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.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.45 X-Spam-Score: -6.45 X-Migadu-Queue-Id: 7A407C4C2 X-Migadu-Scanner: mx11.migadu.com X-TUID: ToEu0NgmG2KU * etc/ORG-NEWS: Fix typos. * testing/lisp/test-org-agenda.el: Fix typos. --- Hello! I was reading through the news and found this entry a little confusing. Also the variable names wheren't quite right. Thanks, Morgan etc/ORG-NEWS | 13 +++++-------- testing/lisp/test-org-agenda.el | 26 +++++++++++++------------- 2 files changed, 18 insertions(+), 21 deletions(-) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 585b2b262..e2bbe3e0e 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -666,19 +666,16 @@ arrived. Users who often work with altering REPL prompts may consider reducing the default 5 second value of the new option. -*** ~repeated-after-deadline~ value of ~org-agenda-skip-scheduled-repeats-after-deadline~ is moved to a new customization +*** ~repeated-after-deadline~ value of ~org-agenda-skip-scheduled-if-deadline-is-shown~ is moved to a new customization A new custom option ~org-agenda-skip-scheduled-repeats-after-deadline~ is introduced in place of ~repeated-after-deadline~ value of -~org-agenda-skip-scheduled-repeats-after-deadline~. +~org-agenda-skip-scheduled-if-deadline-is-shown~. -Introducing a new option allow more control over agenda display and -resolves a confusion about the meaning of ~repeated-after-deadline~. -~repeated-after-deadline~ has nothing to do with /showing/ deadline. -It just prevents agenda display repeated scheduled entries past -deadline. The following example illustrates the meaning: +The following example would no longer show in the agenda as scheduled +after January 5th with the new customization set to ~t~. -: * TODO Do me every day before Jan, 12th (included) +: * TODO Do me every day until Jan, 5th (inclusive) : SCHEDULED: <2024-01-03 Wed +1d> DEADLINE: <2024-01-05 Fri> The old customization will continue to work, ensuring backwards compatibility. diff --git a/testing/lisp/test-org-agenda.el b/testing/lisp/test-org-agenda.el index d4f7e71b4..72a005e71 100644 --- a/testing/lisp/test-org-agenda.el +++ b/testing/lisp/test-org-agenda.el @@ -598,7 +598,7 @@ DEADLINE: " (cdr timestamp)))) (dolist (org-agenda-skip-scheduled-repeats-after-deadline '(nil t)) (org-test-at-time "2024-01-01 8:00" (org-test-with-temp-text-in-file " -* TODO Do me every day before Jan, 12th (included) +* TODO Do me every day until Jan, 5th (inclusive) SCHEDULED: <2024-01-03 Wed +1d> DEADLINE: <2024-01-05 Fri> " (let ((org-agenda-span 'week) @@ -614,15 +614,15 @@ SCHEDULED: <2024-01-03 Wed +1d> DEADLINE: <2024-01-05 Fri> (string-match-p "Week-agenda (W01): Monday 1 January 2024 W01 - [^:]+:In 4 d.: TODO Do me every day before Jan, 12th (included) + [^:]+:In 4 d.: TODO Do me every day until Jan, 5th (inclusive) Tuesday 2 January 2024 Wednesday 3 January 2024 - [^:]+:Scheduled: TODO Do me every day before Jan, 12th (included) + [^:]+:Scheduled: TODO Do me every day until Jan, 5th (inclusive) Thursday 4 January 2024 - [^:]+:Scheduled: TODO Do me every day before Jan, 12th (included) + [^:]+:Scheduled: TODO Do me every day until Jan, 5th (inclusive) Friday 5 January 2024 - [^:]+:Scheduled: TODO Do me every day before Jan, 12th (included) - [^:]+:Deadline: TODO Do me every day before Jan, 12th (included) + [^:]+:Scheduled: TODO Do me every day until Jan, 5th (inclusive) + [^:]+:Deadline: TODO Do me every day until Jan, 5th (inclusive) Saturday 6 January 2024 Sunday 7 January 2024" (buffer-string))) @@ -631,19 +631,19 @@ Sunday 7 January 2024" (string-match-p "Week-agenda (W01): Monday 1 January 2024 W01 - [^:]+:In 4 d.: TODO Do me every day before Jan, 12th (included) + [^:]+:In 4 d.: TODO Do me every day until Jan, 5th (inclusive) Tuesday 2 January 2024 Wednesday 3 January 2024 - [^:]+:Scheduled: TODO Do me every day before Jan, 12th (included) + [^:]+:Scheduled: TODO Do me every day until Jan, 5th (inclusive) Thursday 4 January 2024 - [^:]+:Scheduled: TODO Do me every day before Jan, 12th (included) + [^:]+:Scheduled: TODO Do me every day until Jan, 5th (inclusive) Friday 5 January 2024 - [^:]+:Scheduled: TODO Do me every day before Jan, 12th (included) - [^:]+:Deadline: TODO Do me every day before Jan, 12th (included) + [^:]+:Scheduled: TODO Do me every day until Jan, 5th (inclusive) + [^:]+:Deadline: TODO Do me every day until Jan, 5th (inclusive) Saturday 6 January 2024 - [^:]+:Scheduled: TODO Do me every day before Jan, 12th (included) + [^:]+:Scheduled: TODO Do me every day until Jan, 5th (inclusive) Sunday 7 January 2024 - [^:]+:Scheduled: TODO Do me every day before Jan, 12th (included)" + [^:]+:Scheduled: TODO Do me every day until Jan, 5th (inclusive)" (buffer-string)))))) (org-test-agenda--kill-all-agendas)))) -- 2.41.0