From unknown Mon Aug 11 12:53:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59899: 30.0.50; Failing to match org-agenda properties Resent-From: Brent Westbrook Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Dec 2022 09:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59899 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 59899@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167049305830671 (code B ref -1); Thu, 08 Dec 2022 09:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Dec 2022 09:50:58 +0000 Received: from localhost ([127.0.0.1]:55665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3DYP-0007yY-6U for submit@debbugs.gnu.org; Thu, 08 Dec 2022 04:50:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:52092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p38Du-0000nU-W5 for submit@debbugs.gnu.org; Wed, 07 Dec 2022 23:09:28 -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 1p38Du-0006FY-6D for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2022 23:09:26 -0500 Received: from mail-qv1-xf32.google.com ([2607:f8b0:4864:20::f32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p38Dr-00006g-1t for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2022 23:09:24 -0500 Received: by mail-qv1-xf32.google.com with SMTP id q10so210599qvt.10 for ; Wed, 07 Dec 2022 20:09:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=go-olemiss-edu.20210112.gappssmtp.com; s=20210112; h=mime-version:message-id:date:subject:to:from:user-agent:from:to:cc :subject:date:message-id:reply-to; bh=rlLfjEGaFLzTXHir+RH+FEYYKNQJEc6MmglRFk3XsyY=; b=dlJjlRk208zpyxf8LG1pWN+Y1iAZDcH0VNFoDNvzbNkxyhE4+yGQo86SBRpDQmzd5L Lnr2vZf9mFSxcqEI2iNZuevR0uvA4E158xe3X7EKubHX/Ny6UdiRP5Ro/zVrCDpJG9zu hbwF0n+WzELasHB/zFCW8qKvDj7diqaVhHcWRYA5U5tpmYd0oajdDKmPTTLrcgvO2v1Y 1J4h9DPvWyw42Ra/GtoBrBaj0RmhGVatjJ2/+sZUwb6LgZCgrmg1ocgCS+6aGyH3Ff6b pZ6P42fgBd1OHvYm8SyG9k3n9GDmAozbc8m3vtqYMzyFJrR69XiNEi1etWdtANI7SMQ9 REHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:user-agent :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rlLfjEGaFLzTXHir+RH+FEYYKNQJEc6MmglRFk3XsyY=; b=t9E5HCTE7S9FbTPVVRMKEAHaiST4XbOSFARsU9dft49fdmUESAPqN79RHIO0pS2Rzo VWuGm1n3T7fD3b/8UYNkRCurWhqVCBpm6KIEo5m2500fF2PVDBkglRiNjOXBz6SvQi0S qq9bUmbyC7GzMcXUqDCD+w/Aa9yZXoHTyM0E0Y0rHU+rbXDHNUkE9uktkUTVKXMCdnL6 kTgUeSXxtxh1/U91tVH0EzuNcoD+Ro69SoYUDB0wAJ1sqEjKyxwI5gRS+Smr3XGsJxxG G1kVq5yYzpk1Dc5RsOD6GL4z5qUZrYVGIwJvA6dN8mEDNcz518LVM3y3qq18h9eSdbLR bZdg== X-Gm-Message-State: ANoB5pmlY8rG20fwjP0QkZVZ2KT0CzZ76W4f6oV3ayOSScA6gma0i+CN LM9tittUXM9u6RIIgzVUvN1guSDY3pDKHwk7 X-Google-Smtp-Source: AA0mqf5K3CsAAoDMPya3MVjhN0TLDAheW1ZSFjWaW+lFSDzHAZ1qlIxfdMolZUSckGXr2fdK4i+S6w== X-Received: by 2002:a05:6214:3b0e:b0:4b6:d277:324c with SMTP id nm14-20020a0562143b0e00b004b6d277324cmr1971199qvb.21.1670472561207; Wed, 07 Dec 2022 20:09:21 -0800 (PST) Received: from keystone (pool-100-15-80-136.washdc.fios.verizon.net. [100.15.80.136]) by smtp.gmail.com with ESMTPSA id bs15-20020a05620a470f00b006fbdeecad51sm18296335qkb.48.2022.12.07.20.09.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 20:09:20 -0800 (PST) User-agent: mu4e 1.8.11; emacs 30.0.50 From: Brent Westbrook Date: Wed, 07 Dec 2022 22:35:54 -0500 Message-ID: <87v8mmk04b.fsf@go.olemiss.edu> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f32; envelope-from=bwestbr2@go.olemiss.edu; helo=mail-qv1-xf32.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Thu, 08 Dec 2022 04:50:53 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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, Brent Westbrook From unknown Mon Aug 11 12:53:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59899: 30.0.50; Failing to match org-agenda properties 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 X-GNU-PR-Keywords: To: Brent Westbrook Cc: 59899@debbugs.gnu.org Received: via spool by 59899-submit@debbugs.gnu.org id=B59899.16704972221454 (code B ref 59899); Thu, 08 Dec 2022 11:01:02 +0000 Received: (at 59899) by debbugs.gnu.org; 8 Dec 2022 11:00:22 +0000 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 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 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==; 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 Date: Thu, 08 Dec 2022 13:00:03 +0200 Message-Id: <83k0322ma4.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87v8mmk04b.fsf@go.olemiss.edu> (message from Brent Westbrook on Wed, 07 Dec 2022 22:35:54 -0500) References: <87v8mmk04b.fsf@go.olemiss.edu> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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? From unknown Mon Aug 11 12:53:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59899: 30.0.50; Failing to match org-agenda properties Resent-From: Kyle Meyer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Dec 2022 23:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59899 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Brent Westbrook , Eli Zaretskii Cc: 59899@debbugs.gnu.org Received: via spool by 59899-submit@debbugs.gnu.org id=B59899.167054149827740 (code B ref 59899); Thu, 08 Dec 2022 23:19:02 +0000 Received: (at 59899) by debbugs.gnu.org; 8 Dec 2022 23:18:18 +0000 Received: from localhost ([127.0.0.1]:59747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3Q9h-0007DM-LE for submit@debbugs.gnu.org; Thu, 08 Dec 2022 18:18:18 -0500 Received: from out2.migadu.com ([188.165.223.204]:14391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3Q9f-0007DG-0P for 59899@debbugs.gnu.org; Thu, 08 Dec 2022 18:18:16 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1670541493; h=from:from: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; bh=aBoOri6n+XUN7WXzc2SI8/NAPqp8U46SNn1Lcye5BKU=; b=MMoqB7jaiMTit2+pJMSmPcxUzoOEWWUHRt/KvZpcwmnaFAtvE/a0uVucuiWVkU7N6Ywr/a SDaGRcRWOqKsOfNZCuDyJPKrBH6fBRHmoNJpdAYs1sIA8bGYG5Ap8v0u0g28sAZNuIx1Dr VFbhi6w4UIIrBIStcGWIcr9J4KfMjbJ3IKXhE8fEMVTY+1wxgTIh3GRVLWbU5+pNNB/lCG AlNzeuiGbkcm9fQAEGqUb6v7BAnEV5EM71BBpWfpGzTiqhwn5r9RgFP0SCBjj8TlLeQzsy jV/9N72/t+whm5iHjZtx2EdWXaB1dnj2m9gSVUqHmLFaIgqxR+07WtfqddWvUw== From: Kyle Meyer In-Reply-To: <83k0322ma4.fsf@gnu.org> References: <87v8mmk04b.fsf@go.olemiss.edu> <83k0322ma4.fsf@gnu.org> Date: Thu, 08 Dec 2022 18:18:11 -0500 Message-ID: <87h6y5fpsc.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> 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 [...] > Thanks, but could you please report this to the Org list first? This regression should be fixed in the Org repo with Ihor's 5d14e88c5 (org-make-tags-matcher: Fix regexp, 2022-12-07), which will be included in the next sync. related Org mailing thread: https://list.orgmode.org/87pmcvh2u2.fsf@localhost From unknown Mon Aug 11 12:53:36 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Brent Westbrook Subject: bug#59899: closed (Re: bug#59899: 30.0.50; Failing to match org-agenda properties) Message-ID: References: <83bkod12qo.fsf@gnu.org> <87v8mmk04b.fsf@go.olemiss.edu> X-Gnu-PR-Message: they-closed 59899 X-Gnu-PR-Package: emacs Reply-To: 59899@debbugs.gnu.org Date: Fri, 09 Dec 2022 07:00:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1670569202-13636-1" This is a multi-part message in MIME format... ------------=_1670569202-13636-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #59899: 30.0.50; Failing to match org-agenda properties which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 59899@debbugs.gnu.org. --=20 59899: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D59899 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1670569202-13636-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 59899-done) by debbugs.gnu.org; 9 Dec 2022 06:59:59 +0000 Received: from localhost ([127.0.0.1]:33936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3XMV-0003XK-0c for submit@debbugs.gnu.org; Fri, 09 Dec 2022 01:59:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3XMT-0003X0-S6 for 59899-done@debbugs.gnu.org; Fri, 09 Dec 2022 01:59:58 -0500 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 1p3XMN-0006Lq-Mt; Fri, 09 Dec 2022 01:59:51 -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=4e/mym/7YsLyCAEw0zpVkl8S6A739xh1nE2qKOhe2v0=; b=rDmMSsB+SVWQ si+o0yRVl6ioyo48h+lb5aFB33FPFL6LQlDovfJShrKTRNDVI4ZPqpXAzJoBttTwNO4c8gzcSj05h T2wAqDFWHQyi8E8QdpvJP0z+uNzmnA/z7y/FCPpJBLwnxs05upa+EcDJ8nLS8LS0KICkpjR3/7ua7 2KIktzeNXz7oVUQiPeU9eXTJIa6IdfzQQh9O7jvuzwCucQnbXNIVgQPqdnKEHej+m7RDuH/Y+QQQb VTtsovAKHgOmU/jU0iGFBCY+ta8nTfupydo8pG/Pgyqmq3LXX3PcgGhTjsdPL8vmpCZ6WESX/lSsq f4M0EcJ9uRJdEf/4EuYaBA==; 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 1p3XMN-0006lJ-5e; Fri, 09 Dec 2022 01:59:51 -0500 Date: Fri, 09 Dec 2022 08:59:43 +0200 Message-Id: <83bkod12qo.fsf@gnu.org> From: Eli Zaretskii To: Kyle Meyer In-Reply-To: <87h6y5fpsc.fsf@kyleam.com> (message from Kyle Meyer on Thu, 08 Dec 2022 18:18:11 -0500) Subject: Re: bug#59899: 30.0.50; Failing to match org-agenda properties References: <87v8mmk04b.fsf@go.olemiss.edu> <83k0322ma4.fsf@gnu.org> <87h6y5fpsc.fsf@kyleam.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 59899-done Cc: 59899-done@debbugs.gnu.org, bwestbr2@go.olemiss.edu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Kyle Meyer > Cc: 59899@debbugs.gnu.org > Date: Thu, 08 Dec 2022 18:18:11 -0500 > > This regression should be fixed in the Org repo with Ihor's 5d14e88c5 > (org-make-tags-matcher: Fix regexp, 2022-12-07), which will be included > in the next sync. > > related Org mailing thread: > https://list.orgmode.org/87pmcvh2u2.fsf@localhost Thanks, so I'm closing this bug. ------------=_1670569202-13636-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 8 Dec 2022 09:50:58 +0000 Received: from localhost ([127.0.0.1]:55665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3DYP-0007yY-6U for submit@debbugs.gnu.org; Thu, 08 Dec 2022 04:50:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:52092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p38Du-0000nU-W5 for submit@debbugs.gnu.org; Wed, 07 Dec 2022 23:09:28 -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 1p38Du-0006FY-6D for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2022 23:09:26 -0500 Received: from mail-qv1-xf32.google.com ([2607:f8b0:4864:20::f32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p38Dr-00006g-1t for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2022 23:09:24 -0500 Received: by mail-qv1-xf32.google.com with SMTP id q10so210599qvt.10 for ; Wed, 07 Dec 2022 20:09:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=go-olemiss-edu.20210112.gappssmtp.com; s=20210112; h=mime-version:message-id:date:subject:to:from:user-agent:from:to:cc :subject:date:message-id:reply-to; bh=rlLfjEGaFLzTXHir+RH+FEYYKNQJEc6MmglRFk3XsyY=; b=dlJjlRk208zpyxf8LG1pWN+Y1iAZDcH0VNFoDNvzbNkxyhE4+yGQo86SBRpDQmzd5L Lnr2vZf9mFSxcqEI2iNZuevR0uvA4E158xe3X7EKubHX/Ny6UdiRP5Ro/zVrCDpJG9zu hbwF0n+WzELasHB/zFCW8qKvDj7diqaVhHcWRYA5U5tpmYd0oajdDKmPTTLrcgvO2v1Y 1J4h9DPvWyw42Ra/GtoBrBaj0RmhGVatjJ2/+sZUwb6LgZCgrmg1ocgCS+6aGyH3Ff6b pZ6P42fgBd1OHvYm8SyG9k3n9GDmAozbc8m3vtqYMzyFJrR69XiNEi1etWdtANI7SMQ9 REHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:user-agent :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rlLfjEGaFLzTXHir+RH+FEYYKNQJEc6MmglRFk3XsyY=; b=t9E5HCTE7S9FbTPVVRMKEAHaiST4XbOSFARsU9dft49fdmUESAPqN79RHIO0pS2Rzo VWuGm1n3T7fD3b/8UYNkRCurWhqVCBpm6KIEo5m2500fF2PVDBkglRiNjOXBz6SvQi0S qq9bUmbyC7GzMcXUqDCD+w/Aa9yZXoHTyM0E0Y0rHU+rbXDHNUkE9uktkUTVKXMCdnL6 kTgUeSXxtxh1/U91tVH0EzuNcoD+Ro69SoYUDB0wAJ1sqEjKyxwI5gRS+Smr3XGsJxxG G1kVq5yYzpk1Dc5RsOD6GL4z5qUZrYVGIwJvA6dN8mEDNcz518LVM3y3qq18h9eSdbLR bZdg== X-Gm-Message-State: ANoB5pmlY8rG20fwjP0QkZVZ2KT0CzZ76W4f6oV3ayOSScA6gma0i+CN LM9tittUXM9u6RIIgzVUvN1guSDY3pDKHwk7 X-Google-Smtp-Source: AA0mqf5K3CsAAoDMPya3MVjhN0TLDAheW1ZSFjWaW+lFSDzHAZ1qlIxfdMolZUSckGXr2fdK4i+S6w== X-Received: by 2002:a05:6214:3b0e:b0:4b6:d277:324c with SMTP id nm14-20020a0562143b0e00b004b6d277324cmr1971199qvb.21.1670472561207; Wed, 07 Dec 2022 20:09:21 -0800 (PST) Received: from keystone (pool-100-15-80-136.washdc.fios.verizon.net. [100.15.80.136]) by smtp.gmail.com with ESMTPSA id bs15-20020a05620a470f00b006fbdeecad51sm18296335qkb.48.2022.12.07.20.09.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 20:09:20 -0800 (PST) User-agent: mu4e 1.8.11; emacs 30.0.50 From: Brent Westbrook To: bug-gnu-emacs@gnu.org Subject: 30.0.50; Failing to match org-agenda properties Date: Wed, 07 Dec 2022 22:35:54 -0500 Message-ID: <87v8mmk04b.fsf@go.olemiss.edu> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f32; envelope-from=bwestbr2@go.olemiss.edu; helo=mail-qv1-xf32.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 08 Dec 2022 04:50:53 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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, Brent Westbrook ------------=_1670569202-13636-1--