From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sC1KKOAWOWKNAQAAgWs5BA (envelope-from ) for ; Tue, 22 Mar 2022 01:22:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MP4aJeAWOWLeZQEAauVa8A (envelope-from ) for ; Tue, 22 Mar 2022 01:22:56 +0100 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 130441F962 for ; Tue, 22 Mar 2022 01:22:55 +0100 (CET) Received: from localhost ([::1]:38354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWSIY-0000ua-Bb for larch@yhetil.org; Mon, 21 Mar 2022 20:22:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWSH7-0000tk-5E for emacs-orgmode@gnu.org; Mon, 21 Mar 2022 20:21:26 -0400 Received: from mail-oln040092065100.outbound.protection.outlook.com ([40.92.65.100]:3202 helo=EUR01-HE1-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 1nWSGz-0005Mr-Qf for emacs-orgmode@gnu.org; Mon, 21 Mar 2022 20:21:24 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=In8Ty0Pu7xb3Rz6WUZlhxk85mUfXZI3ygo8GYo3eIZbQb662/hYGTJGs1+SioT37XrUn/CkawlUCN/SqbL3UFAP6MNDEa+BNwNYJ6s6q7jLKwiwG3lCImDSj/FaUTbRqljWNQYwt17oVu8ZCNVwOqYMTg/4H9UtaNXW8nCQR0E0rpLgbFcFZGjLvjN4gM1jv+hm3NNMfr7mhpzDQTreavTa0N8/2l6AQahL10ac8Ly8e4ganz+WjGK/fBAHp9eOO8whc5OG+QuSytLkT2Y4bbn2tairz3rvadw3FIlrGHUJMNWRFrmtRg+Kvb8suzRcMCOdHwuH9B9WYmpJYqMZhpg== 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=UFBkMiZTK7z0kOvVrhZjspJRpx55JIPMz8rMgHjpVsk=; b=IAJ7H7YS0EZfU4M8+2Xx3NjBFxKLcO4MuMbrhGKslM3QeIWCP0ajE1t9uo6vQcGYNcNY6QUUYgRncDW5flcg7LldkFbWA1Y+QZBnVUAXLN8Q6kwD/knoaBpemYqgbbJsXyYUquooQso5bdZsYvpbaoRuuTGAxZnHPUU/bDfeCx4/OrUkvb6uf8WkwZfh6QNkz2kzTOVnV3fPCNUo+HloLoVf4VN6eR5+KlX7M21ArVBRismgqi1ZzGNbzC6ZLRSvdKTbmwl44S/KajOgQgnXGiI29g+6NCIO7T3p7GASOGWSI1S12nzSmQQbHcudBTVCwDbb4APR07A/8gtoR9JCGQ== 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=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UFBkMiZTK7z0kOvVrhZjspJRpx55JIPMz8rMgHjpVsk=; b=BOxQb7dOzKbtGaFldQ/kgR51X588YNk432fqiCMXr0mH6ausYPShoVPe7bhHux2D7xBnASrg9BrX3xOK7g0Meb2o0qZp69xdH8hvH+2wCTA3zAqyDKifO0THu7jm3Tag1ebKnutw3qgngIG1qqgNxLTtvbhUVR9A0FIKUodR9KOaEzuEOGZWITrb7tMpX+zfk4DeyjYmsILbAX4F3CBRh+5RSi0Mys5fbbs9n5VxFqNhF4uuP0CjNjhFEehuLxGJRLGW1GuQnJRWm7sMdbJeGFaMl7oSiC/c+KpmQ+sgp51V+7DFODVDkzPHwlWOlr6uAzzsIbBpD1Cfe+FUcAVRbw== Received: from PAXPR06MB7760.eurprd06.prod.outlook.com (2603:10a6:102:155::8) by VI1PR0602MB3376.eurprd06.prod.outlook.com (2603:10a6:803:12::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.15; Tue, 22 Mar 2022 00:00:46 +0000 Received: from PAXPR06MB7760.eurprd06.prod.outlook.com ([fe80::e05a:8d81:8648:b10f]) by PAXPR06MB7760.eurprd06.prod.outlook.com ([fe80::e05a:8d81:8648:b10f%9]) with mapi id 15.20.5081.023; Tue, 22 Mar 2022 00:00:45 +0000 References: <87v8wje4nd.fsf@localhost> <066001d83d3c$7b463380$71d29a80$@tomdavey.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Ignacio Casso To: tom@tomdavey.com Subject: Re: [BUG] Agenda no longer works for timestamps inside properties drawer [9.5.2 (release_9.5.2-24-g668205 @ /home/ignacio/repos/emacs/lisp/org/)] Date: Tue, 22 Mar 2022 00:21:10 +0100 In-reply-to: <066001d83d3c$7b463380$71d29a80$@tomdavey.com> Message-ID: Content-Type: multipart/mixed; boundary="=-=-=" X-TMN: [JicwH4qs/HqmQwsWbkojNCZqAWSIHeB6] X-ClientProxiedBy: MR2P264CA0029.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500::17) To PAXPR06MB7760.eurprd06.prod.outlook.com (2603:10a6:102:155::8) X-Microsoft-Original-Message-ID: <874k3qyhxz.fsf@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: aa321e91-3f78-4d45-fc4b-08da0b97038e X-MS-TrafficTypeDiagnostic: VI1PR0602MB3376:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7e/KUHw+PNJI0v+tbig+1h1GArduFQaolQXIeu2MxGoQQleu8aaQtvUTjfrdV6v8Y+bMo3qiWpwj/7ULVW+4c+7PBdT5as32gJO9oys4sBRapId1hN5teLib5ap2YOBI55Ku2/qa94LisQJFVPcFWD8MP+3f8xfzcvccy9fSky+lM0dkAqzcngFp5OUhcUsg6hetDTFvoUqKWmqMqTOApWn7v3Dw659piScusUPGmhleHS9mI40/AglK72E5Esnv8yJHa2/SkHGTqIZ2pGD1px/jyS3hk+BlaD7/FuaZmLsJrXPR2Dt4IkVMapC7sdrdtBUvuPQ1Qp9NLLi1z/IcHXaulRbjqX8Gec5oWwrXee6CYLIhp3+sW0+/cak5IUG8wkywFKuuMmEefWbH3OY2C8yjWa8zYNam3vDo9BwFfbkYAysogO/PLZJr7fefyiq4VEjVTQBhuAVVXJfVFht6XyvAWUDmggEiWjw8UK5IN7d/O3h6RYxSaOVKNSAYtlh6fIbmMfdC136x7Wh6ew1cNVfmBl8U7sZFyrExIPNkdSN2TZdcyoVIFL5Mxp2tJ2iG7asYZjzPPNN7dONYurAO3A== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?5ZWNpg/0/S0yAXPQMuW+Q2XMTZwg34u45rcbvdiInWsfglu4hsIUTHyqzgra?= =?us-ascii?Q?PdUrRjSXCeYZJkGd4WR44oq807ITqRY7mzWytOlHfS7a9bQiaRwGX/sS2GzP?= =?us-ascii?Q?4Qc8jDSqwvX4Ed5U+1aLwT772FTNKXa0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TzjDTktSESzEcTJhkaMpFn1DbZK9waNi2Xb8MJe1NKqnPnRgZbHD?= =?us-ascii?Q?IAS38lDWakbaFfJrxTiWvqTDvPTHwybsVBQdslQmdEEhBtQqQaSLtwlTO+8L?= =?us-ascii?Q?7Rx/BuF1N6CdGYpEwk8yDlzeGKXGgc1cjg=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-6e454.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: aa321e91-3f78-4d45-fc4b-08da0b97038e X-MS-Exchange-CrossTenant-AuthSource: PAXPR06MB7760.eurprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Mar 2022 00:00:45.9498 (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: VI1PR0602MB3376 Received-SPF: pass client-ip=40.92.65.100; envelope-from=ignaciocasso@hotmail.com; helo=EUR01-HE1-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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647908576; 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=UFBkMiZTK7z0kOvVrhZjspJRpx55JIPMz8rMgHjpVsk=; b=b1y1ig7RUx8sxIybXM1LR3i5pujBgWqyWeQu4cfMergr6ABxajtq4UCsaidZksUuW33GL8 TwQ4SSMzOFrHg1ZYkSXVEyy3nebntT3YFJOmXauY4VE5M7bukNZN41ZChAFwmZyMB6CrLd bm8B/gmctcEOj1NUpJj4+EMKCb0xiUj4C2Np1vGI+9wOrNvGckCa2c7BHeL9JjUZkU3mQa zs8cOHhbrU1D41skU9bkdXwWzd0NgZSf5vQ7S0uCAp79uuhOsuWtAIc3wBR+Khh1hmWPQy Il0vXeqnyfWT6oytucLe6PKmS9EYpwbKbN9dY3xaGkNf2eHiEG00fj0dTHB8Ig== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1647908576; a=rsa-sha256; cv=pass; b=bddRc5pCVOa0k8jD7JcQMmo9Sz+PineXBY2Ozbceylcfweql1/NCwAcUwl/p4nPTVO3EFf VjQjyjQz9SelPlPo55uoTx8tsPc3um8Qrq0vfrklCKoLzvWGMD4HDlHWJ6EIKt26r/ZTYD 3O/ut1UZSGUZSX+nF7PblHSITBzWQhlz5WT0vDdOLe2D99U2jWX7O723HmC0CpZrxsOJMM 3P2+1m8+59YQ2YHg9hG/ntRsBZbye2+FQr+fYAv8mfO9gtufp7CHbFth0wJhOJ1U37ziPZ t0J/nI10dLM/xc5syohWYrshsA7a/2Q5iuVgINta40BBW3+uv/Kqb608k5Ulaw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=hotmail.com header.s=selector1 header.b=BOxQb7dO; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=hotmail.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: -9.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=hotmail.com header.s=selector1 header.b=BOxQb7dO; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=hotmail.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: 130441F962 X-Spam-Score: -9.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: kCJRrzwGku8b --=-=-= Content-Type: text/plain >> What you see in the new Org version is not a bug. Property values are >> treated as plain text by Org. >> >> I was unable to find a place in manual describing that timestamps cannot >> be placed inside property values: >> I personally see allowing timestamps (and links) inside property values as a useful feature. >> Would it be of interest for other users? > > Yes, it's a quite useful feature. For years, via my Capture templates, I've been adding a property named :Created: to the properties drawer as follows: > > :PROPERTIES: > :Created: <2022-03-06 Sun 22:42> > :END: > > Now, in 9.5.2, literally hundreds of entries that formerly appeared on the built-in Agenda views cannot be easily found. It seems that I'm not the only one using this unintended feature in previous versions of org, and probably there will be many others who don't use the latest version of org and have not noticed yet but will have the same problem when they upgrade. I think that even if timestamps were never intended to be used inside property drawers before, the fact that it worked for a long time and nothing in the documentation suggested otherwise makes it a de facto feature, even if unintended, and should be preserved. I've located the line in org-agenda.el responsible of the new behavior, and the following patch seems to fix it. I suggest it is incorporated into the repository, maybe with a variable org-agenda-skip-timestamps-in-properties-drawer defaulting to t if not everyone agrees. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-fixed.patch Content-Description: Patch for allowing timestamps inside property drawers again >From 7a27ecd65aa6fea4240756d773c8efe8c4d506fd Mon Sep 17 00:00:00 2001 From: Ignacio Date: Tue, 22 Mar 2022 00:18:05 +0100 Subject: [PATCH] fixed --- lisp/org/org-agenda.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el index ae0058e037..796b98201d 100644 --- a/lisp/org/org-agenda.el +++ b/lisp/org/org-agenda.el @@ -5732,7 +5732,7 @@ org-agenda-get-timestamps (org-before-first-heading-p) (and org-agenda-include-inactive-timestamps (org-at-clock-log-p)) - (not (eq 'timestamp (org-element-type (org-element-context))))) + (not (memq (org-element-type (org-element-context)) '(timestamp node-property)))) (throw :skip nil)) (org-agenda-skip)) (let* ((pos (match-beginning 0)) -- 2.25.1 --=-=-=--