From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UMisOm6SLGLugwEAgWs5BA (envelope-from ) for ; Sat, 12 Mar 2022 13:30:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sJpGN26SLGK2AAAAauVa8A (envelope-from ) for ; Sat, 12 Mar 2022 13:30:38 +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 62E9A43FE8 for ; Sat, 12 Mar 2022 13:30:34 +0100 (CET) Received: from localhost ([::1]:35876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nT0tF-00065P-Hd for larch@yhetil.org; Sat, 12 Mar 2022 07:30:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT0sB-000651-6i for emacs-orgmode@gnu.org; Sat, 12 Mar 2022 07:29:28 -0500 Received: from [2a00:1450:4864:20::130] (port=45649 helo=mail-lf1-x130.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nT0s9-00030h-HM for emacs-orgmode@gnu.org; Sat, 12 Mar 2022 07:29:26 -0500 Received: by mail-lf1-x130.google.com with SMTP id l20so19403079lfg.12 for ; Sat, 12 Mar 2022 04:29:15 -0800 (PST) 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:content-transfer-encoding; bh=CSvHm4qOODHEzYD8E1qukstLvx904JIjB85O/ZArNBc=; b=ly7PyQSast4W9Ww2yNbF7hcbxQlvFlQDkmtssgKO+MKrQ8TKae9OF06p2uInuJwMjE BUDmYzYKCu/+3Sqp/sNUoMPbDFEvjyWeN7zPL+imLiQengT/VeY0rWi3LEEWFjnASOoD YpRRxSUYwFAaNa1ZLGin4vZ5PF15J5jeaxqaTf2UWJT0rM8fjv+2oEi3DHTeKFznJzpC 6DYRkywF0vET1mq/6dwk6sOy9hv/KShQ581mo7VYwYb+EnQEjFR4cP4aaxX6QfM8pJ6t G3YgLep/bauT8ZcEI2dU3YEVJaG49q6TA+PsyD6sa4yuzKeytx5vNB8DRnhHM8YKp/go Ao/w== 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:content-transfer-encoding; bh=CSvHm4qOODHEzYD8E1qukstLvx904JIjB85O/ZArNBc=; b=3HFVdAnIagFQt+RB9N4jepyq+3S5JxURMArR2hIZRY2YhrxzdQG89C0rcwWPZSw5X6 gvKCNxcTjmjyjMdEDSaiBmGxQbOwS2vttfr75Fm3vOcFE0kx89u/lwaYHfQ0m4e+COLW HwMb3M/+yesphqDD0eQwynBN/6+rXK7bzNI4hJrrn1J89G/6930Fr8vXQkiLKJu1IVqF 9xUyt2mhJFIPs+SDG1Xi1sWYVdsinzbf+070UJQQIdL6U1KIfLRwRUdIKADRcgptZPpq SL01X/QSLTT37bKqyLb9UhqJW8A81TdKika4T6nZKwpUdI3ukKTS9vlRODXJwGEdzd+Z DEeQ== X-Gm-Message-State: AOAM531+PKdSIaeiBla1l+SVcd6XL3txAZU7HqMgJFGIQ9Fp+5uacFf+ DS23ArnoKq9Rj3tZuV4sjEk= X-Google-Smtp-Source: ABdhPJws9u/A+ZHDgS0C4g7IQPSgbUgL5mH/hAXLnbRRyxgLZa3Ac21pmiBmSmCjOLHkeqd1ftsp/A== X-Received: by 2002:ac2:5a4b:0:b0:448:89d3:af3b with SMTP id r11-20020ac25a4b000000b0044889d3af3bmr853551lfn.9.1647088153867; Sat, 12 Mar 2022 04:29:13 -0800 (PST) Received: from localhost ([141.105.67.194]) by smtp.gmail.com with ESMTPSA id l11-20020a2e868b000000b002492a4ab2f7sm221851lji.4.2022.03.12.04.29.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Mar 2022 04:29:13 -0800 (PST) From: Ihor Radchenko To: Ignacio Casso 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/)] In-Reply-To: References: Date: Sat, 12 Mar 2022 20:28:38 +0800 Message-ID: <87v8wje4nd.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::130 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=yantar92@gmail.com; helo=mail-lf1-x130.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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: 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=1647088234; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=CSvHm4qOODHEzYD8E1qukstLvx904JIjB85O/ZArNBc=; b=HgCyYtCCP/Ksn6X50EP86F0ktvWxabobF0nzGiSdXzlQCBrAPlYMvDa1rLFdbKlcmxuKSr TlgjlfpYRVAZV1+BlmluLx84V731Dk3KHHI00GanvJ6E79EEIOHPNRsYSsoHKUYLUk2vea TXMYrTqD4QDCqskeS6U1ogUI92GRUl7TqUxM2xlOzTvOotyUJwLx8iCoNL0mH2lK0OxmhF 4/vfMAtNDDcPLnTm9rnyJHSqOImbBO4XyblmL/3v4CtGoOIGUcdY/6OZCkUatnwxHq9+ES PS4D92SBKN3B6VHhte87WJwu/RdgtyKj8vp5J36R7/kP3N3Nf+ahN++vB6gEcA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647088234; a=rsa-sha256; cv=none; b=Q73TXLOPa0QOXjoscJ+i3o43O62MFEO0Qvjo05t44GmueCJr6FZfDpBKKJnBoEGeSC4SBV zHC9OX0C4YPQTaiF26dhSTJuXPhfaDUgra0Hii9eqkks2afYa3MtCpXrtr6BARyM/SJwAm 8bdyuyQEd5ebD9OqBmlH7/sc7yw4MPzhH8OlbylMHAjJkGOjakkosamYj8xF4rU44gj4w0 juWKLOgzZThibKGDwr46cKjDtKBNyFyyUDgHqszt+klFu5AQtr7kTZTz17oOeyP57kAWpn QvcyRSGPLdkQrkpNCnhFpmybQVIQ4JdaG/OxdeKBq9rUWtJZoAHl8YKsHxYxpA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ly7PyQSa; 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: -3.68 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ly7PyQSa; 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: 62E9A43FE8 X-Spam-Score: -3.68 X-Migadu-Scanner: scn1.migadu.com X-TUID: AWO8qy5v0XF3 Ignacio Casso writes: > In Emacs 27.2, with an up to date version of org from ELPA (9.5.2), > org-agenda considers timestamps that appear in property drawers, so the > entry below appears in the daily agenda view. > > * Heading > :PROPERTIES: > :timestamp: <2022-03-12 s=C3=A1b> > :END: > > However, in the latest Emacs version built from source (29.0.50), with > the built-in version of org (also 9.5.2, but the latest release, I > assume), this is no longer the case and that entry does not appear in > the agenda view. > > I know that maybe it's unorthodox, but I have some org files that rely > in the previous behavior, with entries like the following: > > * Some friend > :PROPERTIES: > :birth-date: <1994-03-12 s=C3=A1b +1y> > :END: > > Is this a bug? If it's not, can someone point me to the functions I need > to touch to restore the previous behavior? Or maybe I should stop doing > this and start moving those timestamps out of the properties drawer in > my files? What you see in the new Org version is not a bug. Property values are treated as plain text by Org. In the older versions, agenda code did not rely on Org's internal parsing and matched timestamps in places where timestamps are not allowed (inside code blocks, for example). See https://orgmode.org/list/20220101122409.GA29829@itccanarias.org Dear all, I was unable to find a place in manual describing that timestamps cannot be placed inside property values: >> A timestamp is a specification of a date (possibly with a time or a >> range of times) in a special format, either =E2=80=98<2003-09-16 Tue>=E2= =80=99 or >> =E2=80=98<2003-09-16 Tue 09:39>=E2=80=99 or =E2=80=98<2003-09-16 Tue 12:= 00-12:30>=E2=80=99(1). A >> timestamp can appear anywhere in the headline or body of an Org tree >> entry. Its presence causes entries to be shown on specific dates in the >> agenda (see *note Weekly/daily agenda::). We distinguish: I personally see allowing timestamps (and links) inside property values as a useful feature. Would it be of interest for other users? In any case, we should probably clarify manual in this regard. Best, Ihor