Defining unscheduled todos as stuck projects in Emacs Org-Mode

房东的猫 提交于 2020-01-01 08:46:08

问题


I'm trying to setup the org-stuck-projects variable so that the "stuck projects" agenda will list all headlines which are TODOs (any TODO keyword except DONE) but those which don't have SCHEDULED or DEADLINE attributes set. Currently I get an empty list with this setting for the variable:

(setq org-stuck-projects
  '("TODO" nil nil "SCHEDULED:|DEADLINE:"))

I've checked to have some TODO'ed tasks with no scheduled date or deadline.


回答1:


Found a solution:

'("TODO={.+}/-DONE" nil nil "SCHEDULED:\\|DEADLINE:"))

(thanks to user Jonathan Leech-Pepin for suggesting re-posting this as an answer instead of comment to the original post).



来源:https://stackoverflow.com/questions/8812520/defining-unscheduled-todos-as-stuck-projects-in-emacs-org-mode

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!