Re: How to mark task as done at specified (past) time?

2020-07-08 Thread Kyle Meyer
Tim Landscheidt writes: > I have an icky feeling about cl-letfing current-time because > Murphy might cause a timer to fire in just that time frame > and I have no idea what current-time is for that timer; so > if future org-mode releases would provide a cleaner API I > would very much appreciate

Re: How to mark task as done at specified (past) time?

2020-07-08 Thread Tim Landscheidt
Kyle Meyer wrote a long time ago: > […] >> Do I have to cl-flet org-current-time or something similar? > Something along those lines would probably be the most straightforward. > Light testing with the command below suggests overriding current-time is > sufficient: > (defun

Re: How to mark task as done at specified (past) time?

2019-12-11 Thread Kyle Meyer
Tim Landscheidt writes: [...] > I want Gnus to mark the task as done /at the time when the mail was > sent/, i. e. in: > |- State "DONE" from "TODO" [2019-11-27 Mi 16:44] > > I want "2019-11-27 Mi 16:44" not to be the current time, but > some other (past) time. > > How can I mark

How to mark task as done at specified (past) time?

2019-11-28 Thread Tim Landscheidt
Hi, with Emacs 26.2/org-mode 9.1.9, I have a repeating task that I close with a helper function: | (defun tl-entry-done () | (interactive) | (find-file "/path/to/file.org") | (goto-char (org-find-entry-with-id "ENTRY-ID")) | (org-todo 'done)) Every time I do this task, I get an