forked from bjonnh/PyOrgMode
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Repeating timestamps, new class OrgTodo, better handling of TODO stat…
…es in OrgNode, split TODO states into OrgNode.todo_states and OrgNode.done_states, and added method OrgDataStructure.extract_todo_list. Repeating timestamps can now be stored with the "+4w" string saved as an attribute. The new class OrgTodo holds individual todo items, useful for making todo lists and agendas. TODO states are now output properly in OrgNode._output(). There are now two lists of todo states: todo_states and done_states. A new method was added to OrgDataStructure (add_todo_state) that allows for adding to the latter list. New method OrgDataStructure.extract_todo_list returns a list of OrgTodo states. By default it returns states listed in OrgNode.todo_states but this can be modified by arguments. It will raise an exception if a todo state is passed that is not on either list since these will not be extracted properly during OrgDataStructure.load_from_file().
- Loading branch information
Mark Wolf
committed
Oct 2, 2012
1 parent
a119702
commit d0ec4d9
Showing
1 changed file
with
171 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters