Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

is there any way in Org-mode to mark some TODOs in a way that they are shown only when their time comes and start showing only in agenda day/week until they are marked as done?

share|improve this question
    
How are you determining "when their time comes"? Using SCHEDULED:, DEADLINE:, a timestamp for the desired time? By only in Agenda day/week view, do you mean as opposed to within a block agenda/list of todo items? –  Jonathan Leech-Pepin Nov 21 '11 at 20:53
    
Yes, only SCHEDULED: and DEADLINE:. –  uther Nov 21 '11 at 20:58

1 Answer 1

The Org-Mode Manual section on Deadlines and scheduling shows that you can set item-specific lead-times on the warnings for SCHEDULED: and DEADLINE:. Lead-time is how many days before the date it will appear in your Agenda to warn you of the upcoming task.

Setting your timestamp to <Scheduled Date -0d> or <Deadline Date -0d> will set the warning lead-time to 0 days. This ensures that it will not show up until the day the timestamp indicates. Overdue items will continue to appear until marked done.

Two things to note:

  1. This will not hide the TODO item from the Agenda TODO list obtained used C-c a t (List of all TODO entries).

  2. If you complete a task before the SCHEDULED: date (For example you complete it on [2011-11-22] and it is SCHEDULED: for [2011-11-25]), it will still show up on the SCHEDULED: date if org-agenda-skip-scheduled-if-done is set to nil. To prevent this behaviour you have to set the following:

    (setq org-agenda-skip-scheduled-if-done t)
    
share|improve this answer
    
Yes I would really like them out. The best would be for the scheduled tasks to appear just after the date they were scheduled to occurs. –  uther Nov 21 '11 at 22:04
    
Setting your timestamp as <Scheduled Date -0d> means it will appear on the day it is scheduled, and in the future. It will not appear before that day. org-agenda-skip-scheduled-if-done only relates to scheduled tasks that are completed before their scheduled date (if you complete on the 22nd and it's scheduled the 23rd for example it will still show up as done on the 23rd, if the variable is set to nil). –  Jonathan Leech-Pepin Nov 21 '11 at 22:08
    
Thank you, I'll try it. –  uther Nov 21 '11 at 22:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.