Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Defining unscheduled todos as stuck projects in Emacs Org-Mode

Tags:

emacs

org-mode

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.

like image 505
YurB Avatar asked Jan 11 '12 00:01

YurB


1 Answers

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).

like image 91
YurB Avatar answered Sep 21 '22 06:09

YurB