From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: Re: Repeated tasks marked as DONE Date: Wed, 27 Jan 2016 12:47:08 +0000 Message-ID: <87h9hzgpf7.fsf@gmail.com> References: <87h9hz1aqd.fsf@TP.ICNT> <87io2fgpvh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOPVC-00030b-EP for emacs-orgmode@gnu.org; Wed, 27 Jan 2016 07:47:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOPV9-0004mB-8V for emacs-orgmode@gnu.org; Wed, 27 Jan 2016 07:47:14 -0500 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:34415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOPV9-0004ls-1u for emacs-orgmode@gnu.org; Wed, 27 Jan 2016 07:47:11 -0500 Received: by mail-wm0-x234.google.com with SMTP id n5so26470704wmn.1 for ; Wed, 27 Jan 2016 04:47:10 -0800 (PST) In-reply-to: <87io2fgpvh.fsf@gmail.com> 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: Tomasz Piotrowski Cc: emacs-orgmode@gnu.org Myles English writes: > Hello Tomasz, > > Tomasz Piotrowski writes: > >> I have a simple question, yet couldn't find an equally simple answer to >> it. Namely, if I set a repeated task (everyday, say), the agenda >> shows this tasks _for all days_, even in the past. >> >> How can I mark a repeated task DONE if it is completed for a given day, >> while keeping it as TODO for the future? > > This is what works for me, the last_repeat property seams to enable the > behaviour you describe, the logbook is something extra I vaguely > remember setting up: > > * TODO Put recycle bin out > SCHEDULED: <2016-01-28 Thu +2w> > :PROPERTIES: > :LAST_REPEAT: [2016-01-16 Sat 13:10] > :END: > :LOGBOOK: > - State "DONE" from "TODO" [2016-01-16 Sat 13:10] > - State "DONE" from "TODO" [2016-01-02 Sat 17:41] > - State "DONE" from "TODO" [2015-12-21 Mon 16:22] > :END: And see also the variable org-agenda-repeating-timestamp-show-all. (Having read the available help, don't quite understand way it working for me...) Myles