aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Dominik2006-06-10 14:16:17 +0000
committerCarsten Dominik2006-06-10 14:16:17 +0000
commit91d85d5fd8ed198c04d58cd868204e00c41fdeb9 (patch)
tree5d3a6590bdf476d3949db32ea31e9629f3c83184
parent23643307e07bea8a14214538364dd4a99308d5ae (diff)
downloademacs-91d85d5fd8ed198c04d58cd868204e00c41fdeb9.tar.gz
emacs-91d85d5fd8ed198c04d58cd868204e00c41fdeb9.zip
(Progress logging): New section.
-rw-r--r--man/org.texi150
1 files changed, 115 insertions, 35 deletions
diff --git a/man/org.texi b/man/org.texi
index 27970a1aea8..c88205887ba 100644
--- a/man/org.texi
+++ b/man/org.texi
@@ -1,10 +1,9 @@
1\input texinfo 1\input texinfo
2
3@c %**start of header 2@c %**start of header
4@setfilename ../info/org 3@setfilename ../info/org
5@settitle Org Mode Manual 4@settitle Org Mode Manual
6 5
7@set VERSION 4.36 6@set VERSION 4.37
8@set DATE June 2006 7@set DATE June 2006
9 8
10@dircategory Emacs 9@dircategory Emacs
@@ -146,7 +145,6 @@ Internal links
146TODO items 145TODO items
147 146
148* TODO basics:: Marking and displaying TODO entries 147* TODO basics:: Marking and displaying TODO entries
149* Progress logging:: Document your productivity
150* TODO extensions:: Workflow and assignments 148* TODO extensions:: Workflow and assignments
151* Priorities:: Some things are more important than others 149* Priorities:: Some things are more important than others
152 150
@@ -160,6 +158,12 @@ Timestamps
160 158
161* Time stamps:: Assigning a time to a tree entry 159* Time stamps:: Assigning a time to a tree entry
162* Creating timestamps:: Commands which insert timestamps 160* Creating timestamps:: Commands which insert timestamps
161* Progress logging:: Documenting when what work was done.
162
163Progress Logging
164
165* Closing items:: When was this entry makred DONE?
166* Clocking work time:: When exactly did you work on this item?
163 167
164Tags 168Tags
165 169
@@ -1921,12 +1925,11 @@ things you have to do.
1921 1925
1922@menu 1926@menu
1923* TODO basics:: Marking and displaying TODO entries 1927* TODO basics:: Marking and displaying TODO entries
1924* Progress logging:: Document your productivity
1925* TODO extensions:: Workflow and assignments 1928* TODO extensions:: Workflow and assignments
1926* Priorities:: Some things are more important than others 1929* Priorities:: Some things are more important than others
1927@end menu 1930@end menu
1928 1931
1929@node TODO basics, Progress logging, TODO items, TODO items 1932@node TODO basics, TODO extensions, TODO items, TODO items
1930@section Basic TODO functionality 1933@section Basic TODO functionality
1931 1934
1932Any headline can become a TODO item by starting it with the word TODO, 1935Any headline can become a TODO item by starting it with the word TODO,
@@ -1978,28 +1981,8 @@ the TODO entries directly from that buffer (@pxref{Agenda commands}).
1978@c agenda, customize the variable @code{org-agenda-include-all-todo}. 1981@c agenda, customize the variable @code{org-agenda-include-all-todo}.
1979@end table 1982@end table
1980 1983
1981@node Progress logging, TODO extensions, TODO basics, TODO items
1982@section Progress Logging
1983@cindex progress logging
1984@cindex logging, of progress
1985If you want to keep track of @emph{when} a certain TODO item was
1986finished, turn on logging with
1987 1984
1988@lisp 1985@node TODO extensions, Priorities, TODO basics, TODO items
1989(setq org-log-done t)
1990@end lisp
1991
1992@noindent
1993Then each time you turn a TODO entry into DONE using either @kbd{C-c
1994C-t} in the Org-mode buffer or @kbd{t} in the agenda buffer, a line
1995@samp{CLOSED: [timestamp]} will be inserted just after the headline.
1996If you turn the entry back into a TODO item again through further
1997state cycling, that line will be removed again. In the timeline
1998(@pxref{Timeline}) and in the agenda (@pxref{Weekly/Daily agenda}),
1999you can then use the @kbd{L} key to display the TODO items closed on
2000each day, giving you an overview of what has been done on a day.
2001
2002@node TODO extensions, Priorities, Progress logging, TODO items
2003@section Extended use of TODO keywords 1986@section Extended use of TODO keywords
2004@cindex extended TODO keywords 1987@cindex extended TODO keywords
2005 1988
@@ -2166,6 +2149,7 @@ planning.
2166@menu 2149@menu
2167* Time stamps:: Assigning a time to a tree entry 2150* Time stamps:: Assigning a time to a tree entry
2168* Creating timestamps:: Commands which insert timestamps 2151* Creating timestamps:: Commands which insert timestamps
2152* Progress logging:: Documenting when what work was done.
2169@end menu 2153@end menu
2170 2154
2171 2155
@@ -2239,9 +2223,17 @@ When @code{org-log-done} is non-nil, Org-mode will automatically insert
2239a special time stamp each time a TODO entry is marked done 2223a special time stamp each time a TODO entry is marked done
2240(@pxref{Progress logging}). This time stamp is enclosed in square 2224(@pxref{Progress logging}). This time stamp is enclosed in square
2241brackets instead of angular brackets. 2225brackets instead of angular brackets.
2226
2227@item Time range with CLOCK keyword
2228@cindex CLOCK keyword
2229When using the clock to time the work that is being done on specific
2230items, time ranges preceeded by the CLOCK keyword are inserted
2231automatically into the file. The time stamps are enclosed in square
2232brackets instead of angular brackets. @xref{Clocking work time}.
2233@c FIXME: Reference needed
2242@end table 2234@end table
2243 2235
2244@node Creating timestamps, , Time stamps, Timestamps 2236@node Creating timestamps, Progress logging, Time stamps, Timestamps
2245@section Creating timestamps 2237@section Creating timestamps
2246@cindex creating timestamps 2238@cindex creating timestamps
2247@cindex timestamps, creating 2239@cindex timestamps, creating
@@ -2373,6 +2365,82 @@ One month back.
2373Choose date in calendar (only if nothing typed into minibuffer). 2365Choose date in calendar (only if nothing typed into minibuffer).
2374@end table 2366@end table
2375 2367
2368@node Progress logging, , Creating timestamps, Timestamps
2369@section Progress Logging
2370@cindex progress logging
2371@cindex logging, of progress
2372
2373Org-mode can automatically record a time stamp when you mark a TODO item
2374as DONE. You can also measure precisely the time you spent on specific
2375items in a project by starting and stopping a clock when you start and
2376stop working on an aspect of a project.
2377
2378@menu
2379* Closing items:: When was this entry makred DONE?
2380* Clocking work time:: When exactly did you work on this item?
2381@end menu
2382
2383@node Closing items, Clocking work time, Progress logging, Progress logging
2384@subsection Closing items
2385
2386If you want to keep track of @emph{when} a certain TODO item was
2387finished, turn on logging with
2388
2389@lisp
2390(setq org-log-done t)
2391@end lisp
2392
2393@noindent
2394Then each time you turn a TODO entry into DONE using either @kbd{C-c
2395C-t} in the Org-mode buffer or @kbd{t} in the agenda buffer, a line
2396@samp{CLOSED: [timestamp]} will be inserted just after the headline.
2397If you turn the entry back into a TODO item again through further
2398state cycling, that line will be removed again. In the timeline
2399(@pxref{Timeline}) and in the agenda (@pxref{Weekly/Daily agenda}),
2400you can then use the @kbd{l} key to display the TODO items closed on
2401each day, giving you an overview of what has been done on a day.
2402
2403@node Clocking work time, , Closing items, Progress logging
2404@subsection Clocking work time
2405
2406Org-mode allows you to clock the time you spent on specific tasks in a
2407project. When you start working on an item, you can start the clock.
2408When you stop working on that tast, or when you makr the task done, the
2409clock is stoppend and the corresponding time interval is recorded. It
2410also computes the total time spent on each subtree of a project.
2411
2412@table @kbd
2413@kindex C-c C-x C-i
2414@item C-c C-x C-i
2415Start the clock on the current item (clock-in). This inserts the CLOCK
2416keyword together with a timestamp.
2417@kindex C-c C-x C-o
2418@item C-c C-x C-o
2419Stop the clock (clock-out). The inserts another timestamp at the same
2420location where the clock was last started. It also directly computes
2421the resulting time in inserts it after the time range as @samp{=>
2422HH:MM}.
2423@kindex C-c C-t
2424@item C-c C-t
2425Changing the TODO state of an item to DONE automatically stops the clock
2426if it is running in this same item.
2427@kindex C-c C-x C-x
2428@item C-c C-x C-x
2429Cancel the current clock. This is useful if a clock was started by
2430mistake, or if you ended up working on something else.
2431@kindex C-c C-x C-d
2432@item C-c C-x C-d
2433Display time summaries for each subtree in the current buffer. This
2434puts overlays at the end of each headline, showing the total time
2435recorded under that heading, including the time of any subheadings. You
2436can use visibility cycling to study the tree, but the overlays disappear
2437automatically when the buffer is changed.
2438@end table
2439
2440The @kbd{l} key may be used in the timeline (@pxref{Timeline}) and in
2441the agenda (@pxref{Weekly/Daily agenda}) to show which tasks have been
2442worked on or closed during a day.
2443
2376@node Tags, Agenda views, Timestamps, Top 2444@node Tags, Agenda views, Timestamps, Top
2377@chapter Tags 2445@chapter Tags
2378@cindex tags 2446@cindex tags
@@ -2958,7 +3026,8 @@ agenda buffers can be set with the variable
2958@kindex l 3026@kindex l
2959@item l 3027@item l
2960Toggle Logbook mode. In Logbook mode, entries that where marked DONE while 3028Toggle Logbook mode. In Logbook mode, entries that where marked DONE while
2961logging was on (variable @code{org-log-done}) are shown in the agenda. 3029logging was on (variable @code{org-log-done}) are shown in the agenda,
3030as are entries that have been clocked on that day.
2962 3031
2963@tsubheading{Change display} 3032@tsubheading{Change display}
2964@kindex o 3033@kindex o
@@ -3075,13 +3144,16 @@ Change the time stamp associated with the current line to today.
3075The key @kbd{>} has been chosen, because it is the same as @kbd{S-.} 3144The key @kbd{>} has been chosen, because it is the same as @kbd{S-.}
3076on my keyboard. 3145on my keyboard.
3077 3146
3078@cindex diary entries, creating from agenda 3147@kindex I
3079@kindex i 3148@item I
3080@item i 3149Start the clock on the current item. If a clock is running already, it
3081Insert a new entry into the diary. Prompts for the type of entry 3150is stopped first.
3082(day, weekly, monthly, yearly, anniversary, cyclic) and creates a new 3151@kindex O
3083entry in the diary, just as @kbd{i d} etc. would do in the calendar. 3152@item O
3084The date is taken from the cursor position. 3153Stop the previously started clock.
3154@kindex X
3155@item X
3156Cancel the currently running clock.
3085 3157
3086@tsubheading{Calendar commands} 3158@tsubheading{Calendar commands}
3087@kindex c 3159@kindex c
@@ -3092,6 +3164,14 @@ Open the Emacs calendar and move to the date at the agenda cursor.
3092When in the calendar, compute and show the Org-mode agenda for the 3164When in the calendar, compute and show the Org-mode agenda for the
3093date at the cursor. 3165date at the cursor.
3094 3166
3167@cindex diary entries, creating from agenda
3168@kindex i
3169@item i
3170Insert a new entry into the diary. Prompts for the type of entry
3171(day, weekly, monthly, yearly, anniversary, cyclic) and creates a new
3172entry in the diary, just as @kbd{i d} etc. would do in the calendar.
3173The date is taken from the cursor position.
3174
3095@kindex M 3175@kindex M
3096@item M 3176@item M
3097Show the phases of the moon for the three months around current date. 3177Show the phases of the moon for the three months around current date.