You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Org QL does not currently match timestamps with internal time ranges, commonly used for events. These are different from time/date ranges where two timestamps are connected by --.
* Discussion on climate change
<2006-11-02 Thu 20:00-22:00>
Interestingly, the latest Org Syntax document just defines times as:
TIME (optional)
An instance of the pattern H:MMREST where H represents a one to two digit number (and can start with 0), and M represents a single digit. REST can contain anything but \n or closing bracket.
I was wondering if the Org QL behavior was by design or simply because you don’t personally use these. I think this could be fixed by changing the timestamp regexp, but the predicate code is pretty complex, so I don’t know the full implications of that.
Matching these timestamps would be another step towards fully replacing the Org agenda with Org QL (and its caching!). There is currently no mechanism for generating an Org agenda-like time grid, but I think it makes sense for Org QL to limit its scope to simply returning (and in the case of org-ql-view, displaying) lists of headings. Matching timestamps with internal time ranges would mean a package like calfw could leverage a calfw-org-ql backend rather than the org-agenda-based calfw-org.
The text was updated successfully, but these errors were encountered:
v0.8.7 will allow such ranges to be matched simply, but matching depending on the specific inner time ranges will not work yet. That will require some refactoring, and so it will be done in a future version (maybe v0.9, maybe not).
Note that this is a form of basic, initial support. More
comprehensive support will require refactoring of how timestamp values
are handled, which is deferred until a future version.
See <#237> and
<#371>.
Reported-by: Ihor Radchenko <[email protected]>
Org QL does not currently match timestamps with internal time ranges, commonly used for events. These are different from time/date ranges where two timestamps are connected by
--
.The example from the manual:
Interestingly, the latest Org Syntax document just defines times as:
I was wondering if the Org QL behavior was by design or simply because you don’t personally use these. I think this could be fixed by changing the timestamp regexp, but the predicate code is pretty complex, so I don’t know the full implications of that.
Somewhat related to #159
Matching these timestamps would be another step towards fully replacing the Org agenda with Org QL (and its caching!). There is currently no mechanism for generating an Org agenda-like time grid, but I think it makes sense for Org QL to limit its scope to simply returning (and in the case of
org-ql-view
, displaying) lists of headings. Matching timestamps with internal time ranges would mean a package likecalfw
could leverage acalfw-org-ql
backend rather than theorg-agenda
-basedcalfw-org
.The text was updated successfully, but these errors were encountered: