From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sISdN4AdOWKfGAAAgWs5BA (envelope-from ) for ; Tue, 22 Mar 2022 01:51:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qA/ELoAdOWIdRQEAG6o9tA (envelope-from ) for ; Tue, 22 Mar 2022 01:51:12 +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 4A3962CDD for ; Tue, 22 Mar 2022 01:51:12 +0100 (CET) Received: from localhost ([::1]:46100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWSju-0007SA-Ei for larch@yhetil.org; Mon, 21 Mar 2022 20:51:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWSjU-0007Rx-D1 for emacs-orgmode@gnu.org; Mon, 21 Mar 2022 20:50:44 -0400 Received: from [2a00:1450:4864:20::22e] (port=36354 helo=mail-lj1-x22e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWSjS-0000cl-I6 for emacs-orgmode@gnu.org; Mon, 21 Mar 2022 20:50:44 -0400 Received: by mail-lj1-x22e.google.com with SMTP id o6so22102137ljp.3 for ; Mon, 21 Mar 2022 17:50:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=aQHRQATe/P87qBDn9oAxwENKksGF/yzRomq8maOtU1I=; b=BkCzuRdBjA6YlsFtC2nevKXMKjFjFW4WOz4da19CPFq2gEvzCOMHHZ2wknhHmdTPWR bYFWzvP9FzNUake8NHT4BBXMgyRQmjrWJh6kvXxrEiDtxkoVAjJ6OxpvxrvduTljxj1d Az+BK75GQmcX9GHUXQTXwX5wNiSISGQzqYfqD6bSD8UQ6end9TjmvCGuVjUJaTgUZJq5 5DOwirkV5+eloiNLeKE0jVyM/+6IJf5wt83F8Zn26Y21UnKaGGcGNsUycVPPHdXixMIH 9EYlOMf/UV3zsCu8wXpcj/IdBEEXvwTbP0k4f9Fnl+LuC5xOhvDfLQVJydo0InTDJ2WR 2dPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=aQHRQATe/P87qBDn9oAxwENKksGF/yzRomq8maOtU1I=; b=SFlBem0RsE/IYsvOilgEb7Ae4vxLFIk0MTevI5n2PJPcO4PHDh4o2mfi6FWa1kNWg3 BYR8Vm/DNJ0AuEB+L+efjS5YRTRRi2Qjey0V7XH/CLCyzi9gwG/9EclnaIJmretMOoF8 3nIwViYinXRTeF0LMjFxqYOl5WlhDf3Jj6M/c3cC9YJT6K9jVtjmEiTtEq1dlZKawXVV +ThQbXNybUqBNCKZLBfaiMM5omRMw3sAKa8U8lIoBlrxT2XPQAR22k5IRGoE1Afy7Gyk WLpB6KoG/jwj69l4lPeKKWAsBBwb2x95Yjy9LXpIkk4TaFrm1KWsCB0p1bJnX7DgWnAJ LW6w== X-Gm-Message-State: AOAM532HOgJBQ59ueXz7pw+RzROXN1BB9h/2THEup03e65krr8eAwHAW NLOwU4egY0Eus9+j0csyXNOYwRWtbGY/7JtqI74= X-Google-Smtp-Source: ABdhPJwXiC0+KDrSSpuTkVxRep5n7DSUbnYHO08vyMVHfFCr/gi/VncKJVgCKgXJUYMSMRiRogjCRzN+VKlCFGHUJoo= X-Received: by 2002:a05:651c:198a:b0:249:5fa4:c33b with SMTP id bx10-20020a05651c198a00b002495fa4c33bmr16038616ljb.284.1647910239486; Mon, 21 Mar 2022 17:50:39 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab3:5d96:0:0:0:0:0 with HTTP; Mon, 21 Mar 2022 17:50:38 -0700 (PDT) In-Reply-To: References: <87v8wje4nd.fsf@localhost> <066001d83d3c$7b463380$71d29a80$@tomdavey.com> From: Samuel Wales Date: Mon, 21 Mar 2022 17:50:38 -0700 Message-ID: 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/)] To: Ignacio Casso Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::22e (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::22e; envelope-from=samologist@gmail.com; helo=mail-lj1-x22e.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: tom@tomdavey.com, 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647910272; 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=aQHRQATe/P87qBDn9oAxwENKksGF/yzRomq8maOtU1I=; b=CArdbqd54LW0npM4Lu7RrEuTSWwraK+0FdLpEPnm9hsf0UZDXwqFK+EPQzv7M8t+XMIYag ++XoQZ1Xiuvhsqn7TQP5NRr6so/BCw2SYZFi4qJX2/payNm/3v11s1uzdeEseTxbE28X3J grUv/O5pPFvlW5ML0Tpzq4ewgeWKfsw4mDXSYxTTe4BL3qHJfm9pL5bwDmPNGFCvxHmfuW xmKjhfZvy7MAIdPza9+ABpZj67Vq8KngwjmljbETh03TEpLs8L5OVkQwying9YjUzGQIRT ARtAA0yERxqNkH4qWn3VeFCE7RRM9+ESoGnbFM7VUoJWiexT0m9GTOHy29fqjg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647910272; a=rsa-sha256; cv=none; b=ZMUin4qForQVVkJbWDcbsQiB5m0fv42a/nDFUROC6sGlV70NLw4bS5y6KXsIyacj689O9v iBZG/3I1AJQDa7sn70AxuoDmFdoWVRsjKdszFkhQnErcc7CBMq1fgo+hL1st9dDnQoWR+8 x12CsGswHM2HyzYHCNQ3kArKpaadwfNTnuGGUFnKYV9sbnmBgKZZ64/z2iWbeNRcA24Khq aassl/GemZ0OdM6jx08vRvwuczYEzruvpGwq9c0Q4HxHnUCUGKXiyHIzyC/j/Cwxn8wXTJ ibd1ahr9KDDWoRL7e4xoBMqS15us7FCLaNwKd5mI/NMdkjPKxUwzqTSt8sjLkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BkCzuRdB; 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.41 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BkCzuRdB; 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: 4A3962CDD X-Spam-Score: -4.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: FYPeA/xOsZ4g this is merely intuition, but i can - understand why planning line tses should not be matched in various places; they are closely tied to real org entries - not quite grasp why bare active and inactive tses should not be matched by ts agenda almost anywhere including blocks. perhaps the idea is that you might wnt to store lots of data with tses and they would be too much clutter? - understand that there are probably plenty of implementation issues that might obtrude and should be respected so i guess i am interested in the rationale. example of ts [and text] search being useful might be an example or ledger block that contains ledger source, or something like that. i can get why bare ts not being matched inside links might be useful. otoh i can get why text [not ts] and isearch search inside of links can be useful. idk if my intuitions match those of others. i am partly trying to think of what a newcomer might expect to work [and the simplicity of a rule that he or she would have to remember in order to know what the behavior will be]. On 3/21/22, Ignacio Casso wrote: > >>> 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. > > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com