Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
961 views
in Technique[技术] by (71.8m points)

emacs - Define org mode stuck projects as having no scheduled tasks

I am looking to define stuck projects as those that either have no TODOs, or, maybe they have TODO entries but none of them is scheduled. My thinking on this is: I may build up a set of TODOs against a project, but if none of them is scheduled, it will never make it onto my agenda and get acted upon. So from that standpoint just having a 'TODO' item doesn't do me any good unless something is scheduled (even if in the future).

I was originally using '*' to match any TODO state but then I tried replacing it with a regexp match on 'SCHEDULED: <.+>'. At first this looked like it would suit my needs; however when I mark a task as Completed, the SCHEDULED property is still there so the project still appears 'unstuck' even if I have no other tasks defined yet, or tasks that aren't scheduled.

I came across this discussion: Defining unscheduled todos as stuck projects in Emacs Org-Mode - but it looks to me like that setup would have the same problem.

I suppose I could keep removing the scheduled date as I complete things, but this seems cumbersome. There also doesn't seem to be a way to do any kind of multi-line regexp on individual tasks. Any ideas whether it's possible somehow?

Thanks!

question from:https://stackoverflow.com/questions/65878836/define-org-mode-stuck-projects-as-having-no-scheduled-tasks

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...