emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* time-warping - retroactively marking DONE?
@ 2020-07-07 11:26 Adam Spiers
  2020-07-08  4:53 ` Kyle Meyer
  2020-07-08  5:52 ` Marcin Borkowski
  0 siblings, 2 replies; 9+ messages in thread
From: Adam Spiers @ 2020-07-07 11:26 UTC (permalink / raw)
  To: org-mode mailing list

Hi all,

I'm looking for a way to retroactively mark a task as having been done
at a previous time/date.  I know that I can just change the keyword to
DONE and then edit the timestamp, but this is tedious when it's a
repeating event, e.g.:

*** NEXT [#A] meditate 15 minutes every day
       SCHEDULED: <2020-07-06 Mon 11:30-11:50 .+1d>
       :PROPERTIES:
       :LAST_REPEAT: [2020-07-05 Sun 11:13]
       :ID:       142a639c-e06d-4d4b-ad1c-edcd0d9ba6ce
       :Effort:   0:20
       :STYLE:    habit
       :END:

       - State "DONE"       from "NEXT"       [2020-07-05 Sun 10:15]
       - State "DONE"       from "NEXT"       [2020-07-04 Sat 10:30]
       - State "DONE"       from "NEXT"       [2020-07-03 Fri 10:05]
       - State "DONE"       from "NEXT"       [2020-07-02 Thu 11:15]

I forgot to mark it as done yesterday, which means that I would have
to manually edit /three/ timestamps to log the correct data: 1) the
SCHEDULED timestamp, 2) the :LAST_REPEAT: property, and 3) the state
change history.

If this is not currently possible, would it make sense to write a
wrapper around `org-todo', e.g. `org-todo-timewarp' or
`org-retroactive-todo', which interactively prompts for a timestamp
before invoking `org-todo'?

Another possibility would be to add yet another magic prefix argument
to `org-todo', but it seems that is already heavily overloaded, so it
would have to be 'C-u C-u C-u C-u' which isn't particularly
convenient.

I can even imagine users occasionally wanting to mark stuff done in
the future, e.g. if they have an activity planned for tomorrow while
they're offline.  So maybe using the word 'retroactive' in the wrapper
function name is a bit too limiting.

Cheers,
Adam


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <mailman.55.1594224009.21222.emacs-orgmode@gnu.org>]

end of thread, other threads:[~2023-06-25 19:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-07 11:26 time-warping - retroactively marking DONE? Adam Spiers
2020-07-08  4:53 ` Kyle Meyer
2023-06-25 16:03   ` Adam Spiers
2023-06-25 16:13     ` Adam Spiers
2023-06-25 19:47     ` Marcin Borkowski
2020-07-08  5:52 ` Marcin Borkowski
     [not found] <mailman.55.1594224009.21222.emacs-orgmode@gnu.org>
2020-07-08 21:38 ` No Wayman
2020-08-30  0:22   ` Adam Spiers
2020-08-30  1:32     ` No Wayman

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).