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 ms5.migadu.com with LMTPS id ThfEKM0tkGNEjwAAbAwnHQ (envelope-from ) for ; Wed, 07 Dec 2022 07:08:13 +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 iCfdJ80tkGOt0AAAauVa8A (envelope-from ) for ; Wed, 07 Dec 2022 07:08:13 +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 692A7C045 for ; Wed, 7 Dec 2022 07:08:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2nac-0005gV-H3; Wed, 07 Dec 2022 01:07:31 -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 1p2Yiy-0002R3-Pn for emacs-orgmode@gnu.org; Tue, 06 Dec 2022 09:15:08 -0500 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2Yiw-0004SM-GP for emacs-orgmode@gnu.org; Tue, 06 Dec 2022 09:15:08 -0500 Received: by mail-pj1-x1033.google.com with SMTP id b13-20020a17090a5a0d00b0021906102d05so14886688pjd.5 for ; Tue, 06 Dec 2022 06:15:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=//6NmUKWrhqOu2OY7knuBlOX4iK8IbQ8t6NtbErlxHM=; b=n2D7KQ+SHx4RDXYRyg5WCBqsTiXpoiH7H11qCp5kjObUUr+lTVb2IxAFRMo6YbPuFe 0Fpil1OWSrJTxyAekVmFcxrgebPdDWHc4c7VSjWfpEfaR16IVUSJ/evsKaGL72J68lvJ 6iZ1ZuMJLWqT46Kys+X9EXY3aZkDlcLzZze+t/aTRjyRT8rh/R9CeDF18t3TkaxqmvFF 24vfPCDZk4+S/6vNQ8OugnOXQCSEDP1Z0PmsXwkF9V2isaZP0V9evpktgaDa3SrWNHQf R7xxnNIe9vfCz8s0Nfam46G2GLGvQL/SDZF/LPKIm7MCUjIneb2zxlgknztI5mjxhU7n vPtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=//6NmUKWrhqOu2OY7knuBlOX4iK8IbQ8t6NtbErlxHM=; b=1T/3k23H8UvuwOlQd+yhN2hMDlAoYTLjo0kqYOcPChyUjkJiRRSJ2lI9yGqSvewlC3 esmfOGm3b7c1c7MUc5iMIRsKVWoo+9yh3Z5etnBb3Ma8V+HQg5nmGIFfrbfDBBsolECk JXhIp/ZPL/XMbNQhozu4m8B+m1BatSiDhwZ+nhpLTH9um/MsM2DFA8IpqXLVi9UKmbLV Sg5G2FvmMc9/dwH1pzv5coOawYbyUQyxnz1PAW/WCPI1z0u9PLA/wKKw59ZBX/rwnT0m uZuWJNc5ZS+vh1ho3ohaxJpwqun5qYVjmi3AuC2RrfEElBGqYE/DVFnUQXuQ3t/OTvfI yOiQ== X-Gm-Message-State: ANoB5pmfc0HkzZjkjt6wSi4b5nqUlrZiBRm59ccw2fE1NV4JPjrHBQAx OEGl+uqNl0MNlXAdcXRtKNISJymm71QN8AWZuv8I4e27ATQ= X-Google-Smtp-Source: AA0mqf5jAJuK6ABB2+Gtcc34Ga3qpbA/qmitEDeL8ESSlmgdiW6k6Pr2hhq+4LgkErXfPd8pj5+Gfgo/EQPkKbFp5MM= X-Received: by 2002:a17:902:6ac4:b0:186:bb44:946d with SMTP id i4-20020a1709026ac400b00186bb44946dmr71310474plt.11.1670336102784; Tue, 06 Dec 2022 06:15:02 -0800 (PST) MIME-Version: 1.0 From: Daniel Hubmann Date: Tue, 6 Dec 2022 15:14:51 +0100 Message-ID: Subject: [BUG] Not all time/date strings are recognized as time in org-make-tags-matcher [9.6 (9.6-gd500b4 @ /home/hubisan/.emacs.default/straight/build/org/)] To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000000fe6b405ef296e26" Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=hubisan@gmail.com; helo=mail-pj1-x1033.google.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 07 Dec 2022 01:07:29 -0500 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670393293; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=//6NmUKWrhqOu2OY7knuBlOX4iK8IbQ8t6NtbErlxHM=; b=DOj+brPpDwu10Dk31PspEK8nKD6VfhUQP++VDXKMkJrS73PpEHyZYVKdPHe/3Qp3DqT+7+ A6I0OpCdmHClHLLF4RyTS8TR/9Hi1cOJPv1+2NA+9ve5x9ck9u349iF3NGRCmIuBCJKdmj g85zFpuNQ3mO/aSE9nXRcyCDrSi6fFA4pCKJHmDKAHdpG5CLeuOQ8Xo/cS43lm1MBGBrZh 6oTE94Gd4hjU1SeyVCiHu+POAqPtgf/UWmrkbHfezwszfR1r/uPCCcmuaEsM8k6bkL+2si GNkiY1TlUGk+NqDbwC9AAgDsx1Fvb/swC8kw3wn5VZj3S+XtJruE/fTuRK1SKA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670393293; a=rsa-sha256; cv=none; b=FUYTglZiOhdNrWqG3PjkmufOqmXJKIuXDe/15dOJYPidRBWL3JZ6ebKjlLjg240IkE/xem kfe2GtVBb0YgHsvKIxEYLmSBJDg6zKKlA+kSV9enVZEqZKyMeWsaSaXqo5WbeaoeEV7epn 7xd++WqlXv42WQ3XPyY8hIJTJt4aFFdpnNNdpfCqLEhoAu7R0ssQZ/JaqU70Qa3gINDK2T MqZtalVHj6caykphWY0vBHHkfdqYcvQGAaZTKh0vupXtVxOAMgSs4hYcq8m22kIYzHc4FG B/mK5Xk0wdTO3G6K9eTfqhTiZxS5qm3We8ENXygjAttzsGp2W84iodhN/XygrA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=n2D7KQ+S; 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: -5.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=n2D7KQ+S; 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: 692A7C045 X-Spam-Score: -5.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: Lu3lT1za1gyg --0000000000000fe6b405ef296e26 Content-Type: text/plain; charset="UTF-8" After updating to Org 9.6 this match in the agenda 'SCHEDULED<"<+2d>"+SCHEDULED<>"' shows all scheduled items event if they are far more in the future than 2 days. Tracked this down to a commit (e022a0cea11a0e784ba20ac478a033da7fb1bb7f) that changed the regular expression to recognize timestamps: - (timep (string-match-p "^\"[[<].*[]>]\"$" pv)) > + (timep (string-match-p "^\"[[<][0-9]+.*[]>]\"$" pv)) > If I understand it correctly, this new regular expression only matches strings that start with < and a number. So strings like , , <+2d> and so on are not working anymore. If I change the expression to the one before and evaluate the function, the match works again. A big thank you to all the developers behind org-mode! Best wishes. Daniel Hubmann Emacs : GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-07-18 Package: Org mode version 9.6 (9.6-gd500b4 @ /home/hubisan/.emacs.default/straight/build/org/) --0000000000000fe6b405ef296e26 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
After updating to Org 9.6 this match in the agenda 'SC= HEDULED<"<+2d>"+SCHEDULED<>"' shows all s= cheduled items event if they are far more in the future than 2 days.
Tracked this down to a commit (e022a0cea11a0e784ba20ac478a033da7fb1bb7f) t= hat changed the regular expression to recognize timestamps:

- =C2=A0=C2=A0 (timep (string-match-p "^\"[[<].*[]>= ]\"$" pv))
+ =C2=A0=C2=A0 (timep (string-match-p "^\&q= uot;[[<][0-9]+.*[]>]\"$" pv))


If= I understand it correctly, this new regular expression only matches string= s that start with < and a number. So strings like <today>, <tom= orrow>, <+2d> and so on are not working anymore.

If I change the expression to the one before and evaluate the functio= n, the match works again.

A big thank you to a= ll the developers behind org-mode!

Best wishes.
Daniel Hubmann

Emacs =C2=A0: GNU Emacs 29.0.50 (build 1, x86_= 64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)
=C2=A0of 20= 22-07-18
Package: Org mode version 9.6 (9.6-gd500b4 @ /home/hubisan/.ema= cs.default/straight/build/org/)
--0000000000000fe6b405ef296e26--