GNU bug report logs -
#59899
30.0.50; Failing to match org-agenda properties
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59899 in the body.
You can then email your comments to 59899 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59899
; Package
emacs
.
(Thu, 08 Dec 2022 09:51:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Brent Westbrook <bwestbr2 <at> go.olemiss.edu>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 08 Dec 2022 09:51:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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>="<today>"
or SCHEDULED="<today>", I get no results, but if I do
SCHEDULED<="<today>" or SCHEDULED<"<today>", 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>=\"<today>\"+SCHEDULED<\"<tomorrow>\"|DEADLINE>=\"<today>\"+DEADLINE<\"<tomorrow>\""
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>=\"<today>\"", as in the example above, fails to return any
results. I've also tried SCHEDULED<"<tomorrow>" 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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59899
; Package
emacs
.
(Thu, 08 Dec 2022 11:01:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 59899 <at> debbugs.gnu.org (full text, mbox):
> From: Brent Westbrook <bwestbr2 <at> go.olemiss.edu>
> 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>="<today>"
> or SCHEDULED="<today>", I get no results, but if I do
> SCHEDULED<="<today>" or SCHEDULED<"<today>", 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>=\"<today>\"+SCHEDULED<\"<tomorrow>\"|DEADLINE>=\"<today>\"+DEADLINE<\"<tomorrow>\""
>
> 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>=\"<today>\"", as in the example above, fails to return any
> results. I've also tried SCHEDULED<"<tomorrow>" 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?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59899
; Package
emacs
.
(Thu, 08 Dec 2022 23:19:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 59899 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii writes:
>> From: Brent Westbrook <bwestbr2 <at> go.olemiss.edu>
>> 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>="<today>"
>> or SCHEDULED="<today>", 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 <at> localhost
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Fri, 09 Dec 2022 07:00:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Brent Westbrook <bwestbr2 <at> go.olemiss.edu>
:
bug acknowledged by developer.
(Fri, 09 Dec 2022 07:00:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 59899-done <at> debbugs.gnu.org (full text, mbox):
> From: Kyle Meyer <kyle <at> kyleam.com>
> Cc: 59899 <at> 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 <at> localhost
Thanks, so I'm closing this bug.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 06 Jan 2023 12:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 216 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.