From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59899: 30.0.50; Failing to match org-agenda properties Date: Thu, 08 Dec 2022 13:00:03 +0200 Message-ID: <83k0322ma4.fsf@gnu.org> References: <87v8mmk04b.fsf@go.olemiss.edu> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33284"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59899@debbugs.gnu.org To: Brent Westbrook Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 08 12:01:47 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p3Eew-0008Te-WD for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Dec 2022 12:01:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3EeU-0004NE-Ei; Thu, 08 Dec 2022 06:01:18 -0500 Original-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 1p3EeF-0004Le-Nm for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 06:01:15 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3EeE-00018x-8o for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 06:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p3EeE-0000Ns-4B for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2022 06:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Dec 2022 11:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59899 X-GNU-PR-Package: emacs Original-Received: via spool by 59899-submit@debbugs.gnu.org id=B59899.16704972221454 (code B ref 59899); Thu, 08 Dec 2022 11:01:02 +0000 Original-Received: (at 59899) by debbugs.gnu.org; 8 Dec 2022 11:00:22 +0000 Original-Received: from localhost ([127.0.0.1]:56050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3EdZ-0000NO-G9 for submit@debbugs.gnu.org; Thu, 08 Dec 2022 06:00:21 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3EdX-0000N9-7k for 59899@debbugs.gnu.org; Thu, 08 Dec 2022 06:00:19 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3EdR-0000wX-N4; Thu, 08 Dec 2022 06:00:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=CFnG0ppvMwaKsVPytIupHzwM/6PE3lHptQyLLp2XNzs=; b=QAvP5EtOeeAJ Oxq7jL2aH7Nilqc0gs35MRhOTE/jFHr2iUN/fKGkNZ8RGf2VhcITBwvS5IGtutFeVYiIA1TbBr0n2 5BUBVB1Zn8QFVURGIHe0LboUdtMp23jBSL7RJNLbRciR17ryKy7qDcCCOOZDArjzWI6I4BSeax8xu 04Om3K4DrNBYD4Uu+4MOajGMv2mq+4YLgb0/nUgkkOEJp4EyqyvUwAZkbO6Foqkn1YHucv02v2NkZ UkisSbGjQUQFCPbNKGm5UTr00+vHG9VmLiUUAMf0T2JlMMmTe9CprlMaZfNskb5xoWaCkM/6hdVVQ KkbDs5ZIelhIPx5GBa2uhg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3EdP-0000GL-Ey; Thu, 08 Dec 2022 06:00:13 -0500 In-Reply-To: <87v8mmk04b.fsf@go.olemiss.edu> (message from Brent Westbrook on Wed, 07 Dec 2022 22:35:54 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:250270 Archived-At: > From: Brent Westbrook > Date: Wed, 07 Dec 2022 22:35:54 -0500 > > In emacs -Q, with a simple org agenda file like: > > * TODO try out org mode > SCHEDULED: <2022-12-07 Wed 23:00> > > in /tmp/test.org, setting > > (setq org-agenda-files '("/tmp/test.org")) > > and running M-x org-agenda m and typing the queries SCHEDULED>="" > or SCHEDULED="", I get no results, but if I do > SCHEDULED<="" or SCHEDULED<"", it does work. This is > pretty minor in this example, but for potentially large agenda files, > this could cause a lot of work. For example, in the org-alert package I > help maintain, we use `org-map-entries` filtered with a MATCH argument > like > > "SCHEDULED>=\"\"+SCHEDULED<\"\"|DEADLINE>=\"\"+DEADLINE<\"\"" > > to select only upcoming events. I noticed that I didn't get > notifications for events on my agenda today, and this query now failing > seems to be the root cause. Even simplifying it to the first part > "SCHEDULED>=\"\"", as in the example above, fails to return any > results. I've also tried SCHEDULED<"" alone as a query, but it > yields scheduled items from today and tomorrow. > > I've checked this page > (https://orgmode.org/manual/Matching-tags-and-properties.html) of the > org manual and the breaking changes section of the 9.6 release notes but > can't see what I'm doing wrong. I'd be happy to update my queries if > that's the issue, but at least right now I think there might be a bug in > this tag-matching code. I might poke around and try to submit a patch > tomorrow if I can find anything. > > I just rebuilt my emacs from the master branch to make sure this hasn't > been fixed in the past couple of days and am still able to reproduce it > on commit 5d68cc99177569a661da0ac75bb7df1ec4098fda. I think it was > working before I updated to the version with org 9.6, but I'm not > entirely sure. Thanks, but could you please report this to the Org list first?