From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: Re: Org-mode issue with cyclic tasks and checkboxes Date: Wed, 27 Nov 2013 13:02:17 +0000 Message-ID: <87k3fu0zhi.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlelE-0002tG-Ha for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 08:02:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vlel6-0007lz-3U for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 08:02:32 -0500 Received: from mail-wg0-x233.google.com ([2a00:1450:400c:c00::233]:48223) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vlel5-0007lr-TK for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 08:02:24 -0500 Received: by mail-wg0-f51.google.com with SMTP id b13so3798977wgh.18 for ; Wed, 27 Nov 2013 05:02:23 -0800 (PST) In-reply-to: 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: Borja Tarraso Cc: emacs-orgmode@gnu.org Hi Borja, I can't see that you have received a reply yet, which is unusual for this excellent list. borja.tarraso@gmail.com writes: > I am working with cyclic or repetitive tasks in org-mode, inside this task, > I have several checkboxes. So when I finished all the list, normally I put > the task as done, and new task with sublist of checkboxes is created for > the next cycle, however, those checkboxes appears as ticked and I think > should be unticked as it is new cycle task, e.g.: > > * TODO Cyclic monthly home [0/5] > SCHEDULED: <2013-11-30 Sat +1m> > - [ ] pay sauna > - [ ] pay electricity > - [ ] pay renting > - [ ] pay internet > - [ ] pay union > > Once I ticked all of them and put it as done, this is what I can see: > > * WIP Cyclic monthly home [5/5] > SCHEDULED: <2014-01-30 Thu +1m> > - State "DONE" from "WIP" [2013-11-06 Wed 20:49] > :PROPERTIES: > :LAST_REPEAT: [2013-11-06 Wed 20:49] > :END: > - [X] pay sauna <--- this should be unticked > - [X] pay electricity <-- this should be unticked > - [X] pay renting <-- this should be unticked > - [X] pay internet <-- this should be unticked > - [X] pay union <-- this should be unticked > > Am I missing something? or is some bug that should be fixed? May be use this: ;; uncheck tick boxes ----------- (require 'org-checklist) (defun my-uncheck-ticks() "Uncheck tick boxes in the TODO item when state is changed to DONE" ( when (and (string= org-state "DONE") (org-get-repeat)) (org-reset-checkbox-state-subtree))) (add-hook 'org-after-todo-state-change-hook 'my-uncheck-ticks) > I am using those versions: > > Emacs version: > GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) > of 2013-08-30 on apocalipsis > > Org-mode version: > Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @ > /usr/local/share/emacs/24.3/lisp/org/) Org 8 is out, may be time to upgrade? Myles