mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 12:21:20 +00:00
META will be stuck if single WAIT
Active if all but waits are active
This commit is contained in:
parent
4a02abe565
commit
94d4a364af
3 changed files with 10 additions and 2 deletions
|
|
@ -50,8 +50,8 @@
|
||||||
(not (olc/any-todo-children? t))
|
(not (olc/any-todo-children? t))
|
||||||
;; All todo children are done? Stuck!
|
;; All todo children are done? Stuck!
|
||||||
(not (olc/any-todo-children?
|
(not (olc/any-todo-children?
|
||||||
(not (eq 'done
|
(not (member (cdr (opr/get-type-and-state))
|
||||||
(cdr (opr/get-type-and-state)))))))
|
'(done wait))))))
|
||||||
'stuck
|
'stuck
|
||||||
'active)))
|
'active)))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,3 +12,8 @@ SCHEDULED: <1997-01-01 Wed>
|
||||||
** WAIT for this to happen
|
** WAIT for this to happen
|
||||||
SCHEDULED: <1970-01-01 Thu>
|
SCHEDULED: <1970-01-01 Thu>
|
||||||
- State "WAIT" from [2022-09-29 Thu 16:53]
|
- State "WAIT" from [2022-09-29 Thu 16:53]
|
||||||
|
* META should be active, as long as one componenent is active, since WAIT is "invisible"
|
||||||
|
** WAIT for this thing
|
||||||
|
SCHEDULED: <2037-12-31 Thu>
|
||||||
|
** TASK Active task
|
||||||
|
SCHEDULED: <1970-01-01 Thu>
|
||||||
|
|
|
||||||
|
|
@ -13,3 +13,6 @@
|
||||||
* META should be stuck even if there are deadlined dones
|
* META should be stuck even if there are deadlined dones
|
||||||
** DONE Deadlined done task
|
** DONE Deadlined done task
|
||||||
DEADLINE: <2021-06-21 Mon>
|
DEADLINE: <2021-06-21 Mon>
|
||||||
|
* META should be stuck if there is one single WAIT task that is scheduled, and no other tasks
|
||||||
|
** WAIT for this thing
|
||||||
|
SCHEDULED: <2037-12-31 Thu>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue