emacs-orgmode
[Top][All Lists]
Advanced

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

[RFC PATCH] specify a time, not number of minutes to keep, with org-reso


From: Dan Drake
Subject: [RFC PATCH] specify a time, not number of minutes to keep, with org-resolve-clock
Date: Sun, 19 Jan 2020 14:13:41 -0600

I asked about a way to specify a time when using org-resolve-clock instead of a number of minutes:

https://lists.gnu.org/archive/html/emacs-orgmode/2020-01/msg00010.html

I've implemented this myself and a patch is attached. Comments welcome -- my change works, but I'm not sure about coding style, and right now there's no error checking.

I marked the patch as a tiny change, but it does add a new menu option and behavior to org-resolve-clock, so there may be an argument that it's not, from a user perspective, a "tiny change", but code-wise it's quite simple: the core logic really isn't more than "ask the user for a time and subtract".

I hope this change can be incorporated into the official Org release.

Regards,

Dan


--
Ceci n'est pas une .signature.

Attachment: 0001-org-clock.el-add-t-option-to-org-clock-resolve.patch
Description: Text Data


reply via email to

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