This commit is contained in:
Adam Porter 2021-06-20 18:52:47 -05:00
parent abb05ca3db
commit 57c737b322

View file

@ -21,8 +21,22 @@
#+BEGIN: org-ql :query "todo: tags:bug" :columns ((priority "P") ((property "milestone") "M") (todo "Keyword") heading) :sort (priority todo date) :ts-format "%Y-%m-%d %H:%M" #+BEGIN: org-ql :query "todo: tags:bug" :columns ((priority "P") ((property "milestone") "M") (todo "Keyword") heading) :sort (priority todo date) :ts-format "%Y-%m-%d %H:%M"
| P | M | Keyword | Heading | | P | M | Keyword | Heading |
|---+-----+---------+------------------------------------------------| |---+-----+---------+----------------------------------------------------------|
| A | 0.6 | PROJECT | [[Timestamp predicates using relative dates break caching][Timestamp predicates using relative dates break caching]] |
| A | 0.6 | PROJECT | [[Compatibility with Org 9.4 custom link changes][Compatibility with Org 9.4 custom link changes]] | | A | 0.6 | PROJECT | [[Compatibility with Org 9.4 custom link changes][Compatibility with Org 9.4 custom link changes]] |
| | | TODO | [[Add tests for ts-related predicates][Add tests for ts-related predicates]] |
| | | TODO | [[deadline][deadline]] |
| | | TODO | [[clocked][clocked]] |
| | | TODO | [[closed][closed]] |
| | | TODO | [[planning][planning]] |
| | | TODO | [[ts][ts]] |
| | | TODO | [[Move from-to-on argument processing to query normalizers][Move from-to-on argument processing to query normalizers]] |
| | | TODO | [[deadline][deadline]] |
| | | TODO | [[scheduled][scheduled]] |
| | | TODO | [[clocked][clocked]] |
| | | TODO | [[closed][closed]] |
| | | TODO | [[planning][planning]] |
| | | TODO | [[ts][ts]] |
| | | NEXT | [[Check Org 9.4 source code for second argument][Check Org 9.4 source code for second argument]] | | | | NEXT | [[Check Org 9.4 source code for second argument][Check Org 9.4 source code for second argument]] |
#+END: #+END:
@ -31,6 +45,7 @@
#+BEGIN: org-ql :query "todo: property:milestone" :columns (((property "milestone") "M") (priority "P") todo heading) :sort (priority date) :take 9 #+BEGIN: org-ql :query "todo: property:milestone" :columns (((property "milestone") "M") (priority "P") todo heading) :sort (priority date) :take 9
| M | P | Todo | Heading | | M | P | Todo | Heading |
|--------+---+---------+--------------------------------------------------------------------------------| |--------+---+---------+--------------------------------------------------------------------------------|
| 0.6 | A | PROJECT | [[Timestamp predicates using relative dates break caching][Timestamp predicates using relative dates break caching]] |
| 0.6 | A | PROJECT | [[Compatibility with Org 9.4 custom link changes][Compatibility with Org 9.4 custom link changes]] | | 0.6 | A | PROJECT | [[Compatibility with Org 9.4 custom link changes][Compatibility with Org 9.4 custom link changes]] |
| 0.6 | A | PROJECT | [[Reverse sorting][Reverse sorting]] | | 0.6 | A | PROJECT | [[Reverse sorting][Reverse sorting]] |
| future | B | TODO | [[Sorter for property values][Sorter for property values]] | | future | B | TODO | [[Sorter for property values][Sorter for property values]] |
@ -39,7 +54,6 @@
| 0.7 | B | PROJECT | [[Optimized, date-specific timestamp regexps][Optimized, date-specific timestamp regexps]] | | 0.7 | B | PROJECT | [[Optimized, date-specific timestamp regexps][Optimized, date-specific timestamp regexps]] |
| 0.7 | B | PROJECT | [[Group tag support][Group tag support]] | | 0.7 | B | PROJECT | [[Group tag support][Group tag support]] |
| future | B | PROJECT | [[Recursive queries][Recursive queries]] | | future | B | PROJECT | [[Recursive queries][Recursive queries]] |
| future | B | PROJECT | [[Timeline view][Timeline view]] |
#+END: #+END:
** Underway ([[org-ql-search:todo%253AUNDERWAY?sort=%2528priority%2529&title=%2522Underway%2522][view]]) ** Underway ([[org-ql-search:todo%253AUNDERWAY?sort=%2528priority%2529&title=%2522Underway%2522][view]])
@ -62,7 +76,8 @@
#+BEGIN: org-ql :query "todo: priority:A" :columns ((priority "P") ((property "milestone") "M") todo heading) :sort (priority date) :take 7 #+BEGIN: org-ql :query "todo: priority:A" :columns ((priority "P") ((property "milestone") "M") todo heading) :sort (priority date) :take 7
| P | M | Todo | Heading | | P | M | Todo | Heading |
|---+-----+---------+------------------------------------------------| |---+-----+---------+---------------------------------------------------------|
| A | 0.6 | PROJECT | [[Timestamp predicates using relative dates break caching][Timestamp predicates using relative dates break caching]] |
| A | 0.6 | PROJECT | [[Compatibility with Org 9.4 custom link changes][Compatibility with Org 9.4 custom link changes]] | | A | 0.6 | PROJECT | [[Compatibility with Org 9.4 custom link changes][Compatibility with Org 9.4 custom link changes]] |
| A | | PROJECT | [[Convert simple sexp queries to non-sexp][Convert simple sexp queries to non-sexp]] | | A | | PROJECT | [[Convert simple sexp queries to non-sexp][Convert simple sexp queries to non-sexp]] |
| A | 0.6 | PROJECT | [[Reverse sorting][Reverse sorting]] | | A | 0.6 | PROJECT | [[Reverse sorting][Reverse sorting]] |
@ -73,14 +88,14 @@
#+BEGIN: org-ql :query (and (todo "PROJECT") (not (descendants (todo "NEXT" "UNDERWAY")))) :columns (((property "milestone") "M") (priority "P") heading) :sort (priority date) :take 7 #+BEGIN: org-ql :query (and (todo "PROJECT") (not (descendants (todo "NEXT" "UNDERWAY")))) :columns (((property "milestone") "M") (priority "P") heading) :sort (priority date) :take 7
| M | P | Heading | | M | P | Heading |
|--------+---+-----------------------------------------| |--------+---+---------------------------------------------------------|
| 0.6 | A | [[Timestamp predicates using relative dates break caching][Timestamp predicates using relative dates break caching]] |
| | A | [[Convert simple sexp queries to non-sexp][Convert simple sexp queries to non-sexp]] | | | A | [[Convert simple sexp queries to non-sexp][Convert simple sexp queries to non-sexp]] |
| 0.6 | A | [[Reverse sorting][Reverse sorting]] | | 0.6 | A | [[Reverse sorting][Reverse sorting]] |
| | A | [[Org%20link%20types%20%5B2/3%5D][Org link types {2/3}]] | | | A | [[Org%20link%20types%20%5B2/3%5D][Org link types {2/3}]] |
| | B | [[Outline path predicate][Outline path predicate]] | | | B | [[Outline path predicate][Outline path predicate]] |
| | B | [[Document the sorting functions][Document the sorting functions]] | | | B | [[Document the sorting functions][Document the sorting functions]] |
| future | B | [[Recursive queries][Recursive queries]] | | future | B | [[Recursive queries][Recursive queries]] |
| future | B | [[Timeline view][Timeline view]] |
#+END: #+END:
* [#A] Tasks * [#A] Tasks
@ -107,6 +122,7 @@
- [[#overlay-based-caching-inspired-by-org-num-mode][Overlay-based caching inspired by org-num-mode]] - [[#overlay-based-caching-inspired-by-org-num-mode][Overlay-based caching inspired by org-num-mode]]
- [[#alternative-parsing-libraries][Alternative parsing libraries]] - [[#alternative-parsing-libraries][Alternative parsing libraries]]
- [[#fancier-searching-for-inherited-tags][Fancier searching for inherited tags]] - [[#fancier-searching-for-inherited-tags][Fancier searching for inherited tags]]
- [[#timestamp-predicates-using-relative-dates-break-caching][Timestamp predicates using relative dates break caching]]
- [[#compatibility-with-org-94-custom-link-changes][Compatibility with Org 9.4 custom link changes]] - [[#compatibility-with-org-94-custom-link-changes][Compatibility with Org 9.4 custom link changes]]
- [[#convert-simple-sexp-queries-to-non-sexp][Convert simple sexp queries to non-sexp]] - [[#convert-simple-sexp-queries-to-non-sexp][Convert simple sexp queries to non-sexp]]
- [[#reverse-sorting][Reverse sorting]] - [[#reverse-sorting][Reverse sorting]]
@ -339,6 +355,45 @@ However, there might still be a useful idea here somewhere...
When tag inheritance is enabled, and the given tags aren't file-level tags, we could search directly to headings containing the matching tags, and then only do per-heading matching on the subtrees. Sometimes that would be much faster. However, that might make the logic special-cased and complicated. Might need a redesign of the whole matching/predicate system to do cleanly. When tag inheritance is enabled, and the given tags aren't file-level tags, we could search directly to headings containing the matching tags, and then only do per-heading matching on the subtrees. Sometimes that would be much faster. However, that might make the logic special-cased and complicated. Might need a redesign of the whole matching/predicate system to do cleanly.
** PROJECT [#A] Timestamp predicates using relative dates break caching :bug:
:PROPERTIES:
:milestone: 0.6
:END:
+ [[https://github.com/alphapapa/org-ql/issues/223][Cache is not invalidated for relative date/time queries · Issue #223 · alphapapa/org-ql · GitHub]]
Could fix this in a 0.5.3 release, but I think too much code changes are involved for a bugfix release.
*** TODO Add tests for ts-related predicates
I think it's necessary to do this for every one, unfortunately.
**** TODO deadline
**** TODO clocked
**** TODO closed
**** TODO planning
**** TODO ts
**** DONE scheduled
*** TODO Move from-to-on argument processing to query normalizers
**** TODO deadline
**** TODO scheduled
**** TODO clocked
**** TODO closed
**** TODO planning
**** TODO ts
** PROJECT [#A] Compatibility with Org 9.4 custom link changes :bug: ** PROJECT [#A] Compatibility with Org 9.4 custom link changes :bug:
:PROPERTIES: :PROPERTIES:
:milestone: 0.6 :milestone: 0.6
@ -2897,6 +2952,7 @@ If I made the =date= selector a macro, I could avoid the need to quote the compa
Also, maybe instead of having a single =date= selector, I should have =scheduled=, =deadline=, etc. Also, maybe instead of having a single =date= selector, I should have =scheduled=, =deadline=, etc.
* Checklists * Checklists
** Commits ** Commits