Added `M-x org-resolve-clocks' command
commit8490a6c1d53b4f59c6e0c345dcfd8957d751b314
authorJohn Wiegley <johnw@newartisans.com>
Sat, 17 Oct 2009 08:38:36 +0000 (17 04:38 -0400)
committerJohn Wiegley <johnw@newartisans.com>
Sat, 17 Oct 2009 09:09:40 +0000 (17 05:09 -0400)
tree3cf18bc3083dd979caaf038d3c3935b4355553f5
parentd3f994e01b3734822180879c5233899eda0e013b
Added `M-x org-resolve-clocks' command

(org-clock-resolve-clock): New function that resolves a clock to a
specific time, closing or resuming as need be, and possibly even
starting a new clock.

(org-clock-resolve): New function used by `org-resolve-clocks' that sets
up for the call to `org-clock-resolve-clock'.  It determines the time to
resolve to based on a single-character selection from the user to either
keep time, subtract away time or cancel the clock.

(org-resolve-clocks): New user command which resolves dangling clocks --
that is, open but not active -- anywhere in the file list returned by
`org-files-list'.

(org-clock-in): Automatically resolve dangling clocks whenever a user
clocks in.

(org-clock-cancel): If the user cancels the solely clock in a LOGBOOK,
remove the empty drawer.
lisp/ChangeLog
lisp/org-clock.el
lisp/org.el