- publishing free software manuals
The Org Mode 7 Reference Manual
by Carsten Dominik and others
Paperback (6"x9"), 282 pages
ISBN 9781906966089
RRP £9.95 ($14.95)

Sales of this book support the Org project! Get a printed copy>>>

5.3.1 Closing items

The most basic logging is to keep track of when a certain TODO item was finished. This is achieved with(39)

(setq org-log-done 'time)

Then each time you turn an entry from a TODO (not-done) state into any of the DONE states, a line ‘CLOSED: [timestamp]’ will be inserted just after the headline. If you turn the entry back into a TODO item through further state cycling, that line will be removed again. If you want to record a note along with the timestamp, use(40)

(setq org-log-done 'note)

You will then be prompted for a note, and that note will be stored below the entry with a ‘Closing Note’ heading.

In the timeline (see section 10.3.4 Timeline for a single file) and in the agenda (see section 10.3.1 The weekly/daily agenda), you can then use the l key to display the TODO items with a ‘CLOSED’ timestamp on each day, giving you an overview of what has been done.

ISBN 9781906966089The Org Mode 7 Reference ManualSee the print edition