From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: TODO's dependency on nested-Checkboxes -- 'org-enforce-todo-checkbox-dependencies' Date: Mon, 17 May 2010 11:46:40 +0200 Message-ID: <662DCCDE-CBC7-43C6-B406-233B425A2D11@gmail.com> References: <3F173FA7-5ABC-4F72-BA48-FD30950C128F@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=34358 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODwuN-0004eO-I2 for emacs-orgmode@gnu.org; Mon, 17 May 2010 05:46:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ODwuK-0002Or-07 for emacs-orgmode@gnu.org; Mon, 17 May 2010 05:46:47 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:64877) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ODwuJ-0002Ob-Ru for emacs-orgmode@gnu.org; Mon, 17 May 2010 05:46:43 -0400 Received: by wwa36 with SMTP id 36so2092081wwa.0 for ; Mon, 17 May 2010 02:46:43 -0700 (PDT) In-Reply-To: <3F173FA7-5ABC-4F72-BA48-FD30950C128F@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Livin Stephen Sharma Cc: emacs-org-mode-help gnu Hi, On May 17, 2010, at 11:40 AM, Livin Stephen Sharma wrote: > Hi again, > This is regarding a TODO which has: > a. nested-checkboxes AND > b. a statistics-cookie. > > Need help to achieve this: > The TODO should auto-update/-change to 'DONE' when the stats-cookie > hits '100%'. I think you should be able to build this using org-checkbox-statistics- hook. Nothing like this is built-in. You can do it relatively easily when you are using subtasks instead of checkboxes, there are examples for this in the documentation. - Carsten > > --lss > > > On May 15, 2010, at 23:44:21 , Livin Stephen Sharma wrote: > >> This is a tree from a hypothetical minimal org-file: >>> **** TODO meet people [100%] >>> - [X] John >>> - [X] Jane >> >> >> >> >> How can I achieve this: >> TODO-state should automatically change to DONE when I have checked- >> off both 'John' and 'Jane' ? >> >> 1. The manual showed me how to do this if John and Jane are also >> TODOs: using org-after-todo-statistics-hook. >> I just can't find the check-box equivalent. >> >> 2. Google turned up 'org-enforce-todo-checkbox-dependencies' - but >> that is only half of what I'm looking for. >> >> >> If this feature does not already exist, I'd like to suggest this as >> a useful enhancement. >> >> >> Livin Stephen Sharma >> >> >> > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten