From mboxrd@z Thu Jan 1 00:00:00 1970 From: Angel de Vicente Subject: Re: automatically mark DONE when all sub checkboxes are checked Date: Fri, 10 Feb 2012 22:31:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rvz0M-0001kG-GN for emacs-orgmode@gnu.org; Fri, 10 Feb 2012 17:31:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rvz0L-0002Yg-BC for emacs-orgmode@gnu.org; Fri, 10 Feb 2012 17:31:46 -0500 Received: from plane.gmane.org ([80.91.229.3]:38933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rvz0L-0002YY-4t for emacs-orgmode@gnu.org; Fri, 10 Feb 2012 17:31:45 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rvz0B-0007CB-SV for emacs-orgmode@gnu.org; Fri, 10 Feb 2012 23:31:35 +0100 Received: from carro.ll.iac.es ([161.72.206.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Feb 2012 23:31:35 +0100 Received: from angelv by carro.ll.iac.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Feb 2012 23:31:35 +0100 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 Hi, John Hendy writes: > I don't get any error, but it doesn't work. Also, the example in worg > had an extra parenthesis at the end of it... not sure if that's > goofing it up. I don't know lisp, so I just deleted one of the last > parentheses and loading my .emacs stopped complaining. Not sure if > that last trailing one was the offender or not. In any case, this is > not working for me on an up to date org install (pulled yesterday). Perhaps you are trying a TODO heading that doesn't have one of the progress indicators? I have just tried it, and with TODOs headings as follows works OK. If you don't put the progress indicators then it doesn't work, since the function is looking for the 100% text or for n/n (which indicates that you have completed all the tasks). * TODO try [%] * TODO try [/] Actually, I wonder why this is not the default behaviour. It looks natural that if a task is made of checkboxes and you complete all of them the task should be DONE. Cheers, -- Ángel de Vicente http://angel-de-vicente.blogspot.com/