4

In Org-Mode, I have a few mundane re-occuring tasks.

When a task is set to re-occur, it shows up on every day it reccours. E.g a daily task:

* TODO Bugzilla Triage 
 SCHEDULED <[today] ++1d>

Week-agenda (W09):
Monday     23 February 2015 W09
  leo:        Scheduled:  TODO Bugzilla Triage                      :RECURRING::
  leo:        Deadline:   TODO Weekly report                        :RECURRING::
Tuesday    24 February 2015
  leo:        Scheduled:  TODO Bugzilla Triage                      :RECURRING::
Wednesday  25 February 2015
  leo:        Scheduled:  TODO Bugzilla Triage                      :RECURRING::
Thursday   26 February 2015
  leo:        Scheduled:  TODO Bugzilla Triage                      :RECURRING::
Friday     27 February 2015
  leo:        Scheduled:  TODO Bugzilla Triage                      :RECURRING::
Saturday   28 February 2015
Sunday      1 March 2015

I don't really want them to take up all the Agenda space, I just want to see the first occurrence, (i.e only monday's occurance, but not all the other occurrences). Is it possible to configure emacs to show only the first occurance? (i.e monday in this case)

migrated from stackoverflow.com Feb 11 '15 at 18:07

This question came from our site for professional and enthusiast programmers.

  • 1
    You can set org habits to only show the next occurrence. – mankoff Feb 11 '15 at 21:45
1

@mankoff's solution of using Habits worked.

I enabled habits in org mode via the org-modules variable.
I enabled state logging (see below for details)
I then created a task with style set to habits.
Now when I complete the task, it is not seen until the day it is scheduled again.

example of a task:

** TODO [#C] Mail / BZ Triage                                        :RECURRING:
SCHEDULED: <2015-02-13 Fri .+1d>
- State "DONE"       from "TODO"       [2015-02-12 Thu 11:13]
:PROPERTIES:
:LAST_REPEAT: [2015-02-12 Thu 11:13]
:STYLE:    habit
:END:

Details: http://orgmode.org/manual/Tracking-your-habits.html

  • Can you please elaborate the solution with an example? – Kaushal Modi Feb 12 '15 at 20:30
  • I edited my question and added an answer. – Leo Ufimtsev Feb 12 '15 at 20:47
0

In org-mode 9.1 the line:

(setq org-agenda-show-future-repeats 'next)

Makes habits only show up the next time they are scheduled.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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