Hello, One thing I've wanted from org-mode is the ability to have certain items 'hidden' from the agenda until the day they are scheduled - this patch implements this for all properties who have a STYLE property of 'hidden'. I ended up implementing this(the patch is attached), and thought I'd contribute it to org-mode. If you have any comments, please let me know.
Thanks, Nathaniel Flath
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 2b56cb6..c7a07c4 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -4697,6 +4697,9 @@ FRACTION is what fraction of the head-warning time has passed." (and (not todayp) org-habit-show-habits-only-for-today)) (throw :skip nil)) + (if (and (string= "hidden" (org-entry-get (point) "STYLE")) + (< today d2)) + (throw :skip nil)) (if (and (or (eq t org-agenda-skip-scheduled-if-deadline-is-shown) (and org-agenda-skip-scheduled-if-deadline-is-shown
_______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode