Merge 0201daa7db into d253b123cf
This commit is contained in:
commit
cafd1bb69e
1 changed files with 11 additions and 0 deletions
|
|
@ -883,6 +883,12 @@ return an empty string."
|
||||||
(habit-property (org-with-point-at (org-element-property :begin element)
|
(habit-property (org-with-point-at (org-element-property :begin element)
|
||||||
(when (org-is-habit-p)
|
(when (org-is-habit-p)
|
||||||
(org-habit-parse-todo))))
|
(org-habit-parse-todo))))
|
||||||
|
(blocked (when-let (marker (or (org-element-property :org-hd-marker element)
|
||||||
|
(org-element-property :org-marker element)))
|
||||||
|
(when org-agenda-dim-blocked-tasks
|
||||||
|
(org-with-point-at marker
|
||||||
|
(when (org-entry-blocked-p)
|
||||||
|
org-agenda-dim-blocked-tasks)))))
|
||||||
(due-string (pcase (org-element-property :relative-due-date element)
|
(due-string (pcase (org-element-property :relative-due-date element)
|
||||||
('nil "")
|
('nil "")
|
||||||
(string (format " %s " (org-add-props string nil 'face 'org-ql-view-due-date)))))
|
(string (format " %s " (org-add-props string nil 'face 'org-ql-view-due-date)))))
|
||||||
|
|
@ -892,6 +898,11 @@ return an empty string."
|
||||||
(--> string
|
(--> string
|
||||||
;; FIXME: Use proper prefix
|
;; FIXME: Use proper prefix
|
||||||
(concat " " it)
|
(concat " " it)
|
||||||
|
(if blocked
|
||||||
|
(org-add-props it nil
|
||||||
|
'org-filter-type 'todo-blocked
|
||||||
|
'org-todo-blocked blocked)
|
||||||
|
it)
|
||||||
(org-add-props it properties
|
(org-add-props it properties
|
||||||
'org-agenda-type 'search
|
'org-agenda-type 'search
|
||||||
'todo-state todo-keyword
|
'todo-state todo-keyword
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue