From: Christoph LANGE <math.semantic.web@gmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Marking an item DONE using the most recently logged timestamp
Date: Tue, 2 Aug 2016 20:28:48 +0200 [thread overview]
Message-ID: <0020483f-59fb-ab4c-489a-54331d9a2725@gmail.com> (raw)
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 other threads:[~2016-08-02 18:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0020483f-59fb-ab4c-489a-54331d9a2725@gmail.com \
--to=math.semantic.web@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).