Update org-ql

This commit is contained in:
Thomas Dehaeze 2022-05-09 10:28:10 +02:00
parent df7c5603fc
commit ca16d487e9

View File

@ -584,7 +584,7 @@ Archive subtrees under the same hierarchy as original in the archive files
) )
#+end_src #+end_src
** Org Agenda ** TODO [#A] Org Agenda
General configuration General configuration
#+begin_src emacs-lisp #+begin_src emacs-lisp
(after! org (after! org
@ -628,19 +628,28 @@ Org Agenda Custom Views
(org-agenda-skip-entry-if 'scheduled 'deadline 'regexp "\n]+>")) (org-agenda-skip-entry-if 'scheduled 'deadline 'regexp "\n]+>"))
(setq org-agenda-custom-commands (setq org-agenda-custom-commands
'(("w" "Work" '(("T" "test"
((org-ql-block '(and (tags "@work") ((org-ql-block '(planning)
((org-ql-block-header "To refill")))
))
("w" "Work"
((org-ql-block '(and (tags "inbox"))
((org-ql-block-header "To refill")))
(org-ql-block '(and (scheduled)
(not (done)))
((org-ql-block-header "Scheduled Tasks")))
(org-ql-block '(and (not (tags "@home"))
(not (tags "@biblio"))
(todo "TODO") (todo "TODO")
(priority "A")) (priority "A"))
((org-ql-block-header "Important TODOs"))) ((org-ql-block-header "Important Tasks")))
(org-ql-block '(and (tags "@work") (org-ql-block '(and (not (tags "@home"))
(todo "TODO") (todo "DELE"))
(priority "B")) ((org-ql-block-header "Delegated Tasks")))
((org-ql-block-header "TODOs"))) (org-ql-block '(and (not (tags "@home"))
(org-ql-block '(and (tags "@work") (todo "WAIT"))
(todo "TODO") ((org-ql-block-header "Tasks on hold")))
(priority "C")) ))
((org-ql-block-header "Not important TODOs")))))
("h" "Home" ("h" "Home"
((org-ql-block '(and (tags "@home") ((org-ql-block '(and (tags "@home")
(todo "TODO") (todo "TODO")
@ -919,6 +928,12 @@ Do not export headline with the =:ignore:= tag:
(ox-extras-activate '(ignore-headlines))) (ox-extras-activate '(ignore-headlines)))
#+end_src #+end_src
** Org-ql
#+begin_src emacs-lisp
(use-package! org-ql
:after org)
#+end_src
** Org Effort ** Org Effort
#+begin_src emacs-lisp #+begin_src emacs-lisp
(after! org (after! org