Re: [O] Agenda view: do not display tasks of projects scheduled in the future

2014-01-05 Thread Bastien
Hi Alan, Alan Schmitt writes: > By the way, is there a place where the functions such as > "org-get-scheduled-time" are documented? Or does one have to look at the > source? Commands (i.e. interactive functions) are documented here: http://orgmode.org/worg/doc.html#commands but for functions y

Re: [O] Agenda view: do not display tasks of projects scheduled in the future

2014-01-05 Thread Alan Schmitt
Hi Bastien, Bastien writes: > Hi Alan, > > Alan Schmitt writes: > >> #+BEGIN_SRC emacs-lisp >> (defun as/skip-future-tasks () >> "Skip future tasks" >> (save-restriction >> (widen) >> (let ((subtree-end (save-excursion (org-end-of-subtree t >> (cond >>((org-entry-s

Re: [O] Agenda view: do not display tasks of projects scheduled in the future

2014-01-04 Thread Bastien
Hi Alan, Alan Schmitt writes: > #+BEGIN_SRC emacs-lisp > (defun as/skip-future-tasks () > "Skip future tasks" > (save-restriction > (widen) > (let ((subtree-end (save-excursion (org-end-of-subtree t > (cond >((org-entry-scheduded-in-future-p) > subtree-end)

[O] Agenda view: do not display tasks of projects scheduled in the future

2013-12-18 Thread Alan Schmitt
Hello, I would like to tweak my agenda views such that tasks belonging to projects scheduled in the future are not shown. I've searched a bit about this and I found out that deadlines and schedules are not inherited, so that approach would not work. I'm thus trying to tweak a custom skip function