diff options
| author | Carsten Dominik | 2009-01-28 14:34:34 +0000 |
|---|---|---|
| committer | Carsten Dominik | 2009-01-28 14:34:34 +0000 |
| commit | 7ddb1b5f2433f6a95bfea4e2f942bad96349c642 (patch) | |
| tree | c8cc443698a7795bd200a552031db0cd6b2daf16 /doc | |
| parent | d6685abc9e7e9940fa4e9d683c4cc52826efc0f9 (diff) | |
| download | emacs-7ddb1b5f2433f6a95bfea4e2f942bad96349c642.tar.gz emacs-7ddb1b5f2433f6a95bfea4e2f942bad96349c642.zip | |
2009-01-28 Carsten Dominik <dominik@science.uva.nl>
* org.texi (TODO dependencies): New section.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/org.texi | 64 |
1 files changed, 50 insertions, 14 deletions
diff --git a/doc/misc/org.texi b/doc/misc/org.texi index c7278a0316b..3a840d3b90c 100644 --- a/doc/misc/org.texi +++ b/doc/misc/org.texi | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | @setfilename ../../info/org | 3 | @setfilename ../../info/org |
| 4 | @settitle The Org Manual | 4 | @settitle The Org Manual |
| 5 | 5 | ||
| 6 | @set VERSION 6.19e | 6 | @set VERSION 6.20c |
| 7 | @set DATE January 2009 | 7 | @set DATE January 2009 |
| 8 | 8 | ||
| 9 | @dircategory Emacs | 9 | @dircategory Emacs |
| @@ -181,6 +181,7 @@ Extended use of TODO keywords | |||
| 181 | * Fast access to TODO states:: Single letter selection of a state | 181 | * Fast access to TODO states:: Single letter selection of a state |
| 182 | * Per-file keywords:: Different files, different requirements | 182 | * Per-file keywords:: Different files, different requirements |
| 183 | * Faces for TODO keywords:: Highlighting states | 183 | * Faces for TODO keywords:: Highlighting states |
| 184 | * TODO dependencies:: When one tasks needs to wait for others | ||
| 184 | 185 | ||
| 185 | Progress logging | 186 | Progress logging |
| 186 | 187 | ||
| @@ -3100,6 +3101,7 @@ TODO items in particular (@pxref{Tags}). | |||
| 3100 | * Fast access to TODO states:: Single letter selection of a state | 3101 | * Fast access to TODO states:: Single letter selection of a state |
| 3101 | * Per-file keywords:: Different files, different requirements | 3102 | * Per-file keywords:: Different files, different requirements |
| 3102 | * Faces for TODO keywords:: Highlighting states | 3103 | * Faces for TODO keywords:: Highlighting states |
| 3104 | * TODO dependencies:: When one tasks needs to wait for others | ||
| 3103 | @end menu | 3105 | @end menu |
| 3104 | 3106 | ||
| 3105 | @node Workflow states, TODO types, TODO extensions, TODO extensions | 3107 | @node Workflow states, TODO types, TODO extensions, TODO extensions |
| @@ -3282,7 +3284,7 @@ Org mode is activated after visiting a file. @kbd{C-c C-c} with the | |||
| 3282 | cursor in a line starting with @samp{#+} is simply restarting Org mode | 3284 | cursor in a line starting with @samp{#+} is simply restarting Org mode |
| 3283 | for the current buffer.}. | 3285 | for the current buffer.}. |
| 3284 | 3286 | ||
| 3285 | @node Faces for TODO keywords, , Per-file keywords, TODO extensions | 3287 | @node Faces for TODO keywords, TODO dependencies, Per-file keywords, TODO extensions |
| 3286 | @subsection Faces for TODO keywords | 3288 | @subsection Faces for TODO keywords |
| 3287 | @cindex faces, for TODO keywords | 3289 | @cindex faces, for TODO keywords |
| 3288 | 3290 | ||
| @@ -3306,6 +3308,41 @@ While using a list with face properties as shown for CANCELED | |||
| 3306 | @emph{should} work, this does not aways seem to be the case. If | 3308 | @emph{should} work, this does not aways seem to be the case. If |
| 3307 | necessary, define a special face and use that. | 3309 | necessary, define a special face and use that. |
| 3308 | 3310 | ||
| 3311 | @node TODO dependencies, , Faces for TODO keywords, TODO extensions | ||
| 3312 | @subsection TODO dependencies | ||
| 3313 | |||
| 3314 | The structure of Org files (hierarchy and lists) makes it easy to define TODO | ||
| 3315 | dependencies. Usually, a parent TODO task should not be marked DONE until | ||
| 3316 | all subtasks (defined as children tasks) are marked as DONE. And sometimes | ||
| 3317 | there is a logical sequence to a number of (sub)tasks, so that one task | ||
| 3318 | cannot be acted upon before all siblings above it are done. If you customize | ||
| 3319 | the variable @code{org-enforce-todo-dependencies}, Org will block entries | ||
| 3320 | from changing state while they have children that are not DONE. Furthermore, | ||
| 3321 | if an entry has a property @code{ORDERED}, each of its children will be | ||
| 3322 | blocked until all earlier siblings are marked DONE. Here is an example: | ||
| 3323 | |||
| 3324 | @example | ||
| 3325 | * TODO Blocked until (two) is done | ||
| 3326 | ** DONE one | ||
| 3327 | ** TODO two | ||
| 3328 | |||
| 3329 | * Parent | ||
| 3330 | :PROPERTIES: | ||
| 3331 | :ORDERED: t | ||
| 3332 | :END: | ||
| 3333 | ** TODO a | ||
| 3334 | ** TODO b, needs to wait for (a) | ||
| 3335 | ** TODO c, needs to wait for (a) and (b) | ||
| 3336 | @end example | ||
| 3337 | |||
| 3338 | If you set the variable @code{org-agenda-dim-blocked-tasks}, TODO entries | ||
| 3339 | that cannot be closed because of such dependencies will be shown in a dimmed | ||
| 3340 | font or even made invisible in agenda views (@pxref{Agenda Views}). | ||
| 3341 | |||
| 3342 | If you need more complex dependency structures, for example dependencies | ||
| 3343 | between entries in different trees or files, check out the contributed | ||
| 3344 | module @file{org-depend.el}. | ||
| 3345 | |||
| 3309 | @page | 3346 | @page |
| 3310 | @node Progress logging, Priorities, TODO extensions, TODO Items | 3347 | @node Progress logging, Priorities, TODO extensions, TODO Items |
| 3311 | @section Progress logging | 3348 | @section Progress logging |
| @@ -3564,13 +3601,12 @@ Toggle checkbox at point. With a prefix argument, set it to @samp{[-]}, | |||
| 3564 | which is considered to be an intermediate state. | 3601 | which is considered to be an intermediate state. |
| 3565 | @kindex C-c C-x C-b | 3602 | @kindex C-c C-x C-b |
| 3566 | @item C-c C-x C-b | 3603 | @item C-c C-x C-b |
| 3567 | Toggle checkbox at point. | 3604 | Toggle checkbox status or (with prefix arg) checkbox presence at point. |
| 3568 | @itemize @minus | 3605 | @itemize @minus |
| 3569 | @item | 3606 | @item |
| 3570 | If there is an active region, toggle the first checkbox in the region | 3607 | If there is an active region, toggle the first checkbox in the region |
| 3571 | and set all remaining boxes to the same status as the first. If you | 3608 | and set all remaining boxes to the same status as the first. With a prefix |
| 3572 | want to toggle all boxes in the region independently, use a prefix | 3609 | arg, add or remove the checkbox for all items in the region. |
| 3573 | argument. | ||
| 3574 | @item | 3610 | @item |
| 3575 | If the cursor is in a headline, toggle checkboxes in the region between | 3611 | If the cursor is in a headline, toggle checkboxes in the region between |
| 3576 | this headline and the next (so @emph{not} the entire subtree). | 3612 | this headline and the next (so @emph{not} the entire subtree). |
| @@ -10252,7 +10288,7 @@ incorporate project planning functionality directly into a notes file. | |||
| 10252 | A special thanks goes to @i{Bastien Guerry} who has not only written a large | 10288 | A special thanks goes to @i{Bastien Guerry} who has not only written a large |
| 10253 | number of extensions to Org (most of them integrated into the core by now), | 10289 | number of extensions to Org (most of them integrated into the core by now), |
| 10254 | but has also helped the development and maintenance of Org so much that he | 10290 | but has also helped the development and maintenance of Org so much that he |
| 10255 | should be considered co-author of this package. | 10291 | should be considered the main co-contributor to this package. |
| 10256 | 10292 | ||
| 10257 | Since the first release, literally thousands of emails to me or on | 10293 | Since the first release, literally thousands of emails to me or on |
| 10258 | @code{emacs-orgmode@@gnu.org} have provided a constant stream of bug | 10294 | @code{emacs-orgmode@@gnu.org} have provided a constant stream of bug |
| @@ -10427,13 +10463,13 @@ keyword. | |||
| 10427 | system. | 10463 | system. |
| 10428 | @item | 10464 | @item |
| 10429 | @i{John Wiegley} wrote @file{emacs-wiki.el}, @file{planner.el}, and | 10465 | @i{John Wiegley} wrote @file{emacs-wiki.el}, @file{planner.el}, and |
| 10430 | @file{muse.el}, which have similar goals as Org. Initially the | 10466 | @file{muse.el}, which have some overlap with Org. Initially the development |
| 10431 | development of Org was fully independent because I was not aware of the | 10467 | of Org was fully independent because I was not aware of the existence of |
| 10432 | existence of these packages. But with time I have occasionally looked | 10468 | these packages. But with time I have occasionally looked at John's code and |
| 10433 | at John's code and learned a lot from it. John has also contributed a | 10469 | learned a lot from it. John has also contributed a number of great ideas and |
| 10434 | number of great ideas and patches directly to Org, including the attachment | 10470 | patches directly to Org, including the attachment system |
| 10435 | system (@file{org-attach.el}) and integration with Apple Mail | 10471 | (@file{org-attach.el}), integration with Apple Mail |
| 10436 | (@file{org-mac-message.el}). | 10472 | (@file{org-mac-message.el}), and hierarchical dependencies of TODO items. |
| 10437 | @item | 10473 | @item |
| 10438 | @i{Carsten Wimmer} suggested some changes and helped fix a bug in | 10474 | @i{Carsten Wimmer} suggested some changes and helped fix a bug in |
| 10439 | linking to Gnus. | 10475 | linking to Gnus. |