emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Marking an item DONE using the most recently logged timestamp


From: Christoph LANGE
Subject: [O] Marking an item DONE using the most recently logged timestamp
Date: Tue, 2 Aug 2016 20:28:48 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Dear Org-mode community,

as an extension to
https://lists.gnu.org/archive/html/emacs-orgmode/2016-07/msg00183.html
(Useful interactive functions for clock logs […]) I implemented another
function you may find useful:

org-todo-mark-done-from-log
https://github.com/clange/emacs/blob/master/.emacs.d/init/org-clock.el#L18
(stable link to current revision:
https://github.com/clange/emacs/blob/d6356d9b90bf02108bfbe226d06911ab4a8bb430/.emacs.d/init/org-clock.el#L18)

This function marks the current item done.  Instead of the current time,
it reports the most recent time logged (clocked) for this item as
closing time.

Use case: you finished a TODO task and logged time on it but forgot to
mark it DONE.

Cheers,

Christoph

-- 
Dr. Christoph Lange, Enterprise Information Systems Department
Applied Computer Science @ University of Bonn; Fraunhofer IAIS
http://langec.wordpress.com/about, Skype duke4701

→ Please note: I will be on parental leave from 29 July to 28 October.
  Colleagues will stand in for me by project.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]