emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Livin Stephen Sharma <livin.stephen@gmail.com>
Cc: emacs-org-mode-help gnu <emacs-orgmode@gnu.org>
Subject: Re: Re: TODO's dependency on nested-Checkboxes -- 'org-enforce-todo-checkbox-dependencies'
Date: Mon, 17 May 2010 11:46:40 +0200	[thread overview]
Message-ID: <662DCCDE-CBC7-43C6-B406-233B425A2D11@gmail.com> (raw)
In-Reply-To: <3F173FA7-5ABC-4F72-BA48-FD30950C128F@gmail.com>

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

  reply	other threads:[~2010-05-17  9:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-15 18:14 TODO's dependency on nested-Checkboxes -- 'org-enforce-todo-checkbox-dependencies' Livin Stephen Sharma
2010-05-17  9:40 ` Livin Stephen Sharma
2010-05-17  9:46   ` Carsten Dominik [this message]
2010-05-17 10:41     ` Livin Stephen Sharma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=662DCCDE-CBC7-43C6-B406-233B425A2D11@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=livin.stephen@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).