emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo)
To: emacs-orgmode@gnu.org
Subject: Re: Marking items done in the past
Date: Tue, 02 Sep 2014 19:11:58 -0400	[thread overview]
Message-ID: <87egvtipmp.fsf@yale.edu> (raw)
In-Reply-To: CAGk6a7nW4Wi2abpmpYPkvk3G3dFYwBxu0bfpT_SwvJu4uyw5Fw@mail.gmail.com

Fletcher Charest writes: 

> Have you made any progress? I am also interested. 

Me too.
 
> On 18 August 2014 02:52, Noah Slater <nslater@apache.org> wrote: 
>> I have a number of habits set up that I regularly fill in the 
>> day after the activity was done. Is there a way to mark an item 
>> as done (in a way that hooks into the habits stuff) but for a 
>> day in the past? 
>> 
>> So instead of doing C-c C-t d (I have "d" set up as "DONE") I 
>> could get a prompt which asked me for a date. 
>> 

Changing the LOGBOOK, and LAST_REPEAT would not be that difficult, 
since you could use something like:

#+BEGIN_SRC emacs-lisp
  (org-entry-put nil "LAST_REPEAT" (concat "[" (org-read-date) 
  "]")) 
#+END_SRC

But changing the SCHEDULED and the 'State "DONE" from "TODO"' part 
would be more complicated. For example I think one would need to 
modify the function org-auto-repeat-maybe to be able to ask for a 
time. Checking at the code of this function the SCHEDULED part 
doesn't look that complicated, but I couldn't understand what 
produces the 'State "DONE" from "TODO"'

Does any of the org-gurus have an idea?

Best,

-- 
Jorge.

  reply	other threads:[~2014-09-02 23:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-18  0:52 Marking items done in the past Noah Slater
2014-08-21 22:40 ` Noah Slater
2014-09-02 20:42   ` Fletcher Charest
2014-09-02 23:11     ` Jorge A. Alfaro-Murillo [this message]
2014-09-13 15:24 ` Karl Voit
2014-12-07 23:13   ` Org-todo-yesterday broken? Nikolay Kudryavtsev
2014-12-08  0:49     ` Kyle Meyer
2014-12-09  9:27       ` Nicolas Goaziou

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=87egvtipmp.fsf@yale.edu \
    --to=jorge.alfaro-murillo@yale.edu \
    --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).