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 ms5.migadu.com with LMTPS id yK/CM6Z4kGNIVgEAbAwnHQ (envelope-from ) for ; Wed, 07 Dec 2022 12:27:34 +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 0BqqM6Z4kGMRTAEAauVa8A (envelope-from ) for ; Wed, 07 Dec 2022 12:27:34 +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 B9AB02A1E2 for ; Wed, 7 Dec 2022 12:27:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2sZV-00014h-9F; Wed, 07 Dec 2022 06:26:41 -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 1p2sZU-00014T-1i for emacs-orgmode@gnu.org; Wed, 07 Dec 2022 06:26:40 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2sZS-00076U-5i for emacs-orgmode@gnu.org; Wed, 07 Dec 2022 06:26:39 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D7476240026 for ; Wed, 7 Dec 2022 12:26:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670412395; bh=wFnguVx+/lzrqRxZ7spVkQxBfXmQmWoCV8ceE6Uq47g=; h=From:To:Cc:Subject:Date:From; b=cPm804x9+5d0c5MID28qDWtLFXg1M1BRONKbrsOfO30PtciyQY7DwhCekKA9BRQXo Q59PUV8SivXFcREpYCPVBgnBYCc5LEtW0qk1IUq9Uq9xuV2F9Q4wXxRyOcF4R+Dc1c eeNLWckp2mkj6hkvt+juVyhOiu8t4TCbkGzb5UbovBMyk/SAfvRyHWZ5pMDBLeG1FF cr3H3fl/s42CdMK5zmVmlHWWTZPRnNoNjjrMB8mEGsBF6okFLaTppe4IaWyiw9McyN ke5/0iek5pj4LnJ1FpMVefjtz7QebiyFdYA637JXV13QW++oB4ua+RO50fM1scGd/n a2q+/fiBjoY7Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NRw3G4gsvz6tmG; Wed, 7 Dec 2022 12:26:34 +0100 (CET) From: Ihor Radchenko To: Kyle Meyer Cc: Carlo Tambuatco , Org-Mode Mailing List Subject: Re: [BUG] Org 9.6 Inactive timestamp search no longer works as expected. In-Reply-To: <87bkokgtd7.fsf@kyleam.com> References: <87bkokgtd7.fsf@kyleam.com> Date: Wed, 07 Dec 2022 11:26:29 +0000 Message-ID: <87pmcvh2u2.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=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 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Scanner: scn1.migadu.com X-TUID: y5X65M7wqFhO Kyle Meyer writes: > On 12/03/22 13:44:33 -0500, Carlo Tambuatco wrote: >> Simple inactive timestamp search for recent completed tasks used to retu= rn as expected. ie: >> >> +TIMESTAMP_IA>=3D=E2=80=9C=E2=80=9D+TIMESTAMP_IA<=E2=80=9C=E2=80=9D=20 >> >> would return all tasks that I completed today. (Had an inactive timestam= p greater than or equal=20 >> to 12:00 am of the current day, but less than tomorrow) >> [...] > > Thanks for reporting. I had noticed one of my "" queries had > stopped working but hadn't yet got around to bisecting. Doing so now, > this looks like a regression from e022a0cea (org-make-tags-matcher: Do > not treat PROPERTY=3D"[X]" as timestamp match, 2022-10-25). > > Ihor, I haven't reviewed the linked discussion in that commit, but with > its change (shown below), the regex now longer matches things like > "" and "". > > diff --git a/lisp/org.el b/lisp/org.el > index e93a81210..01e0279c8 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -11337,7 +11337,7 @@ (defun org-make-tags-matcher (match &optional onl= y-local-tags) > (pv (match-string 7 term)) > (regexp (eq (string-to-char pv) ?{)) > (strp (eq (string-to-char pv) ?\")) > - (timep (string-match-p "^\"[[<].*[]>]\"$" pv)) > + (timep (string-match-p "^\"[[<][0-9]+.*[]>]\"$" pv)) Thanks for the bisection! The problematic commit tried to fix false positive matches of the regexp. I overdid it. Fixed on bugfix now. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D5d14e88c5 --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at