From mboxrd@z Thu Jan 1 00:00:00 1970 From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) Subject: Re: Marking items done in the past Date: Tue, 02 Sep 2014 19:11:58 -0400 Message-ID: <87egvtipmp.fsf@yale.edu> References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOxF2-0004Kj-W1 for emacs-orgmode@gnu.org; Tue, 02 Sep 2014 19:12:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOxEv-0000Qq-GT for emacs-orgmode@gnu.org; Tue, 02 Sep 2014 19:12:00 -0400 Received: from plane.gmane.org ([80.91.229.3]:56741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOxEv-0000Ql-9z for emacs-orgmode@gnu.org; Tue, 02 Sep 2014 19:11:53 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XOxEq-0005yg-HV for emacs-orgmode@gnu.org; Wed, 03 Sep 2014 01:11:48 +0200 Received: from nat-130-132-173-48.central.yale.edu ([130.132.173.48]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Sep 2014 01:11:48 +0200 Received: from jorge.alfaro-murillo by nat-130-132-173-48.central.yale.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Sep 2014 01:11:48 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Fletcher Charest writes: > Have you made any progress? I am also interested. Me too. > On 18 August 2014 02:52, Noah Slater 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.