From: Nick Dokos <nicholas.dokos@hp.com>
To: John Hendy <jw.hendy@gmail.com>
Cc: Angel de Vicente <angelv@iac.es>,
nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: automatically mark DONE when all sub checkboxes are checked
Date: Fri, 10 Feb 2012 19:41:14 -0500 [thread overview]
Message-ID: <8332.1328920874@alphaville> (raw)
In-Reply-To: Message from John Hendy <jw.hendy@gmail.com> of "Fri, 10 Feb 2012 16:47:50 CST." <CA+M2ft8poe8q8ovXO7O0rvM-Yc4jW+TxpfEh8ZUkm-x=iqdwvw@mail.gmail.com>
John Hendy <jw.hendy@gmail.com> wrote:
> ,---
> | Note that the code requires that a checkbox statistics
> | cookie be present in order for it to work.
> `---
>
> I had no idea what that meant and thought it was just reiterating that
> you actually need checkboxes for this to work. Now it makes sense.
> Even inserting "(a statistics cookie is [/] or [%] in the parent todo
> headline)" would make it crystal clear.
>
The manual refers to them as "cookies": searching the index for either
"statistics" or "cookie" takes you to section 5.6 where they are
described.
But you should feel free to add the appropriate words: Worg (as you
know) is editable, and if you found it confusing, somebody else will too
(nudge, nudge). But I beat you to it in this case: thanks for the
suggestion and also for noticing the extra paren as well. OTOH, if you
don't like my verbiage, feel free to change it!
BTW, I don't agree that this should be default behavior (as Angel, I
believe, suggested): whether an item is done may be a matter of checking
boxes in some cases, but not always - for myself, I would like to
maintain the ultimate authority of declaring something done and not to
relegate it to mere code (is that provocative enough? :-) )
In addition, the function slows things down (every time you
check a box, the function runs), it makes a few assumptions about the
environment (todo states, statistics cookies), and I certainly would not
trust it to DTRT all the time: it would need hardening.
Nick
next prev parent reply other threads:[~2012-02-11 0:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-10 21:06 automatically mark DONE when all sub checkboxes are checked Peter Salazar
2012-02-10 21:13 ` John Hendy
2012-02-10 22:31 ` Angel de Vicente
2012-02-10 22:47 ` John Hendy
2012-02-11 0:41 ` Nick Dokos [this message]
2012-02-11 2:20 ` John Hendy
2012-02-11 18:17 ` Nick Dokos
2012-02-13 8:08 ` Peter Salazar
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=8332.1328920874@alphaville \
--to=nicholas.dokos@hp.com \
--cc=angelv@iac.es \
--cc=emacs-orgmode@gnu.org \
--cc=jw.hendy@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).