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

View file

@ -20,10 +20,24 @@
** Bugs ([[org-ql-search:todo%253A%2520tags%253Abug?super-groups=%2528%2528%253Aauto-property%2520%2522Milestone%2522%2529%2529&sort=%2528todo%2529&title=%2522Bugs%2522][view]])
#+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 |
|---+-----+---------+------------------------------------------------|
| A | 0.6 | PROJECT | [[Compatibility with Org 9.4 custom link changes][Compatibility with Org 9.4 custom link changes]] |
| | | NEXT | [[Check Org 9.4 source code for second argument][Check Org 9.4 source code for second argument]] |
| 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]] |
| | | 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]] |
#+END:
** Milestones ([[org-ql-search:todo%253A?super-groups=%2528%2528%253Aauto-property%2520%2522milestone%2522%2529%2529&sort=%2528todo%2529&title=%2522Milestones%2522][view]])
@ -31,6 +45,7 @@
#+BEGIN: org-ql :query "todo: property:milestone" :columns (((property "milestone") "M") (priority "P") todo heading) :sort (priority date) :take 9
| 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 | [[Reverse sorting][Reverse sorting]] |
| 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 | [[Group tag support][Group tag support]] |
| future | B | PROJECT | [[Recursive queries][Recursive queries]] |
| future | B | PROJECT | [[Timeline view][Timeline view]] |
#+END:
** Underway ([[org-ql-search:todo%253AUNDERWAY?sort=%2528priority%2529&title=%2522Underway%2522][view]])
@ -61,26 +75,27 @@
** To-do ([[org-ql-search:todo:?super-groups=((:todo%20"NEXT")%20(:todo%20"PROJECT")%20(:auto-priority))&sort=(todo)][view]])
#+BEGIN: org-ql :query "todo: priority:A" :columns ((priority "P") ((property "milestone") "M") todo heading) :sort (priority date) :take 7
| P | M | Todo | Heading |
|---+-----+---------+------------------------------------------------|
| 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 | 0.6 | PROJECT | [[Reverse sorting][Reverse sorting]] |
| A | | PROJECT | [[Org%20link%20types%20%5B2/3%5D][Org link types {2/3}]] |
| 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 | | PROJECT | [[Convert simple sexp queries to non-sexp][Convert simple sexp queries to non-sexp]] |
| A | 0.6 | PROJECT | [[Reverse sorting][Reverse sorting]] |
| A | | PROJECT | [[Org%20link%20types%20%5B2/3%5D][Org link types {2/3}]] |
#+END:
** Stuck projects ([[org-ql-search:%2528and%2520%2528todo%2520%2522PROJECT%2522%2529%2520%2528not%2520%2528descendants%2520%2528todo%2520%2522NEXT%2522%2520%2522UNDERWAY%2522%2529%2529%2529%2529?super-groups=%2528%2528%253Aauto-property%2520%2522milestone%2522%2529%2529&sort=%2528priority%2529&title=%2522Stuck%2520Projects%2522][view]])
#+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 |
|--------+---+-----------------------------------------|
| | A | [[Convert simple sexp queries to non-sexp][Convert simple sexp queries to non-sexp]] |
| 0.6 | A | [[Reverse sorting][Reverse sorting]] |
| | A | [[Org%20link%20types%20%5B2/3%5D][Org link types {2/3}]] |
| | B | [[Outline path predicate][Outline path predicate]] |
| | B | [[Document the sorting functions][Document the sorting functions]] |
| future | B | [[Recursive queries][Recursive queries]] |
| future | B | [[Timeline view][Timeline view]] |
| 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]] |
| 0.6 | A | [[Reverse sorting][Reverse sorting]] |
| | A | [[Org%20link%20types%20%5B2/3%5D][Org link types {2/3}]] |
| | B | [[Outline path predicate][Outline path predicate]] |
| | B | [[Document the sorting functions][Document the sorting functions]] |
| future | B | [[Recursive queries][Recursive queries]] |
#+END:
* [#A] Tasks
@ -107,6 +122,7 @@
- [[#overlay-based-caching-inspired-by-org-num-mode][Overlay-based caching inspired by org-num-mode]]
- [[#alternative-parsing-libraries][Alternative parsing libraries]]
- [[#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]]
- [[#convert-simple-sexp-queries-to-non-sexp][Convert simple sexp queries to non-sexp]]
- [[#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.
** 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:
:PROPERTIES:
: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.
* Checklists
** Commits